Digests » 162


Full Stack Fest 2018: Bring Back the Web

Fancy a week in Barcelona? Would you like to hear about Distributed systems, new browser APIs, Machine Learning, WebXR, PWA or Cryptography? Then Full Stack Fest is for you! Get a 15% discount using the code ELIXIR.

this week's favorite

Instrumenting phoenix with Prometheus

How to collect metrics in Phoenix with Prometheus (Ecto's average query time, controller's average response time, View average render time...).

Reliable & scalable multimedia streaming

The Membrane is easy to use abstraction layer for assembling mostly server-side applications that have to consume, produce or process multimedia streams. It is written in Elixir + C with outstanding Erlang VM underneath that gives us a rock solid and battle-tested foundation.

Scheduling recurring jobs with a GenServer

Using a GenServer to schedule work from right inside your app is easier and faster than relying on an external tool like cron jobs. This 6 minute video contains clips from two projects where we've implemented this—a simple cache deleting task for this site, and a logging task that runs at the same time every day on StatWatch.me.

Voice Leading with Elixir

Voice leading refers to how the individual notes, or voices, within a chord move when you transition to another chord. You often want as little movement as possible to keep the transition from sounding jarring (unless you’re going for jarring).

How to implement sliding timeouts in your Elixir GenServers

Keeping all this data in memory and having network connections open for idle users is not a good use of our resources. So, to make our app leaner, we wanted to discard all the searches where users are idle for more than 10 minutes.