System Design: Engineering Feedback Loops

Most student projects are static. DevShelf is dynamic. I engineered a User Behavior Analytics system that creates a “Data Flywheel.” The Architecture The system is composed of three distinct stages: Capture (LoggingService): Every time a user clicks a book or downloads a PDF, the event is serialized into logs.json. This is a low-latency append-only operation to ensure the UI never freezes. Analyze (LogAnalyzerMain): I separated the analytics into an Offline Batch Process. This module reads the raw logs, aggregates click counts, and normalizes them into a score between 0.0 and 1.0. ...

January 15, 2024 · 1 min · Muhammad Qasim