Real world usecase for GenServer and Agent in Elixir

Concurrency is the bread and butter of an Elixir OTP application. We are gonna look at one of many ways how Elixir helps in achieving concurrency for serving several function calls parallely. Concepts discussed in this blog post requires a very basic understanding of GenServer in Elixir/Erlang. Any application that talks to an external API […]

Concurrency is the bread and butter of an Elixir OTP application. We are gonna look at one of many ways how Elixir helps in achieving concurrency for serving several function calls parallely.
Concepts discussed in this blog post requires a very basic understanding of GenServer in Elixir/Erlang.
Any application that talks to an external API requiring OAuth2 credentials, would have to manage the access token and the rudementary step of refreshing the token when it expires.
Source: Codemancers