GQL

GraphQL Under the Hood

REST Over/Under-Fetching vs. GraphQL AST Validation, Resolvers & DataLoader Batching

Step 1 of 15
Efficiency:Ideal
Total RTT:0 RTT
Payload:0.00 KB
Overfetched:0
DB Queries:0
CLIENT DEVICE (MOBILE UI)
IDLE
Profile ViewPending...
Field WasteNo connection
Rendered Feed (0 Posts)?
Outgoing Query StreamRTT: 0
# Ready to fetch
API GATEWAY
READY
Router Mode
AST SchemaOFFLINE
Parser & Depth ValidatorMAX DEPTH: 4
Ready to validate AST query blocks
Resolver Execution Console:8000
[Gateway Console] Listening on :8000
USER SERVICE [SQL]
HEALTHY
Primary Keyuser.id = 1
Row Width6 columns (450B)
{ "id": 1, "name": "Jane Doe", "address": "123 Main St", "phone": "555-0199", "bio": "Architect" }
POST SERVICE [NoSQL]
HEALTHY
Index Keyuser_id = 1
Documents3 Posts [101..103]
[{ "id": 101, "title": "Building Scalable APIs" }, { "id": 102, "title": "GraphQL is Fun" }]
COMMENT SERVICE [REDIS]
HEALTHY
Batch LookupIN (101,102,103)
ResilienceNullable Field
{ "101": ["Excellent guide!"], "102": ["Much faster than REST"], "103": ["No N+1 please"] }