Digests » 224


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

How to Create a Todo List with Phoenix LiveView

A few weeks ago, I released a pretty basic Phoenix LiveView tutorial where we made a simple counter that you could increment and decrement. Phoenix LiveView is a great solution for anyone who wants to get a real-time app out to the world quickly without spending a ton of time building out both frontend and backend. Today I want to show you just how simple it can be to build something that is a little more useful than a counter: a todo list.

Run the timing task efficiently in erlang?

In most projects, It’s inevitable that you’ll write a few scheduled tasks, such as mail that periodically sends node status on weekdays. How to complete the timing task quickly and efficiently? Here are three common ways to implement timing tasks and their advantages and disadvantages.

Cowboy architecture and execution flow

Cowboy is the default HTTP server for Erlang/OTP. It’s built on top of Ranch which is a socket worker pool for TCP. Together they power most of the web apps written in Erlang or Elixir, including the ones built on Plug or Phoenix framework.

GenServer, Registry, DynamicSupervisor. Combined.

Because Elixir designed the GenServer, Registry and DynamicSupervisor to work together seamlessly, we are surprised by how few lines of code needed to wire these up together.

NodeJS, an Elixir Library for Calling Node.js Functions

We’re still committed to the Elixir Stellar client, but we wanted to get up and running a little faster. So we had some decisions to make.