Skip to content

Instantly share code, notes, and snippets.

@coco98
Last active September 5, 2018 09:43
Show Gist options
  • Save coco98/2d3ed7cab8196d566b99f6b8f514caf7 to your computer and use it in GitHub Desktop.
Save coco98/2d3ed7cab8196d566b99f6b8f514caf7 to your computer and use it in GitHub Desktop.
Before/After serverless
Before After
App makes an API request and waits. App makes a GraphQL mutation and then runs a GraphQL subscription to get updates as they happen
Backend API makes multiple API calls, with complex retry and error handling logic Business logic in serverless functions get triggered automatically after the mutation
App receives API response App gets success/error updates as they happen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment