|
|
|
|
|
by extraisland
310 days ago
|
|
A lot of companies seem to architect their web apps to deal with millions of users. When in reality they may have a couple of hundred hitting the site at once. This explodes the cost of development and it makes current web development miserable IME. I am forced to deal with everything being totally overengineered when a Flask app with a PostgresSQL backend could probably do the job on a reasonably priced VPS. |
|
All our code was basically - check user auth - do some stuff with the db/perhaps call out to some external service - serve request.
I never saw a single request above 50ms, with most being way less. Nobody ever talked about performance.
Then I moved to a fancy startup. EKS, nodejs servers, microservices of every denomination, GraphQL, every fashionable piece of tech cca 2018. I realized node was shockingly slow, and single threaded to boot, all that overhead added up to requests with a median latency of about 200ms, with the 99% latency measured in seconds.
Performance engineering was front and center, with dashboards, entire sprints dedicated to optimization, potential optimizations constantly considered, adding fake data and suspense to our React frontend, to hide latency etc. It was insane.