Digests » 223

sponsor

Get 40% off your entire Manning.com order!

Manning Publications is always looking to help developers grow. It doesn't matter what your background is, there's something for you to discover. This week, you can get 40% off your entire Manning.com order, including our range of Elixir books! Whether you're looking to pick up Phoenix or just improve your skills with the syntax, there's a way for you to boost your Elixir prowess.

elixir

Dynamic Conditionals with Ecto

Recently, I needed to take a user's query and match it against multiple fields, and realized I needed to learn more about the dynamic clause for Ecto.Query. The situation arises when you want a single powerful search field that matches all or part of the query string on multiple database columns.

Kubernetes and the Erlang VM: orchestration on the large and the small

If you look at the features listed by Kubernetes (K8s) and compare it to languages that run on the Erlang VM, such as Erlang and Elixir, the impression is that they share many keywords, such as “self-healing”, “horizontal scaling”, “distribution”, etc.

Improve Exq Writes With Pooling

Exq is a background job processing library written in Elixir. It uses Redis, via the Redix library, to store and then retrieve jobs. In this post, we’ll look at the performance of writing jobs into Redis via the Exq.Enqueuer API. You’ll see several benchmarks that utilize a single Enqueuer, a poolboy queue, and a named process pool.

ExGram

ExGram is a library to build Telegram Bots, you can use the low-level methods and models, or use the really opinionated framework included.

Tracking Down an ETS-related Memory Leak

ETS will hold references to large binaries, even if just part of the original binary is stored in a table. Copy binaries if pieces of them are going to be kept around for a long time.