2019-09-15, 11:30–13:00, Room I
When googling "python micro-service framework", there are plenty of "Hello world" examples out there for many (micro-)frameworks.
But how do they scale to "real" world applications? How can I connect framework X to a database or what do you need to do to use OAuth2 with framework Y?
This workshop was inspired by Aaron Bassett's EuroPython 2018 talk "Hello to the World in 8 Web Frameworks micro, batteries included & async". It was a great introduction to the array of web (micro-)frameworks available in Python but I was curious at how they scale to "real" life use-cases.
In order to learn about that, I went through several steps:
- I decided on 4 micro-services I wanted to build and that were somewhat representative of services you might need in a production setting
- I set some constraints about what I expect from a micro-service as a developer (ie: documentation, testing, etc), as a sysadmin (ie: ease of deployment) and as a product manager (ie: performance)
- I implemented those micro-services using several frameworks
- I deployed them with production settings on a Raspberry Pi cluster
- I tested the performance of each architecture
This workshop will deep-dive into specific things I learned and found the most interesting, some are code samples others are strategies.
Spoiler: I will not end the workshop with "choose framework Z"