Company
Date Published
Author
Dustin Deus
Word count
1291
Language
English
Hacker News points
3

Summary

The Cosmo Serverless GraphQL Federation Router for AWS Lambda is a new release that marks a significant milestone in the GraphQL community. This router acts as a single access point to aggregate data from multiple sources, providing a unified GraphQL schema and streamlining query processing and schema management. The router is built using AWS Lambda, which provides a serverless computing service that simplifies concerns about server provisioning, scaling, and infrastructure management. The Cosmo Router has been optimized for small footprint and fast cold starts, with a binary size of 19MB. It also features built-in support for OpenTelemetry for tracing and metrics, as well as schema usage data to provide insights into schema changes. The router performs well on AWS Lambda, handling requests with a p95 time of 480ms and scaling well with 100 concurrent users over a period of 60 seconds. The source code is available on GitHub, and the router can be easily deployed using SAM CLI or the AWS console. This release makes it simple to deploy, operate, and scale a GraphQL Federation Router / Gateway on AWS Lambda.