I have a small academic project that I use in my research. It consists out of a few databases and multiple computational microservices which should access the DBs. It all runs within separate containers.
I want to make another container with a REST python service that’s used by a few other microservices within this project. The purpose of it is fairly simple. It’s a collection of SQL queries and data transformation logic, which I simply want to have within the same place. Maybe have a few instances of this service for scalability in the University’s cluster.
No authentication for this specific microservice is required as it’s always going to be within a secure network. Other microservices (containers) will act as public interfaces for the computational experiments I run.
Currently, I made a prototype of this microservice with
Flask + gunicorn. But somehow I’m not sure if this would the optimal solution for such a task. Is this combination actually suitable for production?
I also looked into Django but it seems to be rather heavyweightght for a purpose of making a REST service. Or am I wrong here?
Are there any other alternatives but Flask and Django? Or maybe there’s a better way of using Flask, rather than just making a few threads of the service with gunicorn?