3. Better, faster, stronger: Advanced configurations to boost your router performance
5m

Better, faster, stronger: Advanced configurations to boost your router performance

Learn to fine-tune a default configuration for optimal performance in this hands-on workshop. Explore Router architecture, instrumentation for scaling, and benchmarking essentials. Discover features like timeout settings, deduplication, and caching techniques to achieve significant performance gains.

What you'll learn

  • An overview of the architecture, focusing on a performance point of view
  • An overview of instrumentation for scaling (spans, samplings)
  • What to test for in a benchmark
  • features that can yield performance gains (timeout, deduplication, caching, )

Who this workshop is for

  • Platform engineers and users of .

Workshop resources

  • Workshop slides PDF
  • Workshop project repo

⚠️ Before the workshop...

If you have any questions or run into any issues with the workshop prep below, scroll to the end of this page to leave a comment or send us an email at summit@apollographql.com. We're here to help!

You will need the following:

Pre-requisites list

You will also need:

Clone the repo locally

  1. Clone the repo.

    git clone https://github.com/apollographql/graphql-summit-2024-performance-workshop
  2. Run docker compose up -d in a terminal.

  3. Navigate to http://localhost:8080 to see the VSCode IDE in the browser.

    VS Code in the browser at 8080

Task!

Troubleshooting tips:

  • Make sure nothing is running on port 3000.
  • If you have a Redis instance running on port 6379, close it down.
  • If you are getting this error: Error response from daemon: Head "https://ghcr.io/v2/apollographql/router/manifests/v1.55.0": denied: denied, then try logging out with docker logout ghcr.io.

You're all good, see you at the workshop!

Previous

Share your questions and comments about this lesson

Your feedback helps us improve! If you're stuck or confused, let us know and we'll help you out. All comments are public and must follow the Apollo Code of Conduct. Note that comments that have been resolved or addressed may be removed.

You'll need a GitHub account to post below. Don't have one? Post in our Odyssey forum instead.