4 ms·
Yeah, the trick about that is that servers aren't really as cheap as everyone says. Also, with horizontal scaling you spend more money elsewhere: on stuff the p
by starkfist 16y ago
Yeah, the trick about that is that servers aren't really as cheap as everyone says. Also, with horizontal scaling you spend more money elsewhere: on stuff the programmers usually don't know shit about, like big-iron loadbalancers, and on systems administration. So when someone says "hardware is cheap, programmers are expensive" be aware that they are forgetting about systems administrators who are often more expensive than programmers.
I was recently involved with a project where we were able to reduce our server costs by an order of magnitude by switching from ruby to java.
- brunoc 16y agoI'd love to hear more about this ruby -> java transition if you're willing to share.
- code_duck 16y agoGenerally, the steps are 1> rewrite your Ruby code in Java
- starkfist 16y agoYeah, what he said... sort of. First we tried just smushing everything into JRuby, but that was a mess. We then split the app into a bunch of services, instead of one monolithic rails beast. Each new service is a simple java app. It was a gradual process, taking about 7 months.
- code_duck 16y agoAdmittedly, my list was a little short on specifics.