Medium-HardEvaluateSystem Design Interview FrameworkMultiple Choice

A ride-sharing app needs to find all available drivers within 5 km of a rider's location in under 10ms. What is the most appropriate technology?

Evaluate Tests ability to make judgments and justify decisions.

Answer Options

APostgreSQL with PostGIS extension and a spatial index
BRedis GEORADIUS command on an in-memory geospatial set
CElasticsearch with a geo_distance query
DCassandra with a composite key of (grid_cell, driver_id)

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more System Design Interview Framework questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the System Design Interview Framework topic (System Design).

More System Design Interview Framework Questions