by: Jimmy O’Neill
Overview
The article discusses the introduction of a new metric called 'own time' to measure latency overhead in Airbnb's Viaduct framework, a GraphQL-based data-oriented service mesh. It highlights the challenges of accurately assessing performance due to dependencies on downstream services and explains how 'own time' helps isolate Viaduct's performance characteristics for better optimization.
What You'll Learn
How to compute the 'own time' metric for performance analysis
Why isolating Viaduct's performance from downstream services is crucial
How to set performance goals based on the normalized own time metric
When to apply cache optimizations based on own time metrics
Prerequisites & Requirements
- Understanding of GraphQL and service-oriented architecture
- Familiarity with performance monitoring tools(optional)
Key Questions Answered
What is the 'own time' metric and how is it calculated?
How does the 'own time' metric help in optimizing Viaduct's performance?
What impact does the own time ratio have on performance optimization strategies?
What role does caching play in the performance of the Viaduct framework?
Key Statistics & Figures
Technologies & Tools
Some links below are affiliate links. We may earn a commission if you make a purchase.
Key Actionable Insights
1Implement the 'own time' metric in your performance monitoring strategy to gain clearer insights into your application's latency.By isolating the performance of your service from external dependencies, you can make more informed decisions about where to focus optimization efforts.
2Regularly analyze the own time ratio across different operations to identify potential performance bottlenecks.This proactive approach allows teams to address issues before they impact user experience, ensuring smoother application performance.
3Use the normalized own time metric to set quarterly performance improvement goals.This helps maintain focus on reducing internal overhead while adapting to changing query patterns, ensuring consistent performance improvements.