Building microservices with firefly
firefly is an open source micro framework to deploy Python functions as web services.
firefly was created with the aim of simplifying the deployment Machine Learning models as RESTful API. But as fate would have it, it became our favourite tool for building microservices.
firefly takes care of processing the HTTP requests, forwarding the data to the python functions and encoding the result back to a HTTP request. It also has data validation, authentication support, transfering any type of file. You can also define a configuration file specifying the URL resource structure resulting in an elegant RESTful API.
It comes with a client library that makes calling remote functions calling as easy as calling functions present locally. It is a WSGI application and can be deployed and scaled through any WSGI server like
gunicorn. There are many other features in the pipeline like multiple authentication modes through the plugin system.
This talk will focus on introducing
firefly, it’s notable features like plugin support, building microservices efficiently with various examples.
- About me
- Microservices Architecture
- Comparison with monolithic architecture
- Design Patterns
- Forces in Action
- When to use?
- Who uses?
- Firefly to the rescue
- What is firefly?
- Why use firefly?
- Use (Client)
- Data Validation
- Canonical URL’s
The participants should have a basic notion of making web services and RESTful API’s.
The speaker is Nabarun Pal, a final year undergraduate student at Indian Institute of Technology Roorkee. Currently, he is working for rorodata which aims at providing data scientists a platform to build and deploy their models without the need of worrying about infrastructure, scalability, and performance. He is working on an Open Source Functions as a Service framework called firefly.
He is passionate about software development. He can also talk about Internet of Things, Electronics, Robotics with equal spirit. His journey with the field of software and robotics started in his schooling days. He represents the college in various Robotics competitions and was involved in projects related to the above domains, brief of which can be found here. He actively participates in conducting open lectures for students in the domains of Introductory Robotics, Control, AI and ML through a curated community of around 2000 members. He is also spoke at PyData Delhi 2017.