Skip to content
Kumar Chandrachooda
Series

KC Star V7 — Ultra-Scale Batch and Feature Flags

In reading order.

  • 7 parts
  • ≈ 33 min total
  • 7 published
Part 1 04 Oct 2025 5 min read

Turning Off the Triggers at Twenty Thousand Sales a Minute

The per-row triggers that ran KC Star for six versions stop scaling at high volume. V7 turns them off and moves fact generation into an explicit batch pipeline. Kicking off the ultra-scale series - batch processing, feature flags, automated monitoring.

Part 2 11 Nov 2025 4 min read

A Batch Has a Name, a Log, and a Deadline

In KC Star V7 every batch run gets a generated id, a log row, a processed count and a time budget it must finish inside. Here is the orchestrator that ties it together, the per-batch exception isolation - and a variable-shadows-column bug I shipped in the middle of it.

Part 3 18 Dec 2025 5 min read

Feature Flags Inside the Database

KC Star V7 ships a six-table feature-flag system so you can turn capabilities on and retune settings without a deploy. Here is the normalized flag model, the twenty-one seeded flags, and the honest gap between what the changelog documents and what the code ships.

Part 4 25 Jan 2026 5 min read

The Scheduler That Reads Its Own Health

KC Star V7 scores its own health from queue depth, processing time and success rate, then maps that score to a batch cadence - from 30 seconds when healthy down to emergency mode when critical - and writes the decision back into its own settings. Clever, and honestly limited.

Part 5 28 Feb 2026 5 min read

Partitioning as a Backup Strategy

KC Star V7 ships two overlapping ways to partition and age out cold data - a static backup-partitioning subsystem and a dynamic one - both monthly range partitions on CreatedDate, both gated on one flag. The honest read on why a feature ended up implemented twice.

Part 6 25 Mar 2026 5 min read

Two Fix Scripts and What They Confess

Refactoring KC Star V6's monolith into V7's subfolders broke the schema - so badly it took two passes of fix scripts to repair. Missing columns, duplicate triggers, a trigger literally named _Corrected, and a live test INSERT embedded in a migration. What the scars teach.

Part 7 10 Apr 2026 4 min read

Running the Warehouse — the V7 Runbook

A pile of subsystems isn't an operable system until you can run it. KC Star's docs distil into a runbook - daily health checks, weekly index hygiene, monthly reindex and security review, PostgreSQL tuning, backups, and one consistency check that catches a whole class of corruption.