▲ | riv991 5 days ago | ||||||||||||||||
High Scale is so subjective here, I'd hazard a guess that 99% of businesses are not at the scale where they need to worry about scaling larger than a single Postgres or MySQL instance can handle. | |||||||||||||||||
▲ | Tade0 5 days ago | parent | next [-] | ||||||||||||||||
In the case of one project I've been in, the issue was the ORM creating queries, which Postgres deemed too large to do in-memory, so it fell back to performing them on-disk. Interestingly it didn't even use JOIN everywhere it could because, according to the documentation, not all databases had the necessary features. A hard lesson in the caveats of outsourcing work to ORMs. | |||||||||||||||||
| |||||||||||||||||
▲ | mdavid626 5 days ago | parent | prev | next [-] | ||||||||||||||||
Scalability is not the keyword here. The same principle applies to small applications too. If you apply it correctly, the application never going to be slow due to slow db queries and you won’t have to optimize complex queries at all. Plus if you want to split out part of an app to its own service, it’ll be easily possible. | |||||||||||||||||
| |||||||||||||||||
▲ | dondraper36 5 days ago | parent | prev [-] | ||||||||||||||||
Vertical scaling is criminally underrated, unfortunately. Maybe, it's because horizontal scaling looks so much better on Linkedin. | |||||||||||||||||
|