Company
Date Published
Author
Jens Neuse
Word count
2575
Language
English
Hacker News points
2

Summary

EDFS - Event Driven Federated Subscriptions is a new feature introduced by Cosmo that allows for the combination of Federation, Entities and Subgraphs with an Event-Driven Architecture. This enables the creation of stateless Subgraphs, eliminates the need for a single root field ownership, and leverages Epoll/Kqueue to handle tens of thousands of Subscriptions with a small number of threads and buffers. EDFS makes Subscriptions more efficient and scalable by delegating handling to the operating system, reducing resource consumption and allowing for better scalability across multiple CPU cores when publishing events. It is designed to bridge the gap between Federated GraphQL and Event-Driven Architectures, enabling teams to work independently while still achieving real-time applications capabilities.