Gyazo optimizes uploads to their screenshot sharing platforms with Cloudflare Load Balancing.
Gyazo, leveraging a cloud-based infrastructure, allows users to quickly take screenshots, and then easily share them through instantly created links. With millions of active users Gyazo is the largest, fastest screenshot and screen-GIF creation tool in the world.
Gyazo's Challenge: Optimize Uploading for Global User Base
Initially, all of Gyazo’s servers were based in the United States and Gyazo used a CDN (Content Delivery Network) to distribute their content to users. Gyazo’s users are roughly split 45% in Europe, 15% in Asia, and 40% in the United States, so this strategy worked well for users in the US, but users outside of US noticed extreme upload times. “That’s because CDN’s are great at distributing content,” explained Isshu Rakusai, CEO of Nota, the maker of Gyazo, “but they aren’t good for uploading content. Some of our users, in Australia for example, were seeing upload times over 30 seconds just to upload a small screenshot.” That upload latency was due to the fact that content from the example Australia Gyazo user was being routed through South Asia, across the Pacific Ocean, to one of Gyazo’s servers somewhere in the US and then back across the same route.
To combat this issue Gyazo built out its own network of upload edge servers around the world, but that lead to a further issue: These edge servers would experience spikes in traffic, and then have degraded performance when they were being used most.
Gyazo’s Solution: Global Load Balancing With Failover
Gyazo saw Cloudflare’s Early Access program for Load Balancing and thought it might provide the complementary functionality needed to perfect their proprietary solution. Cloudflare’s Global Load Balancing now intelligently sends traffic from Gyazo’s users to the nearest and healthiest upload server, which ensures that users are experiencing the fastest upload speeds possible and servers are not getting overloaded.
Furthermore, by distributing traffic and maintaining server health, Load Balancing ensures Gyazo’s users don’t see the degraded performance that they were initially experiencing. Plus, with the Failover feature of Load Balancing, Gyazo’s users are rapidly rerouted when a server goes down so they don’t even notice if a server failed. “Failover was also very helpful for us,” explained Rakusai, “With our previous DNS provider, we created a quick hack to do DNS based Failover, but this was complicated to set up, and changes took hours to fully propagate.”
Global Load Balancing improves international latency users were experiencing
Failover and Healthchecks provide Gyazo’s users with a seamless experience, even in the case of a server failure
“Cloudflare allows us to focus more on our own development. Sometimes we were spending half our engineering resources on maintaining our network. Plus, when things were slow everyone in the organization, like marketing and customer support, heard about it and it slowed them down too. Now everyone can focus on our users.”
Isshu Rakusai
CEO at Nota Inc. Maker of Gyazo