2 ms·
Reducing CPU load also * reduces power usage, wear and tear on hardware * gives more capacity for traffic surges * gives more headroom for new features * en
by sitkack 11y ago
Reducing CPU load also
* reduces power usage, wear and tear on hardware
* gives more capacity for traffic surges
* gives more headroom for new features
* enables running on a smaller instance
This isn't an argument against slow code, more of a suggestion to tune out unnecessary work.
- valarauca1 11y agoSlow code is just paying for developer productivity in CPU time instead of labor time. It's great in theory until the AWS bill arrives. Often times it's still fine, just depends where the bottom line is.
- sitkack 11y agoAgreed, I love slow interpreted languages like Python and writing _fast_ Python is a different kind of optimization that one would do C. In cases like the article, the biggest gains are in just not doing something, or doing it less often.
- nitin_flanker 11y agoThis also ahead reduces the maintenance time and efforts which ahead increase productivity. Overall they did a great job.
- Walkman 11y agoThat might not be True for optimizations, because optimized code is usually less readable.