Skip to content
All posts

System Design

Lessons from Building Enterprise Reporting Workflows

Hard-earned lessons from years of building report generation, scheduling, and distribution systems.

January 22, 2025 8 min readBy Arulprakash Subramanian
#Reporting#Workflows#Enterprise

Reports are workflows, not queries

The query is the easy part. The hard parts are scheduling, retries, distribution, retention, access control, audit, and what happens when the source data changes after the report ships.

Generation belongs off the request thread

Synchronous report endpoints look fine in development and fall over in production. Move generation into a worker behind a job id, even when it feels heavyweight.

Metadata is the product

A report nobody can find is a report that doesn't exist. Invest in tags, ownership, schedule visibility, and search. The reporting platform that wins is the one users can navigate.

Retention is a policy decision

Decide up front how long generated artifacts live, who can delete them, and what the audit trail looks like. Retention rules are far harder to add later.