News for hackers. Stuff that matters.
Re:Apache Traffic Server by dig1 on Wednesday November 03, 2021 @10:50AM (#29095480)
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/

[2] https://github.com/apache/trafficserver/tree/master/example/...

Re:Apache Traffic Server by VWWHFSfQ on Wednesday November 03, 2021 @12:11PM (#29096640)
> And no, lua isn't the solution here

why wouldn't Lua be a solution here?

Re:Apache Traffic Server by otterley on Wednesday November 03, 2021 @03:07PM (#29098945)
Too slow for a proxy cache of ATS's caliber/audience.
Re:Apache Traffic Server by VWWHFSfQ on Wednesday November 03, 2021 @03:12PM (#29099015)
I 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-...

[2] https://blog.cloudflare.com/cloudflares-new-waf-compiling-to...

Re:Apache Traffic Server by fanf2 on Wednesday November 03, 2021 @06:56PM (#29101562)
As I understand it, Cloudflare’s major use of LuaJIT was for their WAF, and they have recently rewritten it in Rust https://blog.cloudflare.com/new-cloudflare-waf/
Re:Apache Traffic Server by lrem on Wednesday November 03, 2021 @05:02PM (#29100219)
If YouTube finally off Python? ;)
Re:Apache Traffic Server by 1vuio0pswjnm7 on Wednesday November 03, 2021 @09:43PM (#29102778)
"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

Re:Apache Traffic Server by 1vuio0pswjnm7 on Wednesday November 03, 2021 @11:59PM (#29103566)
trafficserver 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.