by cultofmetatron · 1y ago · 0 comments
The second best decision was to build our server infrastructure on top of elixir/phoenix. I don't think I could have gotten this far if we used node (and I had 10 years of nodejs experience)
If I were to do this in nodejs, I would need to setup a supervisor. I'd need a message passing broker like rediis or rabbitmq and I'd need an orchestrator to manage the various services. in elixir, we get all this baked in. I can add a microservice as easily as you can add a controller in rails.
Also, the websocket system in elixir is so good makes nodejs look like a toy.