#GraphQL
Shopify's GraphQL Cardinal swaps recursive depth-first execution for a breadth-first model and gets 15x faster field execution, 90% less memory, and 4+ seconds off P50 latency. Here's why the default traversal strategy was always the wrong one at scale — and what they did about it.