Tyk – A GraphQL API Gateway at the speed of light
Blog post from Tyk
Tyk's Universal Data Graph (UDG) is designed to enhance the performance and functionality of GraphQL API gateways by integrating multiple GraphQL and REST APIs into a single data graph, achieving sub-millisecond execution speed. Unlike traditional GraphQL servers, which handle complex tasks like lexing, parsing, and validating queries, Tyk's approach involves breaking down query execution into three phases: hashing requests, preparing execution plans, and executing query plans. This method optimizes the process for both speed and human comprehension, making code easy to maintain and test while ensuring high performance. Tyk's UDG supports advanced features like Apollo Federation and GraphQL Schema Stitching alongside REST APIs, and initial tests indicate it is significantly faster than existing solutions, offering a unique blend of rapid execution and robust security measures.