3 ms·
> The big one however is going from 200 Python servers to 4 Erlang ones If your rewrite or refactor gives you a 10X in performance, that's not an optimization,
by astrobe_ 3y ago
> The big one however is going from 200 Python servers to 4 Erlang ones
If your rewrite or refactor gives you a 10X in performance, that's not an optimization, but a bugfix. Unless you are a researcher who have just found a revolutionary algorithm.
- coldtea 3y agoOr you just used a crappy inefficient architecture or algorithsm etc. Just because they were slow doesn't make them bugs, nor does using something faster in a rewrite means it's a bugfix.
- znpy 3y agoI’m going to be cynical and say that if they went from 200 to 4 servers they were probably spawning the python code via cgi, synchronously…
- anonymoushn 3y agoWhy? Most software is at least 10x slower than necessary for reasons that don't require inventing new algorithms.
- astrobe_ 3y agoIt is a matter of mindset. I work on software with soft real time, storage capacity and power consumption constrains, there is a constant flux of "small" feature requests and I cannot even "throw hardware at the problem" at will like as they apparently did, until it became unquestionable that the problem had to be fixed properly. I'd recommend to adopt this mindset even if one doesn't have those constrains - without erring on the side of "faster than necessary" though - because it's usually difficult to assess how much time and money are leaking because of the inefficiencies one accepts in the name of questionable reasons. They were sort of lucky to have a bill to show it to them. A proactive stance in this regard goes a long way.