HardDesign: URL Shortener (TinyURL)

Which data store is most appropriate for storing the core short_code → long_url mapping at scale?

Tests your understanding of this concept.

Answer Options

AMySQL with full-text index
BDynamoDB with short_code as partition key
CElasticsearch
DMongoDB with compound index

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: URL Shortener (TinyURL) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: URL Shortener (TinyURL) topic (System Design Cases).

More Design: URL Shortener (TinyURL) Questions