StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Microframeworks
  4. Microframeworks
  5. Nameko vs asyncio

Nameko vs asyncio

OverviewDecisionsComparisonAlternatives

Overview

asyncio
asyncio
Stacks126
Followers158
Votes13
Nameko
Nameko
Stacks20
Followers79
Votes0
GitHub Stars4.8K
Forks468

Nameko vs asyncio: What are the differences?

Introduction

In this Markdown code, we will discuss the key differences between Nameko and asyncio.

  1. Programming Paradigm: Nameko is a microservices framework written in Python, whereas asyncio is an asynchronous I/O framework in Python. Nameko focuses on building microservices that communicate with each other, while asyncio provides a foundation for writing asynchronous code.

  2. Architecture: Nameko follows a distributed architecture, where each microservice can be developed and deployed independently. The communication between microservices is handled by Nameko's RPC (Remote Procedure Call) mechanism. On the other hand, asyncio is a single-threaded, non-blocking I/O event loop that allows concurrent execution of coroutines.

  3. Execution Model: Nameko runs each microservice as a separate process, usually within a containerized environment. It provides a built-in RPC mechanism for communication between microservices. asyncio, on the other hand, runs within a single Python process and allows asynchronous execution of coroutines, along with event-driven programming.

  4. Concurrency Model: Nameko is built on top of eventlet, a concurrent networking library for Python. It uses pre-forking to achieve concurrency and allows multiple requests to be processed simultaneously. On the other hand, asyncio uses an event loop to manage and schedule coroutines, providing non-blocking I/O operations and cooperative multitasking.

  5. Ease of Use: Nameko provides a higher-level, more opinionated framework for building microservices. It includes features like dependency injection, service discovery, and automatic load balancing. asyncio, on the other hand, provides a lower-level, more flexible framework for writing asynchronous code, allowing developers to have more control over the code structure and execution flow.

  6. Community and Ecosystem: Nameko has a smaller community and ecosystem compared to asyncio, as it is a more specialized framework focused on microservices. asyncio, being a core part of the Python standard library, has a larger community and a wider range of libraries and tools built around it.

In summary, Nameko is a microservices framework that focuses on building distributed systems with a higher-level abstraction, while asyncio is an asynchronous I/O framework that provides a foundation for writing non-blocking, event-driven code with more flexibility.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on asyncio, Nameko

Girish
Girish

Software Engineer at FireVisor Systems

Apr 17, 2020

Needs adviceonPythonPythonNamekoNamekoRabbitMQRabbitMQ

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.

310k views310k
Comments

Detailed Comparison

asyncio
asyncio
Nameko
Nameko

This module provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives.

Python microservices framework that leverages AMQP for RPC. It supports asynchronous and synchronous events.

-
Focus on business logic; Distributed and scalable; Extensible
Statistics
GitHub Stars
-
GitHub Stars
4.8K
GitHub Forks
-
GitHub Forks
468
Stacks
126
Stacks
20
Followers
158
Followers
79
Votes
13
Votes
0
Pros & Cons
Pros
  • 4
    Cooperative Multitasking
  • 4
    I/O Wait
  • 3
    Network Call
  • 2
    I/O bound computation
No community feedback yet
Integrations
No integrations available
Django
Django
Slack
Slack
Python
Python
Redis
Redis
Sentry
Sentry
SQLAlchemy
SQLAlchemy

What are some alternatives to asyncio, Nameko?

ExpressJS

ExpressJS

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

Django REST framework

Django REST framework

It is a powerful and flexible toolkit that makes it easy to build Web APIs.

Sails.js

Sails.js

Sails is designed to mimic the MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with scalable, service-oriented architecture.

Sinatra

Sinatra

Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

Lumen

Lumen

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

Slim

Slim

Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.

Fastify

Fastify

Fastify is a web framework highly focused on speed and low overhead. It is inspired from Hapi and Express and as far as we know, it is one of the fastest web frameworks in town. Use Fastify can increase your throughput up to 100%.

Falcon

Falcon

Falcon is a minimalist WSGI library for building speedy web APIs and app backends. We like to think of Falcon as the Dieter Rams of web frameworks.

hapi

hapi

hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.

TypeORM

TypeORM

It supports both Active Record and Data Mapper patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high quality, loosely coupled, scalable, maintainable applications the most productive way.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot