Elixir

Articles from our blog tagged elixir

GenServer call time-outs

What exactly happens when `GenServer.call/3` times out? Let's find out.
-

Using HTTPS with Elixir on Cowboy

How to serve https from a simple Elixir app running locally with Cowboy in development mode
-

Communicating with C from Elixir using Ports

On occasion your Elixir is going to want to interact with an external program. This may be for speed, but more likely you are going to want to take advantage of a library that has been written in C. The most common options are using Ports and Native Interface Functions (NIFs).
-

Three alternatives to using GenEvent in Elixir

For various reasons, may people are not fond of GenEvent. Here are some examples of using some good alternatives for broadcasting and subscribing to types of event: gproc, Phoenix PubSub, and the new process registry to be included in Elixir 1.4.
-

Phoenix with Elm - part 13

In Part 11, we looked at how to fetch our initial seat data via Phoenix channels. Our application, when it loads, opens a web socket to the server and then gets the initial seat data over this connection. Now we want to take a look at how to send and receive data over that channel in response to user interaction with the site.
-
We're passionate about understanding businesses, ideas and people. Let's Talk