OpenResty® Scalable Web Platform by Extending NGINX with Lua

OpenResty XRay

Advanced observability built for OpenResty and more

×

limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more
New! OpenResty 1.25.3.1 is now released!
New! OpenResty 1.21.4.3 is now released!
New! New blog post Introduction to OpenResty XRay Mobile Apps is published.
New! New blog post How to Use Gateway Partitions in OpenResty Edge is published.
New! New blog post Use C++ to Dynamic-Trace C++ Applications is published.

Lua Rds Parser Library

Yichun Zhang , 31 Aug 2011 (created 31 Aug 2011)

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 --without-lua_rds_parser option to disable it when running ./configure to build OpenResty.

Project homepage: https://github.com/agentzh/lua-rds-parser