any recommandation of papers or projects I should look at about efficient HTTP routing? I’m trying to improve sozu’s router https://github.com/sozu-proxy/sozu/issues/571 … It’s a trie with a few optimizations, matching on reversed hostname, then linear rules for URL prefixes
Your best bet is probably RegexSet or one giant alternation. Thousands of regexes is a lot though. At that number you probably need something more specialized.
-
-
It's not necessarily 1000s of regexes. I can get away with exact matches most of the times, and a few matching *.example.com or cdn[0-9]+.test.com and URL prefixes
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.