Skip to content

Design a event logging system #40

@sudhanshu-shishodia

Description

@sudhanshu-shishodia

Design an event logging system for a mobile app.
The system should capture user interaction, performance, network, crash, and business events from iOS and Android clients and send them reliably to the backend for analytics and monitoring.

Some examples for the events are -

  1. UI interaction events (tap, scroll, swipe, navigation)
  2. Screen / page load events (TTI, render time, blank screen)
  3. Feature events (End-to-end signup, purchase, search). Could have multiple child events.
  4. Network events (HTTP latency, failures, retries, timeouts)
  5. App lifecycle events (foreground/background/terminate)
    The design should account for mobile-specific constraints such as limited resources, intermittent connectivity, background execution limits, and user privacy.

Walk through your design and explain your choices, trade-offs, and how you would handle failures and scale.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions