What is Nameko?¶
Nameko is a framework for building microservices in Python.
It comes with built-in support for:
- RPC over AMQP
- Asynchronous events (pub-sub) over AMQP
- Simple HTTP GET and POST
- Websocket RPC and subscriptions (experimental)
Nameko is also extensible. You can define your own transport mechanisms and service dependencies to mix and match as desired.
Nameko strongly encourages the dependency injection pattern, which makes building and testing services clean and simple.
Nameko takes its name from the Japanese mushroom, which grows in clusters.
When should I use Nameko?¶
Nameko is designed to help you create, run and test microservices. You should use Nameko if:
- You want to write your backend as microservices, or
- You want to add microservices to an existing system, and
- You want to do it in Python.
Nameko scales from a single instance of a single service, to a cluster with many instances of many different services.
The library also ships with tools for clients, which you can use if you want to write Python code to communicate with an existing Nameko cluster.