Hacker News new | past | comments | ask | show | jobs | submit login

If you require 500 instances of your app to scale, how do you get away with just a single DB instance?



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.


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.


simple queries, grouping writes, minimizing updates, caching, connection pooling




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: