Catalogue / khanacademy-2021-goliath-rewrite

Khan Academy ported its Python 2 monolith to Go services piece by piece, with about 80 engineers, until the new backend took 95% of traffic

Khan Academy, 2021. Site backend (project Goliath).

Organisation
Khan Academy
Evidence
Reported from production
Source
Beating the odds: Khan Academy's successful monolith→services rewrite

Khan Academy blog, published 2021-12-09 (The page prints two unlabelled dates, June 10, 2025 and December 9, 2021; the earlier is used.)

Records

Decision#d1

Rewrite a Python 2 monolith as Go services, as a direct port done incrementally under live traffic

Decision#d2

Check each ported request path by running old and new backends side by side behind a gateway

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.