Keeping Web Performance High and Mitigating DDoS Attacks at Scale for Gamer Communications App Discord

Author:
Publish date:

As Discord, a voice and text communications app for PC gamers, prepared for rapid growth, it needed a way to quickly and affordably scale its hardware infrastructure while maintaining performance and security. Performance-wise, Discord needed to transition from serving content from a single homed server to a high-performing global content delivery network.

Security-wise, it needed to protect its websockets-based traffic from rampant DDoS attacks. CTO Stanislav Vishnevskiy explains, “Since we’re a gamer-focused product, we attract a lot of users who love to DDoS each other during matches. As we grew more popular, the intensity and occurrences of these attacks increased to the point where our engineers were constantly dealing with them.”

In August 2015, Discord came to Cloudflare just as they hit 25,000 concurrent users. Within a year, Discord had scaled the business to 1 million concurrent users by leveraging Cloudflare’s CDN, which works by caching content within its network of more than 100 data centers, and then serving it directly to users from the nearest one. Over 1 Pb of traffic per month is served directly from Cloudflare’s edge-side cache to Discord’s users.

In addition, Cloudflare is always protecting and serving Discord’s traffic. Jake Heinz, a Discord software engineer, explains, “Cloudflare sits in front of our websockets servers to absorb Layer 7 attacks and various Layer 3 and 4 reflection attacks. We have one million concurrent users connected to us through Cloudflare, and Cloudflare quickly and securely serves our traffic even with spikes of websocket events up to one million/second.”

With Cloudflare, Discord saves hundreds of thousands of dollars in hardware and bandwidth costs, while providing users higher performance and a more secure application.

Related

SMPTE_The-Next-Century-Logo-MA

SMPTE's Latest IMF Plugfest Makes Significant Progress Toward Interoperability

SMPTE®, the organization whose standards work has supported a century of advances in entertainment technology and whose membership spans the globe, today announced that the Interoperable Master Format (IMF) plugfest, held Oct. 18-19 in Hollywood, California, marked another milestone in the development of the IMF family of international standards (SMPTE ST 2067), with more than 48 participants making progress toward interoperability.

More than 55 of the 2018 Fall Television and Streaming Series Rely on Blackmagic Design

More than 55 of the 2018 Fall Television and Streaming Series Rely on Blackmagic Design

Blackmagic Design today announced that the company’s production and post products were used to complete many of the fall 2018 season’s new and returning television shows and streaming series. More than 55 shows rely on Blackmagic Design’s digital film cameras; Fusion visual effects (VFX), compositing, 3D and motion graphics software; and DaVinci Resolve editing, color correction, VFX and digital audio software; as well as its switchers, routers, monitors and capture and playback devices.

Luxul_AMS-1208P

Jingle All the Way: Luxul's XMS-1208P Managed Gigabit Switch is Available for All CI Integrators this Holiday Season

Luxul, the leading innovator of IP networking solutions for AV integrators, today announced that it's giving CI integrators the gift of enterprise-level performance at affordable price points this holiday season. It doesn't matter if they've been naughty or nice, the company's XMS-1208P 12-port/18 PoE+ managed Gigabit switch — that delivers high-speed performance while enabling simple network expansion — is now available for all. And to ring in the new year, Luxul will begin shipping its AMS-1816P 18-port/16 PoE+ L2/L3 managed Gigabit switch in early January.

HoverCam_VV1

HoverCam Transforms Classrooms Fit for Future-Ready Students at Val Verde USD

HoverCam, an innovative technology leader in the digital education market, announced that Val Verde Unified School District (USD) in Parris, California, successfully installed HoverCam's Pilot digital teaching stations and CenterStage interactive flat panels (IFPs) in new STEM labs in the elementary schools, with plans for an eventual rollout to the district's middle and high schools. As part of the district's goal to create future-ready students, Val Verde USD chose HoverCam digital education solutions to address the rising challenge of updating classrooms and introducing curriculum with advanced systems that will prepare students for a rapidly changing career landscape.