# How Khan Academy Successfully Handled 2.5x Traffic in a Week

DevFeed: [How Khan Academy Successfully Handled 2.5x Traffic in a Week](<https://devfeed.tech/articles/how-khan-academy-successfully-handled-2-5x-traffic-in-a-week-27379.md>)

Original publisher: [Read original article](<http://engineering.khanacademy.org/posts/handling-2x-traffic-in-a-week.htm>)

Author: Khan Academy

Published: 2020-05-09T22:00:00Z

Content type: article

Language: en

Sources: [Khan Academy](<https://devfeed.tech/sources/khan-academy.md>)

Topics: [Cloud Architecture](<https://devfeed.tech/topics/cloud-architecture.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Page Speed Optimization](<https://devfeed.tech/topics/page-speed-optimization.md>)

Tags: [appengine](<https://devfeed.tech/tags/appengine.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [components](<https://devfeed.tech/tags/components.md>), [content](<https://devfeed.tech/tags/content.md>), [continuous-deployment](<https://devfeed.tech/tags/continuous-deployment.md>), [coronavirus](<https://devfeed.tech/tags/coronavirus.md>), [costs](<https://devfeed.tech/tags/costs.md>), [data](<https://devfeed.tech/tags/data.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [news](<https://devfeed.tech/tags/news.md>), [rapid](<https://devfeed.tech/tags/rapid.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [traffic](<https://devfeed.tech/tags/traffic.md>)

## AI overview

Khan Academy handled a sustained 2.5x rise in site usage within two weeks without disrupting users, relying on advance preparation and a serverless, caching-focused architecture. Google Cloud App Engine scaled web instances automatically, while Datastore automatically expanded storage and access capacity. Fastly CDN cached static data and routed client requests to reduce server traffic; videos came primarily from YouTube and secondarily from Fastly. The team also cached common queries, preferences, and session data with Memcache. Monitoring revealed slowdowns tied to deployments; Google increased Memcache capacity, and within a week Khan Academy resumed its usual continuous deployment pattern. The approach supported rapid scaling and performance, though higher usage also raised hosting costs.

## Source excerpt

By Marta Kosarchyn Talk about rapid scaling... A few months ago I posted some thoughts on scaling and ... Read more