@rhcarvalho Hey Rodolfo Appreciate you give it a look!
did you work on Papercups or only studied from the outside?
Haha, no I have no affiliations with Papercups.
I had one side gig a few months ago where I needed to think about embedded chat functionality. Papercups gave me a great example of that functionality to learn from. So I decided to dive deeper and review the whole project and codebase as a part of some series I’m doing around reviewing different open source applications and their architectures.
I would say that, besides the article itself, the biggest thing I have discovered is Elixir. Before the overview, I had absolutely zero Elixir experience and had to ramp up as I was working on the review. Elixir turned out to be very elegant and readable language. It’s absolutely amazing how much Elixir/Phoenix can give you with so little effort. I have not seen that before with my prior experience in Python, Golang, Rust, JS/TS (JS ecosystem might be the closest I have seen to this but still it’s not the same).
How to implement the Saga pattern in Elixir. It’s a handy pattern for managing multi-step, long-lived transactions that need to roll back if a step fails.
It’s a bit complex but very useful especially in distributed systems!
Hi all.
Started writing Data Structures and Algorithms in Elixir.
Implementation in Elixir is vastly different compared to other languages.
Avoiding the use of for loops & if-else blocks.
Just pattern matching and recursion.
Do read. Will give you a fresh perspective towards implementing algorithms in Elixir.
Trying to share my understanding of how Nerves works and is put together. It is way more Erlang about how it Erlangs than most cloud services I gather.