Building microservices with firefly

Nabarun Pal (~palnabarun)




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.


The participants should have a basic notion of making web services and RESTful API's.

Speaker Info:

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 speaking at PyData Delhi 2017.

Section: Web Development
Type: Talks
Target Audience: Beginner
Last Updated:

Hi, It would be nice if you add your slides before 10 Sept. It will help our team to review your proposal. Thanks

Rajat Saini (~rajataaron)

Hi Rajat,

Please see the slide outline and let me know what additional things are required.


  • The number of slides would be around 35 sufficient to cover around 35-40minutes of the talk.
  • Rest time would be spent on Questions from the audience.
  • The slides would be updated gradually.

I have my exams and quizes going on, so will draft the final slides once I am free. Please let me know if you need anything more for the evaluation.

Nabarun Pal (~palnabarun)

Login to add a new comment.