Re:Profiling Python in Production
by valarauca1 on Wednesday December 30, 2015 @06:31AM
(#10811677)
Slow 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.
Agreed, 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.
Re:Profiling Python in Production
by nitin_flanker on Wednesday December 30, 2015 @07:20AM
(#10811781)
This also ahead reduces the maintenance time and efforts which ahead increase productivity. Overall they did a great job.
* 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.