5 ms·
Although haproxy and nginx cover (for me) almost all use-cases I had to deal with (with OpenResty [1] as a backup), I see one place where ATS could shine: plugi
by dig1 5y ago
Although haproxy and nginx cover (for me) almost all use-cases I had to deal with (with OpenResty [1] as a backup), I see one place where ATS could shine: plugins. From examples [2], C API looks sane and well documented, and this is very important if you want to add some custom stuff inside your proxy server without losing your hair. And no, lua isn't the solution here ;)
Those who had to deal with nginx plugins, I feel your pain...
[1] https://openresty.org/en/ https://openresty.org/en/
[2] https://github.com/apache/trafficserver/tree/master/example/plugins/c-api https://github.com/apache/trafficserver/tree/master/example/...
- VWWHFSfQ 5y ago> And no, lua isn't the solution here why wouldn't Lua be a solution here?
- otterley 5y agoToo slow for a proxy cache of ATS's caliber/audience.
- VWWHFSfQ 5y agoI find that hard to believe. As far as I know, Nginx/Lua/LuaJIT still powers almost all of CloudFlares edge services. [1] https://blog.cloudflare.com/pushing-nginx-to-its-limit-with-lua/ https://blog.cloudflare.com/pushing-nginx-to-its-limit-with-... [2] https://blog.cloudflare.com/cloudflares-new-waf-compiling-to-lua/ https://blog.cloudflare.com/cloudflares-new-waf-compiling-to...
- 1vuio0pswjnm7 5y ago"And no, lua isn't the solution here ;)" openresty is (patched) nginx + luajit haproxy has optional extension with lua as well CMIIAW, what parent is saying is he does not like lua for this purpose
- 1vuio0pswjnm7 5y agotrafficserver also has a compile-time option "--with-luajit" one of the nice things about haproxy is that pcre is optional. it seems pcre is a hard requirement to compile trafficserver trafficserver is also much more code, coming from a variety of sources.