This shows a few of the drawbacks of microservices one of which is memory. This project used about 15mb per python instance = 60mb total when the entire stack is launched.<p>Once you load a few largish python libraries like sqlalchemy you can get up to 100mb per instance x 4 = 400mb.<p>What would be interesting is a framework that allows you to run the entire microservice stack in a single interpreter (shouldn&#x27;t be hard with flask blueprints) and break off the subapps as necessary when the need arises.<p>You would need a way of managing the current endpoints for each service vs a requests.get(&#x27;<a href="http:&#x2F;&#x2F;localhost:ARBITRARY_PORT&#x27;" rel="nofollow">http:&#x2F;&#x2F;localhost:ARBITRARY_PORT&#x27;</a>) in the code, but if done correctly would make managing a cluster much simpler.<p>Does anyone know if such a thing exists?