-

WG Day:

Fremont, California
Back to Schedule

Shravanth Venkatesh, Harpreet Siddhu

When GraphQL Gets Expensive: Performance & Cost Patterns in Production Serverless Architectures

Humor
Performance

Session description

GraphQL simplifies client development through flexible, expressive data queries. However, in serverless production environments, that flexibility can quietly increase latency and infrastructure cost. In AWS-based architectures using Lambda, DynamoDB, Aurora Serverless, and distributed services, resolver design and query structure directly impact execution time, cold starts, and overall spend. Unlike REST, GraphQL shifts cost dynamics to query complexity and resolver fan-out, and often in ways teams don’t anticipate until production traffic scales. This session examines common performance and cost anti-patterns in serverless GraphQL systems, including N+1 resolver cascades, unbounded query depth, over-fetching, and inefficient resolver fan-out. We’ll explore how these patterns affect Lambda duration, concurrency, and downstream data stores. Attendees will learn practical mitigation strategies such as batching with DataLoader, caching and persisted queries, query complexity limits, schema guardrails, and observability techniques to detect bottlenecks early.


Session speakers

Shravanth Venkatesh

Independent Researcher, Solutions Architect

Shravanth is a AWS Certified Solutions Architect and Principal Software Engineer with 8+ years designing and scaling production systems on AWS. Leading teams shipping serverless healthcare platforms across AWS, he saw firsthand how GraphQL's flexibility quietly reshapes cost and performance in ways teams don't anticipate until production traffic hits. That experience led to this talk. If you've ever stared at a CloudWatch dashboard wondering how one query triggered a cascade of Lambda invocations, he'd love to compare notes.

Harpreet Siddhu

AWS Community Builder, Lead Software Engineer

Harpreet Siddhu is a Lead Software Engineer and AWS Certified Solution Architect, Developer, and CloudOps engineer, AWS community Builder, and AWS road to re:Invent hackathon Champion and with over a decade of experience designing and modernizing cloud-native systems. He specializes in serverless architectures, distributed systems, and cloud cost optimization. Harry focuses on building production-ready platforms that balance performance, scalability, and economic efficiency.

Get your ticket

Join two transformative days of expert insights and innovation to shape the next decade of APIs!

Get tickets
COMMUNITYDEVELOPER EXPERIENCEAPIsTOOLS & LIBRARIESCOMMUNITYDEVELOPER EXPERIENCEAPIsTOOLS & LIBRARIES
OPEN SOURCEFEDERATIONECOSYSTEMSTRACING & OBSERVABILITYOPEN SOURCEFEDERATIONECOSYSTEMSTRACING & OBSERVABILITY
BEST PRACTICESWORKSHOPSSCHEMASSECURITYBEST PRACTICESWORKSHOPSSCHEMASSECURITY