System Design · Uber · Medium
Design a view-counting and analytics service for an online retailer’s product detail pages. Whenever a visitor opens an item page through a mobile app or web browser, the service must record the view. The page itself may display view metrics such as a live total count, recent viewing activity, and merchant-facing analytics. Your solution should cover these areas: Capturing view events from both client and server. The event schema and API contract used to publish view events.…
Checking your access…