October 2023 Summaries
2 posts from Wundergraph
Filter
Month:
Year:
Post Summaries
Back to Blog
Wundergraph Cosmo is an open-source platform for creating and managing federated GraphQL APIs. It provides a schema registry with proper validation and schema checks to avoid breaking changes and errors in merging individual service schemas into a single, cohesive API surface. The platform consists of different modules, including the Studio for user-friendly UI interaction, the Router for understanding the Federation specification, the Control Plane as the glue binding everything together, and the CLI for creating, updating, and deleting new schemas. Cosmo can be self-hosted via Kubernetes or opted for a managed option in the cloud. The schema registry allows teams to review all subgraphs of their federated graph, download individual schemas, and inspect directly the schema of specific subgraphs. Schema checks detect composability errors (merge is not possible) and breaking changes (merge is possible but client applications will break), providing detailed information for fixing issues. Cosmo also offers an AI-powered feature to automatically fix composition errors with OpenAI integration.
Oct 26, 2023
1,642 words in the original blog post.
The Cosmo Router is a high-performance, open-source, Federation V1/V2 compatible gateway that enables scalable and modular architectures for federated GraphQL. It acts as the linchpin that binds disparate data sources together, making them accessible through a single cohesive API while ensuring adaptability. The Router uses a customized DataLoader pattern to solve the N+1 problem, batching queries to improve efficiency and performance. It also features Ludicrous Mode, which eliminates redundant requests for the same data, optimizing network traffic and reducing the load on origin servers. The Router is stateless, allowing multiple instances to be provisioned according to requirements, and provides customizability through Go modules. Additionally, it has been instrumented with OpenTelemetry, Prometheus, and RED Metrics for analytics and performance monitoring.
Oct 25, 2023
2,755 words in the original blog post.