Context maintainability & guidelines in Elixir & Phoenix | Curiosum
Discover Curiosum step by step guide on Phoenix Context maintainability. This blog post unveils a strategy for optimal context organization in app development.
Pogo is a distributed supervisor built on top of Erlang process groups. It abstracts away the complexity process scheduling and supervision in distributed environment.
A hash function is a function that maps a value (such as a string) to an integer value. Typically, we want random-looking values. A Bloom filter is a standard data structure in computer science to approximate a set. Basically, you start with a large array of bits, all initialized at zero. Each time you want … Continue reading Expected performance of a Bloom filter
Concurrency is a fundamental concept in Elixir, a functional programming language built on the Erlang virtual machine (BEAM). Elixir provides powerful tools and abstractions for managing concurrent processes, making it ideal for building scalable and fault-tolerant systems. Concurrency in Elixir is achieved through lightweight processes called "Elixir processes." These processes are not operating system threads
Getting our Elixir application deployed on Fly.io when we have a `structure.sql` file from running `mix ecto.dump` and we don't have all the migrations anymore.
To transcode the video there is FFMPEG. On Demand When a user uploads a video, the app renames and copy the file to a path, then call FFMPEG to transcode the video. Let’s say we are using HLS, we can use a script like this, to transcode the video to multiple resolutions, create a playlist file and sequences: https://github.com/shavit/Diana/blob/master/bin/create_sequence When a user requests a video, the server responds with m3u8 file, which contains a list of ts files. The creation of the s...