The many ways to hold a token

The real-life story of a team interacting with an external API using a token that would expire every few minutes.

It's a journey about the different strategies they used for holding and expiring it. Going through environment variables, Genservers, ETS tables the `handle_continue` callback and the unexpected things that happened while they tested it.
 

OBJECTIVES

Provide relatable real-world experience about the common problem of holding an expiring token and give insight into the tradeoffs of the different solutions we came up with.

 

AUDIENCE

Anyone that is interested in some strategies to hold state in an Elixir application, their possible trade-offs, and implementation caveats

 

Upcoming conferences

Start booking your calendar with more Code Sync conferences happening across the globe. We will be slowly releasing more dates, in the meantime here is what we’ve planned already:

All conferences