Download PDF
Cloudflare > Case Studies > Discord's Growth and DDoS Mitigation with Cloudflare
Cloudflare Logo

Discord's Growth and DDoS Mitigation with Cloudflare

Technology Category
  • Cybersecurity & Privacy - Network Security
  • Infrastructure as a Service (IaaS) - Cloud Computing
Applicable Industries
  • Telecommunications
Applicable Functions
  • Business Operation
Use Cases
  • Cybersecurity
  • Fleet Management
Services
  • Cloud Planning, Design & Implementation Services
  • Cybersecurity Services
The Challenge
As Discord prepared for rapid growth, they needed a way to affordably and quickly scale their existing hardware infrastructure, while maintaining performance and security. Performance wise, Discord would need to transition from serving their content from a single homed server to a high performing CDN (Content Delivery Network) partner that could serve their static assets from all around the globe. Security wise, Discord needed to protect their websockets-based traffic from the rampant DDoS attacks that they were experiencing. As CTO Stanislav Vishnevskiy explained, “Since we are a gamer focused product we attract a lot of users who love to DDoS each other during game matches. As we grew more popular the intensity and occurrences of these DDoS attacks increased to the point where our engineers were constantly dealing with them.” Vishnevskiy continued, “Before Cloudflare, we were using a large number of HAProxy boxes with DNS load balancing to be able to failover during DDoS attacks on our real-time gateways.” However, their initial hardware solution could cost Discord up to six figures annually at scale and would still require work from Discord’s engineers.
About The Customer
Discord is a voice and text communication app for online computer gamers. Discord’s goal is to become the de-facto standard communication app for PC gamers, and they’ve seen success, boasting 2.4 million concurrent users and over 25 million registrations as of July 2016. As Discord prepared for rapid growth, they needed a way to affordably and quickly scale their existing hardware infrastructure, while maintaining performance and security. They needed to transition from serving their content from a single homed server to a high performing CDN (Content Delivery Network) partner that could serve their static assets from all around the globe. They also needed to protect their websockets-based traffic from the rampant DDoS attacks that they were experiencing.
The Solution
In August 2015, Discord came to Cloudflare just as they hit 25,000 concurrent users, and Cloudflare provided immediate, lasting performance and security benefits. Discord easily scaled the business to their current 2.4 million concurrent users (a 400% growth in just one year), by leveraging Cloudflare’s Content Distribution Network (CDN). Cloudflare’s CDN works by caching content to over 100 global Points of Presence (PoP’s), and then serving it directly to users from the nearest PoP. Over 2PB of Discord’s traffic per month is served directly from Cloudflare’s edgeside cache to Discord’s users. In turn, Discord, a Google Cloud customer, both provides customers with a snappier application through the high speed interconnections between Cloudflare and Google Cloud and saves over $100,000 monthly on their Google Cloud bill. In addition, Discord gets tremendous comfort from knowing Cloudflare’s security is always on protecting and serving their traffic.
Operational Impact
  • Discord easily scaled the business to their current 2.4 million concurrent users (a 400% growth in just one year), by leveraging Cloudflare’s Content Distribution Network (CDN).
  • Over 2PB of Discord’s traffic per month is served directly from Cloudflare’s edgeside cache to Discord’s users.
  • Discord, a Google Cloud customer, both provides customers with a snappier application through the high speed interconnections between Cloudflare and Google Cloud.
Quantitative Benefit
  • Saving $100,000 on annual hardware costs
  • Saving $100,000 monthly on Google Cloud bill
  • Secure traffic even with spikes of websockets events up to 2 million/second

Related Case Studies.

Contact us

Let's talk!

* Required
* Required
* Required
* Invalid email address
By submitting this form, you agree that IoT ONE may contact you with insights and marketing messaging.
No thanks, I don't want to receive any marketing emails from IoT ONE.
Submit

Thank you for your message!
We will contact you soon.