GraphQL API Gateway cover
All work

2022

GraphQL API Gateway

A federated gateway that stitches six backend services into one typed schema with per-field caching.

Overview

Consolidated a sprawl of REST and gRPC services behind a single federated GraphQL gateway. Wrote the schema composition layer, a Redis-backed per-field cache with automatic invalidation, and depth- and cost-limiting to keep expensive queries from taking the cluster down. Generated end-to-end TypeScript types from the schema so front-end and back-end could never drift apart.

Role & impact

My role

Full-stack engineer — gateway, caching, and codegen pipeline.

Impact

Reduced average client round-trips from 7 to 1 and dropped p95 latency by 48%.

Stack

TypeScriptGraphQLNode.jsRedisgRPCDocker