Re:Pyston v2: Faster Python
by sjansen on Wednesday October 28, 2020 @03:04PM
(#24922808)
Depends on your scale. If each of your web servers has a hand picked name, definitely not. But if you stopped naming servers a long time ago, and if the pricing structure is favorable, it could mean a huge cost saving without an expensive rewrite.
[ Parent
| on HN ]
Electricity costs can far outweigh developer salaries.
In some cases a rewrite may save more money than moving to a 20% faster python.
What does it have to do with naming servers, can you explain? Or do you mean if you have very few servers such that you can name each and every one of them, this wouldn't be worth it?
Pretty much. If you’re spending $1000/month on servers, you’d only save < $200/month and the added complexity probably isn’t worth it. If you’re spending $100000/month on servers, saving ~$20000/month is probably worth it. Where is the tipping point between those two numbers? Depends on context.
Rewriting in a more efficient language might seem even cheaper, but you have to factor in risk and opportunity cost. At some point it does become smarter to rewrite, but your app needs to be pretty simple or your server bill pretty huge before it’s actually the best option.