Zynga Sergey Skachkov and Ajinkya Apte

Zynga Geo Proxy: Reducing Mobile Game Latency

Article Summary

Sergey Skachkov and Ajinkya Apte from Zynga cut mobile game latency in half for global players. Their geo proxy solution turned frustrated users into retained ones.

Zynga's engineering team tackled a critical problem: players outside North America experienced painfully high latency connecting to Oregon-based servers. They built a custom geo proxy solution using AWS global infrastructure, deploying lightweight proxy servers across five continents to intercept and route traffic more efficiently.

Key Takeaways

Critical Insight

Zynga's geo proxy solution delivered measurable business impact with 30 basis point retention gains and 1% session increases while dramatically reducing latency complaints.

Continue reading

What This Article Covers

Problem

Zynga's Oregon servers were causing serious latency issues for users around the world. HTTP handshakes alone took over 400ms, and HTTPS calls were even slower, which broke Apple's App Transport Security requirements.

Solution

Skachkov and Apte set up lightweight proxy servers in five AWS regions: Virginia, Frankfurt, São Paulo, Sydney, and Singapore. These proxies maintained persistent connections back to the Oregon servers, so they didn't have to establish new connections repeatedly.

Impact

Users outside North America saw real improvements in latency. Complaints about social features dropped noticeably, and sessions per user went up by 1% for people using the geo proxy compared to those who weren't.

The team rejected both Cloudfront and Cloudflare before building their hybrid solution, and their reasoning reveals important considerations for any mobile game architecture.

This page summarizes “Zynga Geo Proxy: Reducing Mobile Game Latency” by Zynga, published Jul 5, 2017. All credit for the original work goes to the authors.

Read the original on zynga.com (opens in new tab)

AI tools for iOS

Browse all AI tools →