Learn to fine-tune a default Router configuration for optimal performance in this hands-on workshop. Explore Router architecture, instrumentation for scaling, and benchmarking essentials. Discover features like timeout settings, query deduplication, and caching techniques to achieve significant performance gains.
What you'll learn
- An overview of the Router architecture, focusing on a performance point of view
- An overview of Router instrumentation for scaling (spans, samplings)
- What to test for in a benchmark
- Router features that can yield performance gains (timeout, query deduplication, query planner caching, entity caching)
Who this workshop is for
- Platform engineers and users of GraphOS Router.
Workshop resources
⚠️ 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:
You will also need:
Clone the repo locally
Clone the repo.
git clone https://github.com/apollographql/graphql-summit-2024-performance-workshopRun
docker compose up -d
in a terminal.Navigate to http://localhost:8080 to see the VSCode IDE in the browser.
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 withdocker logout ghcr.io
.
You're all good, see you at the workshop!
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.