GRAPHQL IN A SERVERLESS WORLD

RAY GESUALDO | Connect.Tech 2018

HI!

I am Ray Gesualdo

I love great narrative, epic music, interesting code

You can find me everywhere at @raygesualdo

UI Engineer, Front End Enablement

#1 Place to Work in Atlanta

#4 Fastest Growing Software Company in N.A. (Deloitte)

A Brave New Serverless World

1

Source: https://solidpartners.com/there-is-no-cloud-plm/

Source: https://www.slideshare.net/loige/building-a-serverless -company-with-nodejs-react-and-the-serverless-framework-jsday-2017-verona

Evaluating Serverless

  • Lower maintenance (DevOps)
  • Simple development
  • Cost effective
  • Scalable & highly available
  • Evented
  • Raw management
  • Hard resource limits
  • New and unknown

BENEFITS

CONSIDERATIONS

Here Comes GraphQL

2

What GraphQL Is

A REST Analogy

GraphQL Features

  • Graph representation of types and their relationships
  • Strongly typed
  • Queries and mutations
  • Complex data shapes
  • Introspection
  • Resolvers

Evaluating GraphQL

  • Improved data retrieval
  • Developer experience (DX)
  • Excellent client libraries
  • Lower bandwidth usage
  • Specification, not implementation
  • New and unknown
  • Potential single point of failure
  • Query abuse
  • Obviates inherent REST capabilities

BENEFITS

CONSIDERATIONS

Dissecting an Application

3

Application Architecture

BUSINESS LOGIC

GRAPHQL SERVER

CLOUD PROVIDER

CODE WALKTHROUGH

Next Steps

4

More to Learn

  • Mutations & subscriptions
  • Query optimization
  • Query complexity
  • Additional type system features
  • Middleware
  • Testing

Additional Resources

THANKS!

Any questions?

You can find me at

@raygesualdo & raygesualdo.com

GraphQL in a Serverless World - Google Slides