Comment on Improve your beta-testing with Nginx, Lua and RedisComments−eli14yI've done very similar things with Varnish reverse caching proxy. And as a bonus, Varnish is crazy fast if your pages or assets are cacheable.Its scripting language is very simple (not quite as nice as Lua, IMHO), but it supports multiple backends and rewriting arbitrary headers: https://www.varnish-cache.org/trac/wiki/VCLExamples−mqzaidi14yWe have also done similar things to test our new platform, using nginx and cookies, by sending part of the traffic to the new platform to be beta tested. Didn't need to use lua though. http://qzaidi.github.com/2012/03/11/nginx-ab/
Comments
I've done very similar things with Varnish reverse caching proxy. And as a bonus, Varnish is crazy fast if your pages or assets are cacheable.
Its scripting language is very simple (not quite as nice as Lua, IMHO), but it supports multiple backends and rewriting arbitrary headers: https://www.varnish-cache.org/trac/wiki/VCLExamples
We have also done similar things to test our new platform, using nginx and cookies, by sending part of the traffic to the new platform to be beta tested. Didn't need to use lua though. http://qzaidi.github.com/2012/03/11/nginx-ab/