Q29: What is Query Batching vs Query Deduplication on client side?
- Query Batching: Combines multiple independent GraphQL requests triggered around the same time into a single HTTP POST request array.
- Query Deduplication: Automatically detects duplicate identical queries sent concurrently and executes only a single network request, sharing the promise response.
Key Takeaways
- Batching reduces network overhead; Deduplication eliminates redundant concurrent operations.
Knowledge Check
What does client query deduplication accomplish?