Low Level Design: Bookmark Service
Bookmark Service: Core Schema The bookmark service persists saved URLs with rich metadata and organizational structure. Bookmark Table id BIGSERIAL […]
Bookmark Service: Core Schema The bookmark service persists saved URLs with rich metadata and organizational structure. Bookmark Table id BIGSERIAL […]
Reading List Service: Core Schema The reading list service saves articles for later reading with content extraction and offline availability.
Content Archival Service: Storage Tiers The archival service manages long-term content retention across four S3 storage tiers with different cost
Data Model Dashboard Table Dashboard ( id, name, owner_id, layout JSONB, — grid positions created_at ) Widget Table Widget (
Entity Types Nearby search must handle two fundamentally different entity classes: Static entities — restaurants, venues, stores; position rarely changes
Tile Coordinate System Map tiles use a Z/X/Y (zoom / column / row) scheme: Zoom 0 = 1 tile covering
Data Model EmailTemplate ( id SERIAL PRIMARY KEY, name VARCHAR NOT NULL, locale VARCHAR NOT NULL DEFAULT ‘en’, subject_template TEXT
Template Syntax Core syntax: {{variable}} for variable substitution, {{#if condition}}…{{/if}} for conditionals, {{#each items}}…{{/each}} for loops, {{> partial_name}} for partials,
What Is a Request Routing Service? A request routing service directs incoming HTTP requests to the appropriate upstream based on
What Is an Access Log Service? An access log service captures structured HTTP request/response details from every service in the
Shipment Tracking Service: Low Level Design Core Data Model The tracking service maintains two primary tables: Shipment (one record per
Returns Processing System: Low Level Design Core Data Model Two primary tables capture return requests and the individual items within
Presence States online — active heartbeat within the last 30 seconds away — active within the last 5 minutes but
Ephemeral State Design Typing state is intentionally ephemeral — stored only in Redis, never persisted to the database. There is
Graph-Based Recommendation Engine Model the recommendation problem as a graph: users and items are nodes, interactions are weighted edges. Graph