Whenever you're ready, walk me through how you'd approach this.
Design a system like Uber and explain the key components and data flows.
Cover the rider and driver applications, API entry points, trip lifecycle, location updates, driver matching, notifications, payments, storage, caching, asynchronous processing, consistency, availability, and operational failure handling. Explain the APIs and data flows for requesting a ride, assigning a driver, starting and completing a trip, and handling retries or disconnected clients.