Find Blocking Go Code Paths Holding back CPU Usage (Using OpenResty XRay)
This Lua library can be used to parse the Resty-DBD-Stream formatted data generated by Drizzle Nginx Module and Postgres Nginx Module into Lua data structures. In the past, we have to use JSON as the intermediate data format which is quite inefficient in terms of both memory and CPU time.
To maximize speed and minimize memory footprint, this library is implemented in pure C.
This library is enabled by default; use the
to disable it when running
./configure to build OpenResty.
Project homepage: https://github.com/agentzh/lua-rds-parser
More Interesting Topics
How we solved a CPU bottleneck caused by Lua exceptions in a custom Kong plugin (using OpenResty XRay)