News for hackers. Stuff that matters.
Re:Migrating Dropbox from Nginx to Envoy by rolls-reus on Saturday August 01, 2020 @03:53AM (#24018603)
> The `a factor of 3` is quite large to me. Maybe you put all your stats in lua_shared_dict? You don't need to synchronize the stats every time. Since the collection regularly happens in per-minute frequency, you can put the stats as Lua table, and synchronize them once per 5/10 seconds.

Any pointers on how to achieve this for someone just starting out with lua and openresty? I have the exact same thing (lua_shared_dict) for stats collection, would love to learn a better way.

Re:Migrating Dropbox from Nginx to Envoy by spacewander on Tuesday August 04, 2020 @08:50AM (#24049393)