When writing Unit Tests or Integration Tests for an API that exposes events, we need a way to validate that the events are called. The simplest approach would be to set a variable when the event is called. In the test itself we can sleep for a certain duration and check the variable:
tallarium/reverse_proxy_plug: 🔛 an Elixir reverse proxy Plug with HTTP/2, chunked transfer and path proxying support
🔛 an Elixir reverse proxy Plug with HTTP/2, chunked transfer and path proxying support - tallarium/reverse_proxy_plug: 🔛 an Elixir reverse proxy Plug with HTTP/2, chunked transfer and path proxying...
Serving Plug - Building an Elixir HTTP server from scratch | AppSignal Blog
It’s time for another Elixir Alchemy! We'll learn by building today. We're building an HTTP server with a Plug adapter, which parses requests and builds responses so it can run Plug apps.
In this article, we outline some of the technical details of GenServers in Elixir, which is used to serve a large multitude of people with high speed. This is a deep dive into GenServers and discovering their limitations and strengths.
Hello Elixir enthusiasts! 🚀 As the tech landscape evolves, so should our tools and approaches to development. Today, I'm excited to introduce you to a significant advancement in Elixir development that can reshape how we build distributed systems – I present to you Spawn.
Avoid Trips To The Database With Nebulex - Phoenix Series
Recently, I have been looking for ways to optimize my Stream Closed Captioner application. During one of my typical scroll-throughs of my Following lists and other sites, I discovered Nebulex.
Nebulex, a local and distributed caching toolkit for Eli...
Designing solutions with state machines in Elixir | Ready for Production
Have you ever needed to build solutions related to execution flows like wizards, admission processes, or game rules in your software? If you do, you know it can be a nightmare of conditionals and complexity. We can make our lives easier by developing them using state machines.