News for hackers. Stuff that matters.
Re:Optimizing Your Web App 100x Is Like Adding 99 Servers by brightball on Friday November 20, 2020 @10:57PM (#25167763)
It’s usually more about specific bottlenecks than specific code in my experience. It’s hard to use too broad of a brush on these things.
Re:Optimizing Your Web App 100x Is Like Adding 99 Servers by canofbars on Saturday November 21, 2020 @02:58AM (#25168422)
From my experience its almost always the database. On any sufficiently complex web app with a ORM its easy to trigger literally 100 queries by loading a single page if you don't make a specific effort to avoid it.
Re:Optimizing Your Web App 100x Is Like Adding 99 Servers by jimnotgym on Saturday November 21, 2020 @07:10AM (#25169269)
And that is the first universal truth in this whole thread.

Add tests to check that you have not inadvertently added a massive innefficiency with a simple change.