v9.1.1
Menu

Real-Time Language Translation Service

mediumPROSystem ArchitectureML System DesignML System Design 2

Design a neural machine translation system that translates between 100+ languages with sub-second latency.

Scenario: A communication platform wants to offer real-time translation for text messages, voice calls, and document uploads. The system must support 100+ language pairs, handle 50,000 translation requests per second at peak, and achieve near-human quality for major language pairs.

Your Task: Design the ML pipeline from input text to translated output at scale.

Your design should address:

  1. Model architecture for multilingual translation (single model vs per-pair)
  2. Handling low-resource languages with limited training data
  3. Serving architecture for sub-second latency at high throughput
  4. Quality evaluation and continuous improvement
  5. Supporting different modalities (text, speech-to-text, document)

Think about: Language detection, transliteration for non-Latin scripts, handling domain-specific terminology, and graceful degradation for unsupported language pairs.

Learn this in

More from ML System Design 2

Design mode

Your design approach

Describe your system design approach. Consider components, data flow, and key decisions.

Design questions(Select all that apply)

Q1How should the system handle low-resource language pairs with limited parallel data?

Q2What architecture achieves sub-second latency for real-time translation?

Q3How should the system preserve meaning in domain-specific translations (legal, medical)?

Q4What quality assurance mechanisms should the system include?

0 of 4 questions answered