porsager / postgres

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare
The Unlicense
7.47k stars 273 forks source link

Is this something to consider? #660

Open kronos-999 opened 1 year ago

kronos-999 commented 1 year ago

I saw this article and found that it may be used here to increase performance (potentially):

https://supabase.com/blog/supavisor-1-million

masfahru commented 1 year ago

Looking at the latest TechEmpower benchmark citrine results (at the time of adding this comment), there is hyperexpress which uses postgres.js as its database driver. The results indicate that hyperexpress is capable of serving up to 31,000 requests per second, with 20 queries per request. This suggests that postgres.js can achieve a rate of 620,000 queries per second.

image

porsager commented 1 year ago

That would be really fun to see!