Realtime microservices with server side Flux
Ratnadeep Debnath (~ratnadeep) |
12
Description:
This talk will introduce the concept of Flux, a unidirectional data flow pattern proposed by Facebook, to implement better client side web applications; and how we took this pattern to the server side to implement realtime, scalable microservices. This talk will take you through our adventurous journey in rewriting a monolithic Waartaa into several microservices and how we implemented:
- Inter process communication
- Keeping services as stateless as possible
- Single source of truth
- Realtime publishers
The end result of this venture is ircb, a scalable IRB bouncer for humans, written using Python 3 asyncio, and on top of homebrewed zeromq based store.
The talk will be organized as:
- Setting the scene
- Why move to microservices?
- Managing state in microservices can be a nightmare?
- Server side Flux to the rescue
- Walk through IRCB architecture
- Demo - concepts in action
- Future
- Questions
Prerequisites:
- Knowledge of asynchronous systems
- Python
- open mind to learn
Content URLs:
- Slides: https://docs.google.com/presentation/d/1K2_wRuFJHaFAS8WPZv4g_j7DCnMe7OAHd7d9-WtxcbA/edit?usp=sharing
Speaker Info:
- Open Source contributor
- Python/Django programmer
- Creator and maintainer of Waartaa
- Container Engineer at Red Hat
- Coordinator/mentor at Linux Users Group of Durgapur
Speaker Links:
- Blog: http://www.rtnpro.com/
- Github: https://github.com/rtnpro
- Twitter: https://twitter.com/rtnpro