4 ms·
> If there is a 2x difference .. I only have to run half the machines No, it doesn't work that way. CPU is almost never an issue, it's all about startup time,
by mike_ivanov 11y ago
> If there is a 2x difference .. I only have to run half the machines
No, it doesn't work that way. CPU is almost never an issue, it's all about startup time, network latency -- that kind of stuff. So, unless you're mining bitcoins, 2x difference is negligible.
- jsprogrammer 11y agoI guess I don't understand where Erlang would fit in your (my) stack. If you want to handle millions->billions of external client connections, you may want to be able to pack as many on to a machine as possible to reduce costs (the difference between paying for 5,000 machines vs 10,000 machines). If you want these to be secure connections (which I do), there is significant CPU overhead in encrypting and decrypting all network traffic. Even if you aren't doing encryption work, there is still significant CPU work in managing large numbers of sockets. Implementations may also vary significantly in the amount of memory required to support the connection, affecting costs and machine count.