Uber | System Design | Design a Traffic Violation System
4212

Design a traffic violation system (that detects vehicle collission, exceed speed limit, jumping the red light )
Problem Statement

This system is getting images from 1000s of cameras placed in different parts of a city. Each camera is separated by 500 metres, clicks 10 frames per second and each frame is about 20 KB in size. There are services available to give vehicle details given vehicle no. There are different services available for image processing that can take in set of frames (images) and return back the violation type and vehicles number plates that are in violation. Goal is to send the control room details regarding where violation occurred and vehicles involved and ability to trace back to the images. System must be scalable and fault tolerant as more cities can be added and more cameras can be added.

  1. How will you store and manage the querying of the images - what are your technology choices?
  2. In the case of speed violations you might need to combine images from one or more cameras as you can't achieve speed violation from a single camera.
  3. How will you prevent or handle out of order messages if any
Comments (3)