Hi!
I want to use access_by_lua with proxy_pass in one location and do some potentially long lasting operations there (JSON parsing for example). And I want to measure how much time I am spending there.
To store these latencies I would prefer to use https://hdrhistogram.github.io/HdrHistogram/ (there is some Lua implementation: https://github.com/hynd/lua_hdrhistogram). But I need to have one copy of this HdrHistogram structure shared between Nginx workers - is it possible to do that with Nginx Lua? I know about shared dict - but AFAIK I can only store primitives there.
Any help would be much appreciated, thanks!
Kamil