Elixir Digest
Digests » 230
sponsor
Elixir developers are in demand on Vettery
Vettery is an online hiring marketplace that's changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today.
this week's favorite
Broadway, RabbitMQ, and the Rise of Elixir
In this two part series we’ll be talking about what a message queue is and when you would use one in your application. From there we’ll dive into the Broadway library maintained by Plataformatec and see how it can be leveraged from within an application for data processing. Finally, we’ll create a sample project that makes use of RabbitMQ+Broadway to scrape comments from HackerNews so we can measure the popularity of Elixir over time. Without further ado, let’s dive right into things!
Structs: Maps with checks and default values
As explained in the official docs, Structs are extensions built on top of maps that provide compile-time checks and default values. Maps, as we covered, are one of Elixir's basic data structures.
Riak Core on Partisan on Elixir Tutorial: We can make a Key Value Store out of that
Given that riak_core is an implementation of the Dynamo Architecture which was created to build scalable key value stores, we should follow the same path and build one.
Phoenix LiveView Tutorial: Adding Phoenix PubSub and Pow Authentication to Messenger
After bootstrapping the Messenger app, Michal’s article explains how to use Phoenix PubSub & Pow for live updates and authentication.
Using Ecto outside Phoenix in Elixir projects
The common approach for most people building elixir projects is to use phoenix, a productive, reliable and fast elixir web framework and a very often you start thinking that the dependencies that phoenix comes with are part of phoenix.