Fast and lightweight framework for building web applications / REST APIs on top of PostgresSQL, 10x faster than openresty
Postgresql REST API with focus on performance/productivity/memory, 10x faster than openresty
Performance, rps | |
---|---|
c2h5oh | 3000 requests/second |
openresty | 300 requests/second |
apt install libboost-filesystem-dev libboost-test-dev libboost-filesystem-dev zlib1g-dev mercurial libpq-dev gcc-9 g++-9 libpcre3-dev libgd-dev
make debug
make test
make deb
sudo ./deploy/c2h5oh-nginx_0.0.0_amd64.sh
sudo vi /etc/c2h5oh/c2h5oh_nginx.conf
sudo service c2h5oh_nginx restart
See tests/web_test.pgsql for sample usage
This test script includes get/set cookie, redirect, custom headers and synthetic /user/login/, /user/logout/, /user/auth/ samples