Y
Hacker News
new
|
ask
|
show
|
jobs
by
lib-dev
1013 days ago
If you require 500 instances of your app to scale, how do you get away with just a single DB instance?
3 comments
aeyes
1013 days ago
By having relatively simple queries. You can push 50k queries per second on a 64 CPU Postgres machine.
This is real world experience from a moderately complex application.
link
jtc331
1012 days ago
It all depends on your workload. Those 500 instances may be make calls to other services, services, for example, or burning CPU in various ways.
link
nickphx
1013 days ago
simple queries, grouping writes, minimizing updates, caching, connection pooling
link
This is real world experience from a moderately complex application.