{
  "id": 20585502,
  "title": "Daffi: A High-Performance Brokerless RPC Framework for Python",
  "url": "https://urgent.news/2026/11/18/daffi-a-high-performance-brokerless-rpc-framework-for-python",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-18T11:14:19.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/vladimir_boyko_bdd79bf232/daffi-a-high-performance-brokerless-rpc-framework-for-python-23k0"
  },
  "original_language": "en",
  "account": "Daffi is a high-performance brokerless RPC (Remote Procedure Call) framework for Python. It allows developers to build distributed Python applications without the need for an external message broker, while still achieving impressive performance levels. The framework is designed to provide a natural and straightforward API for Python developers, enabling various communication patterns such as request-response, fire-and-forget, broadcasting, and streaming.\n\nDaffi's architecture is brokerless, meaning that processes communicate directly with each other without the need for an intermediary message broker. This approach simplifies the infrastructure and reduces the complexity required to connect Python processes. The framework is built on a native runtime core, which handles performance-critical connection handling operations in a compiled language, thereby reducing the overhead that might otherwise be associated with pure Python networking primitives.\n\nKey features of Daffi include multi-communication patterns, flexible serialization options, multiple runtime models, and support for different transports and encryption. It is compatible with Python 3.10 or newer and can be installed using pip. The framework offers a simple example of setting up an RPC service and a client to call the remote functions, without the need for IDL files, generated Python stubs, or a separate broker process.",
  "summary": "What if you could build distributed Python applications without introducing another message broker — and still get impressive performance? When building distributed Python applications, developers often reach for gRPC, ZeroMQ, RabbitMQ, Redis, or other messaging solutions. Each has its strengths, but sometimes the infrastructure and complexity required to connect Python processes feel…",
  "key_points": [
    "Daffi is a brokerless RPC framework for Python.",
    "It simplifies distributed Python app development.",
    "Supports multi-communication patterns and encryption."
  ],
  "editors_take": "Removing the requirement for an external message broker simplifies distributed infrastructure and reduces the operational complexity typically required to connect multiple Python processes in a high-performance environment.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}