Student pricing is available for eligible university email holders. View plans

NextSprints
NextSprints Icon NextSprints Logo
Product Design

Master the art of designing products

Product Improvement

Identify scope for excellence

Product Success Metrics

Learn how to define success of product

Product Root Cause Analysis

Ace root cause problem solving

Product Trade-Off

Navigate trade-offs decisions like a pro

All Questions

Explore all questions

Meta (Facebook) PM Interview Course

Practice Meta-focused PM cases

Amazon PM Interview Course

Practice Amazon-focused PM cases

Apple PM Interview Course

Practice Apple-focused PM cases

Google PM Interview Course

Practice Google-focused PM cases

Microsoft PM Interview Course

Practice Microsoft-focused PM cases

All Courses

Explore all courses

1:1 PM Coaching

Practice in a one-to-one session

Resume Review

Narrate impactful stories via resume

Guides Pricing
nextsprints logo

Not a member?

By proceeding, you agree to our Terms of Use and confirm you have read our Privacy and Cookie Statement.

nextsprints logo

Register to continue.

Login with Google Login with LinkedIn

By proceeding, you agree to our Terms of Use and confirm you have read our Privacy and Cookie Statement .

Company focus

Hasura
Product Improvement Hard Member-only

How might Hasura enhance its real-time subscriptions to optimize performance for high-volume data changes?

Prepared by NextSprints

15 mins
Report an error
System Architecture Performance Optimization Data Management Database Technology Cloud Computing Enterprise Software Performance Optimization Database Management API Design Real-Time Data GraphQL
Product Management Improvement Question: Enhancing Hasura's real-time subscription performance for high-volume data changes

Introduction

To enhance Hasura's real-time subscriptions for optimizing performance with high-volume data changes, we need to dive deep into the current system architecture, user needs, and potential bottlenecks. I'll outline a strategic approach to improve this critical feature, focusing on scalability, efficiency, and user experience.

Step 1

Clarifying Questions (5 mins)

  • Looking at Hasura's position in the GraphQL ecosystem, I'm thinking about the scale of data changes we're dealing with. Could you provide more context on what "high-volume" means in this scenario? Are we talking about millions of updates per second, or is it more in the thousands range?

Why it matters: This helps determine the scale of optimization needed and potential architectural changes. Expected answer: Hundreds of thousands to millions of updates per second. Impact on approach: Would focus on distributed systems and advanced caching strategies if dealing with millions, vs. optimizing current architecture for thousands.

  • Considering the real-time nature of subscriptions, I'm curious about the current latency expectations. What's the current average latency for subscription updates, and what's the target we're aiming for?

Why it matters: Defines the performance benchmark and improvement goals. Expected answer: Current average is 500ms, aiming for sub-100ms. Impact on approach: Would prioritize network optimization and edge computing if the goal is ultra-low latency.

  • Given that Hasura is often used in complex data environments, I'm wondering about the typical complexity of subscription queries. Are we dealing mostly with simple field updates, or are there often complex nested queries involved?

Why it matters: Influences the approach to query optimization and data fetching strategies. Expected answer: Mix of simple and complex queries, with a trend towards more complex, nested queries. Impact on approach: Would focus on query optimization techniques and potentially introducing a query complexity scoring system.

  • Thinking about Hasura's diverse user base, I'm interested in understanding the primary use cases driving this need for optimization. Are we seeing this demand mostly from large enterprise clients, or is it a broader need across different user segments?

Why it matters: Helps tailor the solution to the most critical user segment and use cases. Expected answer: Primarily driven by enterprise clients in sectors like finance and IoT. Impact on approach: Would prioritize enterprise-grade features like advanced monitoring and custom scaling options.

Subscribe to access the full answer

Image of author NextSprints

NextSprints

Updated Mar 29, 2025