DEV Community

loading...
Cover image for SOLVING THE SCALING PROBLEM with GraphQL + serverless APIs
Bytesized Code

SOLVING THE SCALING PROBLEM with GraphQL + serverless APIs

signalnerve profile image Kristian Freeman ・1 min read

This video is a talk from Byteconf GraphQL 2020, a free, live-streamed GraphQL conference that aired on January 31st, 2020. Visit our website to sign up for the Byteconf GraphQL "swag bag", a free downloadable resource with everything you need to get started with GraphQL, as well as info about future Byteconf events!

Accessing and working with data is not easy with serverless, because traditional methods of database access don't work well. In this talk, I will discuss the key problems around working with databases when building serverless application logic and approaches to solving them. I will motivate problems like connection pooling, cold-starts, handling spiky concurrent loads, database transactions and transient failures. I will then present GraphQL as a possible solution for building a high-performance data API that can scale to serverless workloads. I will talk about the pros & cons of this approach. Finally, I will do some live code demos and make the problems and solutions discussed previously more concrete!

Thanks to Tanmai Gopal, who presented this talk at Byteconf GraphQL 2020!

If you enjoyed the video, give it a thumbs-up, and subscribe to our channel for more web dev content every week. We also have a newsletter where we send out what's new and cool in the web development world, every Tuesday – join here!

Discussion (0)

pic
Editor guide