introducing elixir the easy way
TRANSCRIPT
Who wants to play with Elixir now?
Can't go out and rewrite it all (tm)
Introducing elixir the easy way
Tobias [email protected]
● Demand that poses problems for the current stack
● Reasonably separate and limited problem● Spark to get started
● Problem: Many concurrent connections● Domain: Live Tracking of Couriers● Spark: Interest and basic knowledge
Rails Monolith
Web Frontend
CourierApp
DB
Rails MonolithPhoenix App
Web Frontend
CourierApp
DB DB
Connect them?
Rails MonolithPhoenix App
Web Frontend
CourierApp
DB DB
Rails MonolithPhoenix App
Web Frontend
CourierApp
DB DB
Rails MonolithPhoenix App
Web Frontend
CourierApp
DB DBShared Secret
JSON Web Token
Rails MonolithPhoenix App
Web Frontend
CourierApp
DB DB
JWT
JWT
Shared Secret
Rails MonolithPhoenix App
Web Frontend
CourierApp
DB DB
JWTAuth: JWT
JWT
Shared Secret
Auth: JWT
Rails MonolithPhoenix App
Web Frontend
CourierApp
DB DB
JWTAuth: JWT
JWT
Shared Secret
Auth: JWT
Location UpdatesLocation Updates