News for hackers. Stuff that matters.
Re:Optimizing Your Web App 100x Is Like Adding 99 Servers by satyrnein on Saturday November 21, 2020 @07:02AM (#25169227)
Most likely, squeezing 100x performance out of your code will significantly complicate it. For example, you're probably going to be dealing with cache invalidation a lot, and you will pay for that complexity forever, as you try to build new features.
Re:Optimizing Your Web App 100x Is Like Adding 99 Servers by ficklepickle on Saturday November 21, 2020 @11:01AM (#25170360)
It depends on the baseline, I suppose. I could see code written (poorly) in a dynamic language to be 100x slower than necessary. Maybe it was fast enough when written, so nobody looked too hard. Inefficient DB queries, excessive IO.

But I agree with the sentiment. In a code base where performance matters, that level of optimization would often be impractical.

Re:Optimizing Your Web App 100x Is Like Adding 99 Servers by throwaway189262 on Saturday November 21, 2020 @01:27PM (#25171609)
It depends. In many benchmarks Java is 50X faster than Ruby. So having code 100X as fast can just mean choose a fast language and framework for your project