Microservices under the Umbrella
After a brief introduction of Umbrella applications, we will build a web app and see how this approach pushes us towards a modular design.
You will be given a code skeleton in the form of a puzzle. Your task will be to fill in the gaps by implementing different services. Putting those services together at the end of the day will form the whole system.
During this process we will see how one can utilise an OTP app in a progressive manner. We will go from using one as an internal dependency to a separate service altogether. To achieve the latter we will utilise Distributed Erlang as the glue between the apps.
To wrap up, we will see what are some of the advantages and disadvantages of our architecture and have a discussion on the lessons learned. Pairing will be encouraged but it will not be mandatory.
Tutorial objectives
In this workshop we will build and deploy different OTP apps using umbrella applications, TDD and Distributed Erlang.
Main areas covered:
- Elixir
- Umbrella applications
- Phoenix/Plug
- Distributed Erlang
- Testing
- Deployment strategy on AWS (single node vs multiple nodes)
Pre-requisites
- Elixir 1.4
- Erlang 19
- Postgres
- Github account
Target audience
- Some familiarity with Elixir's syntax and features will be beneficial.
Venue
Barceló Sants
Plaça dels Països Catalans s/n
Barcelona, Catalonia, 08014, Spain
A design hotel built directly above Barcelona Sants railway station, with direct access to the AVE high-speed rail, metro, and local train links. Close to the Fira de Barcelona trade fair and 15 minutes by train from El Prat airport.