3 ms·
I’ve been writing an API in Phoenix for a high message volume high user count application and it’s pretty amazing how little code I have been writing thus far.
by dep_b 9y ago
I’ve been writing an API in Phoenix for a high message volume high user count application and it’s pretty amazing how little code I have been writing thus far.
Some concepts are a bit weird like GenServer but it completely decouples your application from your state.
Writing tests was intuitive and one of the few times I’ve been doing TDD that really felt faster than manual testing.
- arvidkahl 9y agoElixir turns from wonderful to magical once you grasp the GenServer concept and learn about its extensions, namenly GenStage. The producer/consumer pattern and the back-pressure logic will allow you to build incredibly scalable, resilient systems. When I first saw it in action, I was mesmerized.
- tortilla 9y agoJust finished reading "Functional Web Development with Elixir, OTP, and Phoenix" and I really like it. It gave me a better understanding of GenServer/OTP: https://pragprog.com/book/lhelph/functional-web-development-with-elixir-otp-and-phoenix https://pragprog.com/book/lhelph/functional-web-development-...
- tecknowlogic 9y agoYou seem to be on the right track. I am sure you'll find success.