Monday, November 9, 2026 Today’s Paper
Log in Join free
Vol. I · No. 41 Texas Edition
Monday, Nov 9
Texas first. Then the world.
Always free Updated 3 minutes ago
Read. React. Discuss.
Tech

Show HN: Pgxio – a tiny PostgreSQL layer inside Nginx

By hito 1 min read 1 views 0 comments

I built the first version of this stuff a decade ago as ethanolus (c2h5oh). And I've used it for most of my projects as a backend layer since then.The main motive is to eliminate unnecessary complexity from backend layers.How it works: a rust nginx module calls postgresql functions via non-blocking libpq io. There is an optional patch for libpq. It provides zero-copy for nginx-chained memory buffers - to avoid request body copies between nginx and libpq.Pgxio supports http2 and websockets. Realtime listen/notify updates from postgres without polling.How to try - code on github. Tested on Debian - FreeBSD validation in progress.It's alpha - so any feedback is welcome.

Comments URL: https://news.ycombinator.com/item?id=50425203

Points: 1

# Comments: 0

Hacker News (Newest) Original story · github.com
Read the full story

Discussion (0)

No comments yet. Start the conversation!