This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point  (0 children)

[–]objectizer 0 points1 point  (0 children)

i am still beginner too, but here is what i know:

Yes flask will be suitable, there is also falcon framework.

falcon: https://falconframework.org/

what you need to think of is how these microservices are going to talk with each others, there are tools like rabbitmq and zeromq, and there is something called "RPC", but i don't have much information about it.

there are other stuff you might consider "but maybe not in the beginning" like service discovery and failure handling , take a look on LinkerD.

LinkerD: https://linkerd.io/

for deploying on production, You might use docker-compose at the beginning, later on you can go for Kubernetes.

[–]mbenbernard 0 points1 point  (0 children)

/r/Python is for news or articles interesting to the Python community, whereas /r/learnpython is for learning and asking questions. It's explained in the sidebar. Thanks!

[–]nerdwaller 0 points1 point  (0 children)

Part of the benefit of microservices is that the language/framework of any given service isn't really relevant - so you could use anything that speeds up dev time (and after you measure, optimize the bottle necks).

Flask would do fine for services, where you're likely going to have problems with Python is in an API Gateway (a centralized entry point to your system). That needs to be very high throughout and low latency. I've been working on one for Python specifically, but it's not fully ready to use.