The lua-rds-parser Lua library and ngx_rds_csv nginx module

Hello!

Recently I wrote a Lua C library named lua-rds-parser for the
ngx_openresty [1] world that we can now efficiently parse Resty DBD
Stream (RDS) formatted data generated by ngx_drizzle [2] and
ngx_postgres [3] into Lua data structures without using JSON as the
intermediate data format. This can save both CPU time and memory for
web applications running atop ngx_lua [4].

Here is the project homepage for this Lua library:

GitHub - openresty/lua-rds-parser: Resty DBD Stream (RDS) parser for Lua written in C

Also, there’s a new Nginx filter module named ngx_rds_csv that can
convert RDS output into the Comma-Separated Values (CSV) format in a
streaming fashion:

GitHub - openresty/rds-csv-nginx-module: Nginx output filter module to convert Resty-DBD-Streams (RDS) to Comma-Separated Values (CSV)

Both of these two components have already been included and enabled by
default in the latest ngx_openresty stable release [5] :slight_smile:

Enjoy!
-agentzh

[1] http://openresty.org
[2] HTTP Drizzle | NGINX
[3] GitHub - FRiCKLE/ngx_postgres: upstream module that allows nginx to communicate directly with PostgreSQL database.
[4] Lua | NGINX
[5] OpenResty® - Open source

Thanks your share with us.

george