Recently, we profoundly refactored the engine that drives Duolingo lessons. This post talks about our engineering choices, experiences, and the pain points of rewriting a highly complex system.
- Redesigned architecture
- Refactored code from Python to Scala
- Latency dropped from 750ms to 14ms
- Engine uptime increased from 99.9% to …