~
andrealeopardi.com
/now
posts
25 entries
>
Elixir's GenStage Demand (a Visual Explainer)
Concurrency gives us more workers; demand tells us when to stop sending them work. This is…
2026-08
>
Redis Cluster Support, Without Writing Code
How I experimented with building support for Redis Cluster into Redix (Elixir's Redis clie…
2026-07
>
Counting Fast in Erlang with :counters and :atomics
Two BEAM escape hatches for counting fast—shared, mutable, off-heap integer arrays. How :a…
2026-05
>
BEAM Metrics in ClickHouse
How we are periodically dumping metrics about our most demanding BEAM processes into an ea…
2026-03
>
Quantified Self • 2025
My own sort of "wrapped" for the 2025 year.
2025-12
>
How to Async Tests in Elixir
It can be hard to keep tests asynchronous as Elixir applications grow in size and complexi…
2025-04
>
Tech I Use • 2024
Inspired by others doing this, here's a writeup of the things I use—mostly tech—2024 editi…
2024-12
>
Reducing Compile-Time Dependencies in Gettext for Elixir
This is how we significantly improved compilation time for Elixir projects that use Gettex…
2024-09
>
Verifying JWTs from Apple's App Store
A quick walkthrough on how to verify JWTs coming from Apple's App Store APIs using Elixir.
2023-11
>
A Breakdown of HTTP Clients in Elixir
This is an overview of the HTTP clients we have available in Elixir, as well as when to us…
2023-07
>
Protohackers in Elixir
I'm publishing a new video series about network programming in Elixir, where I solve the n…
2023-01
>
Advent of Code 2022
An experiment in solving AoC 2022 with Rust and some AI (GitHub Copilot and OpenAI's ChatG…
2022-12
>
Get Rid of Your Old Database Migrations
Are database migrations good? Probably, but are we using them in the right way? In this po…
2022-11
>
Testing AWS in Elixir
An overview of how we test Elixir applications that interact with AWS.
2022-01
>
Example-based Tests And Property-based Tests Are Good Friends
A short look at mixing property-based tests and example-based tests to get the best of bot…
2022-01
>
RPC over RabbitMQ (with Elixir)
A look into the RabbitMQ topology (exchanges, queues, bindings) and Elixir architecture th…
2020-11
>
Process pools with Elixir's Registry
A look at process pools and how to build routing pools (as opposed to checkout pools) usin…
2020-04
>
Sharing Protobuf schemas across services
How we're managing, evolving, and sharing Protobuf schemas across several services and pro…
2020-02
>
Persistent connections with gen_statem
How we can use the gen_statem behaviour to implement a resilient state machine that holds…
2019-04
>
A story of regret and retiring a library from Hex
I'm retiring a library of mine from Hex. I want to explain why.
2018-09
>
The guts of a property testing library
A look at the design and mechanics of StreamData, a data generation and property testing l…
2017-08
>
Using C from Elixir with NIFs
An in-depth look at how to use NIFs from Elixir to run native code in the Erlang VM.
2015-12
>
Compile-time work with Elixir macros
An overview of possible things to do through Elixir macros at compile time.
2015-10
>
Handling TCP connections in Elixir
A look at some strategies to handle TCP connections and data flowing through them.
2015-06
>
Tokenizing and parsing in Elixir with yecc and leex
A showcase of these two Erlang builtin tools and how they can be used from Elixir.
2015-06