Performance TracinG in Graphql

Why this talk?

EVERYTIME YOU
TALK ABOUT
IMPROVED
PERFORMANCE
AND YOU CAN'T
PROVE IT A
KITTEN DIES

Pros

  • You have one unified API
     
  • Other services are an implementation detail
     
  • You can load just what you need

Cons

GraphQL

  • You have one unified API
     
  • Other services are an implementation detail
     
  • You can load just what you need, but was this really the bottleneck before?

Let's get some certainty through data

Demo time

How can I get this?

Opentracing

Apollo

Apollo-Opentracing

Opentracing

  • Standard Interface for Performance Tracing
  • Implementations
    • Zipkin
    • Jaeger

How to get a tracer

How to Start a SPan

How to Start a SPan

How to Enhance a Span

How to Transfer a Span

Quickly integrate tracing in your Apollo Backend

Getting Started

Building Tracing-aware Resolvers

Links

Questions?

Performance Tracing with apollo-opentracing

By Daniel Schmidt

Performance Tracing with apollo-opentracing

  • 1,119