Software Engineer at FireVisor Systems·
Needs advice
on
BottleBottleFlaskFlask
and
NamekoNameko

Which is the best Python framework for microservices?

We are using Nameko for building microservices in Python. The things we really like are dependency injection and the ease with which one can expose endpoints via RPC over RabbitMQ. We are planning to try a tool that helps us write polyglot microservices and nameko is not super compatible with it. Also, we are a bit worried about the not so good community support from nameko and looking for a python alternate to write microservices.

READ LESS
6 upvotes·292.6K views
Replies (1)
Recommends
on
Bottle

Bottle is much less bloated and fast. Its built-in templating system is one of the fastest as it compiles the templates in bytecode. Also Bottle has no depenencies, preventing dependency bloat.

READ MORE
1 upvote·1 comment·242.8K views
jgericke
jgericke
·
February 1st 2021 at 7:49AM

I really like Nameko for it's ease of use, but haven't used it for a while - the GRPC bridge looks pretty cool (https://github.com/nameko/nameko-grpc).

If you're looking for something compact, popular and with a burgeoning community (although without much in the way of gRPC support) I'd recommend checking out Tiangolo's FastAPI

·
Reply
Avatar of FedericoCeratto