Performance-tuning your Tyk API Gateway
Blog post from Tyk
The blog post by Budha Bhattacharya provides a detailed guide on optimizing the performance of the Tyk API Gateway, particularly focusing on achieving high throughput and low latency using minimal resources. By deploying Tyk Gateway along with Redis, an upstream server, and a load generator on a single 2-core DigitalOcean Droplet, the author demonstrates that significant performance improvements can be achieved through the adjustment of the GOGC environment variable. The process outlined includes increasing throughput from approximately 5000 to 6400 requests per second, reducing the 95th percentile gateway latency by about 54%, and decreasing CPU consumption by 40%. The post emphasizes that while Tyk can handle high loads with minimal latency, further optimizations can be made by distributing components across different machines to evaluate true performance. The author encourages readers to experiment with these settings and share their results with the Tyk community for continuous improvement.