Khan Academy Blog
blog.khanacademy.org · Company blog · on HN since 2020
The Khan Academy engineering and company blog covers its Go services, GraphQL, JavaScript delivery and AI tutoring work.
What HN saysHN commenters praise its writeups, such as the migration to Go services as a good case for microservices, and its Go context typing approach.
21HN people shared it
12linked it in comments
18stories submitted
528story points
1 year agolast shared
2020people per year2026
Most-shared posts
- 1Half a million lines of Go4 people · 364 points · first shared 2021 · 508 comments on HN
- 2Go and Services = One Goliath Project3 people · 2 points · first shared 2020 · discussion on HN
- 3Where Go and GraphQL collide: Behind the curtain with genqlient2 people · 5 points · first shared 2021 · discussion on HN
- 4Statically Typed Context in Go2 people · 3 points · first shared 2022 · discussion on HN
- 5Harnessing ai so that all students benefit a nonprofit approach for equal access2 people · first shared 2023
- 6Making AI better at math tutoring1 people · 135 points · first shared 2024 · 147 comments on HN
- 7Incremental Rewrites with GraphQL1 people · 5 points · first shared 2020 · discussion on HN
- 8Overcoming a false sense of security when using Flow types1 people · 3 points · first shared 2021 · discussion on HN
- 9Genqlient: A truly type-safe Go GraphQL client1 people · 3 points · first shared 2021 · discussion on HN
- 10Technical choices behind a successful rewrite project1 people · 2 points · first shared 2021 · discussion on HN
- 11Khan Academy Successfully Handled 2.5x Traffic in a Week1 people · 1 points · first shared 2021 · discussion on HN
- 12We switched to Airflow for pipeline orchestration1 people · 1 points · first shared 2021 · discussion on HN
- 13We count on you: Balancing privacy and analytics1 people · 1 points · first shared 2022 · discussion on HN
- 14Free AI Prompt Guides for Getting into College1 people · 1 points · first shared 2023 · discussion on HN
- 15Behind the Scenes of the 60 Minutes Story about Khan Academy1 people · 1 points · first shared 2025 · 1 comments on HN
What HN people wrote when they linked it
beeandapenguin · 2021-10-14
Khan Academy did a great writeup on their experience (including thoughts about HTTP/2) with various strategies for serving JS, such as:
- Single bundle
- No bundles (all separate files)
- Hybrid
https://blog.khanacademy.org/forgo-js-packaging-not-so-fast/
jimbokun · 2025-05-08
I thought the linked article about how Khan Academy eventually migrated to multiple services was a good example of when introducing micro services is a good idea:
https://blog.khanacademy.org/go-services-one-goliath-project/
They had already scaled the mono service about as far as it could go and had a good sense of what the service boundaries should be based on experience.
gabiginorio · 2024-07-09
RCT on Khanmigo is in progress here: https://www.socialscienceregistry.org/trials/13519/history/220432
The same researchers of the Khanmigo trial published the results of a different trial in May 2024: https://blog.khanacademy.org/university-of-toronto-randomized-controll…
maroonblazer · 2024-06-27
Plenty of studies showing Khan Academy is effective.
https://blog.khanacademy.org/multiple-studies-show-khan-academy-drives…
raviatluri · 2023-06-19
https://blog.khanacademy.org/statically-typed-context-in-go/
i found this to be a good approach for injecting dependencies, especially when the methods implement an interface
actualwitch · 2023-05-14
OpenAI did give free access to gpt-4 to Khan Academy [0] and i think some other non-profits.
[0] https://blog.khanacademy.org/harnessing-ai-so-that-all-students-benefi…
verdverm · 2023-05-14
Sal Khan offers a more optimistic use of AI for education
https://blog.khanacademy.org/sal-khans-2023-ted-talk-ai-in-the-classro…
IanCal · 2023-03-17
You can also tell it to restrict how it answers so it asks you questions rather than giving you the result.
https://blog.khanacademy.org/harnessing-ai-so-that-all-students-benefi…
shawnjan8 · 2023-03-14
Just to be clear: it's not for every student (at least not yet!). We are in a research phase sharing it with a limited subset of users. More details about our approach to the responsible development of AI: https://blog.khanacademy.org/aiguidelines/
dangoor · 2022-06-21
It depends on what you categorize as “serverless”. I wrote about how Khan Academy is built on essentially serverless architecture and has millions of monthly users:
https://blog.khanacademy.org/the-original-serverless-architecture-is-s…
westurner · 2023-12-09
Communication skills, Leadership skills, Research skills and newer tools for formal methods and theorem proving.
The example prompts in the "Teaching with AI" OpenAI blog post are paragraphs of solution specification; far longer than the search queries that an average bear would take the time to specify.
https://openai.com/blog/teaching-with-ai
https://blog.khanacademy.org/khan-academys-7-step-approach-to-prompt-e…
Is there yet an approachable "Intro to Arithmetic and beyond with Lean"? What additional resources for learning Lean and Mathlib were discovered or generated but haven't been added to the docs?
https://news.ycombinator.com/context?id=38522544 : AlphaZero self-play, LLMs and Lean,
"Q: LLM and/or an RL agent trained on mathlib and tests" https://github.com/leanprover-community/mathlib/issues/17919#issuecomm… -> Proof Assistance SE: https://proofassistants.stackexchange.com/
Perhaps to understand LLMs and application, e.g. the Cuttlefish algorithm fills in an erased part of an image; like autocomplete; so, can autocomplete and guess and check (and mutate and crossover; EA methods and selection, too) test [math] symbolic expression trees against existing labeled observations that satisfy inclusion criteria, all day and night in search of a unified model with greater fitness?
Zababa · 2021-08-30
That wasn't my intended meaning, I don't think static typing is a "fad". I think the "new" typed languages (Go, Rust, Typescript) are more ergonomic than 90s-00s Java, C++, C#, as you said. This is also forcing them to improve, with features like type inference, sealed classes, records. I also think that the combination of gradual typing and type inference is playing a big role in the adoption.
However, I called static typing a "trend", and I'll try to explain why. I think attempts to type Python, JS, Ruby and the popularity of Go and Rust are the natural consequences of people departing from the Java/C++ ecosystem 10-20 years earlier (for good reasons). Now they are rediscovering the good parts of this ecosystem (ease of deployment with binaries/fat jars, static typing, performance). Since Twitter, Github, Youtube, Shopify, Instagram, etc have all that code around, they are going to either improve it, or try to migrate from it. For example, Shopify is working on a compiler to native for Ruby based on LLVM https://sorbet.org/blog/2021/07/30/open-sourcing-sorbet-compiler. Instagram is working on a performance-oriented CPython fork https://github.com/facebookincubator/cinder. Twitter, from what I understand, went back to Java, going through Scala first (which is another example of "better type system"). KhanAcademy is migrating services from a Django monolith to Go services https://blog.khanacademy.org/half-a-million-lines-of-go/. Whatsapp even had a project to do a…