Creating Thumbnails of uploaded Images and PDF in Phoenix
We see how to create thumbnails of Images and PDFs in Elixir and Phoenix, using ImageMagick and Mogrify.
15, May 2019
Dealing with long-running HTTP Requests and Timeouts in Phoenix
When processing a HTTP request takes too long, Phoenix closes the connection. In this article we see how to...
01, May 2019
Step-by-Step Tutorial to Build a Phoenix App that Supports User Upload
A step-by-step tutorial we see in depth how to build a Phoenix app from scratch, letting users upload their...
17, Apr 2019
Hashing a File in Elixir
What is a hash function and how to calculate the hash strings and files in Elixir, using functions in...
10, Apr 2019
Elixir Stream and large HTTP responses: processing text
Part 1 – Elixir Stream to process large HTTP responses on the fly Part 2 – this article You...
03, Apr 2019
Elixir Streams to process large HTTP responses on the fly
Transforming an HTTPoison async response into an Elixir Stream, to easily process large remote files on the fly, gaining...
27, Mar 2019
The Primitives of Elixir Concurrency: a Full Example
We see how to fully implement concurrent HTTP calls, using just spawn, send and received along with HTTPoison. We...
19, Mar 2019
Hey Process, there is a Message for you!
Messages are a fundamental part of concurrency in Elixir. In this article we see how messaging and mailboxes ....
13, Mar 2019
Spawning processes in Elixir, a gentle introduction to concurrency
In this article I introduce concurrency and show how we can start making our code concurrent in Elixir, using...
06, Mar 2019
How to run a Docker Container
After a quick intro to containers and images, we see how easy it is to run and connect to...
21, Feb 2019
The Beauty of Pattern Matching in Elixir
One of the beautiful things of Elixir is pattern matching. We'll see pattern matching with tuples, lists and maps,...
19, Feb 2019
Download Large Files with HTTPoison Async Requests
Make requests with HTTPoison is easy, but the response is held in memory. To download large files we need...
13, Feb 2019