Concept Note: Governance for Self-Managing Event Systems

This note outlines a potential PhD research direction focused on enabling large-scale event-driven systems to self-discover their operational structure, assess risk, and take safe, explainable actions. The work combines temporal modeling, machine learning, and governance principles, with applications in data infrastructure and AI safety. Problem Statement Modern data infrastructures (pipelines, schedulers, CDC systems) produce massive streams of events. Operators (SREs, data engineers) currently monitor, correlate, and intervene manually to handle failures or delays. The goal is to formalize this process: can a system learn from its own history to automatically surface what should happen, when, and what to do when things go wrong—without hand-maintained DAGs or crontabs? ...

August 30, 2025 · 2 min · Ted Strall

Dimensionless, Fractal Governance

A mathematical sketch of governance invariants built on dimensionless normalization and fractal (renormalization group) stability. Outlines entropy-free invariants, control laws, and universal scaling patterns for safe automation.

August 30, 2025 · 4 min · Ted Strall

Dimensionless, Fractal Governance — Entropy Formulation

An entropy-first formulation of dimensionless, fractal governance. Uses normalized entropy, transfer entropy, multiscale entropy, and entropy production as invariants to detect cascades and shape safe, self-similar automation.

August 30, 2025 · 5 min · Ted Strall

Proposal: Early Ticket Prediction via Mongo–Kafka–ClickHouse

Extend the MongoDB → Kafka → ClickHouse pipeline with ServiceNow ticket data to provide early-warning signals for incidents, helping on-call engineers see problems before tickets are created.

August 30, 2025 · 2 min · Ted Strall

ClickHouse DDL and Queries for TicketSoon Pilot Kafka ingestion tables CREATE TABLE kafka_events ( ts DateTime64(3), source String, service String, entity_id String, verb String, magnitude Float64, severity UInt8, labels Array(String), corr_id String, payload String ) ENGINE = Kafka SETTINGS kafka_broker_list = 'broker:9092', kafka_topic_list = 'events.enriched', kafka_group_name = 'ch-events-consumer', kafka_format = 'JSONEachRow'; CREATE TABLE events_merge ( ts DateTime64(3), source LowCardinality(String), service LowCardinality(String), entity_id String, verb LowCardinality(String), magnitude Float64, severity UInt8, labels Array(String), corr_id String, payload String ) ENGINE = MergeTree ORDER BY (service, ts) TTL ts + INTERVAL 30 DAY; CREATE MATERIALIZED VIEW mv_events TO events_merge AS SELECT * FROM kafka_events; Ticket ingestion tables CREATE TABLE tickets_kafka (ts DateTime64(3), ticket_id String, service String, severity UInt8, state LowCardinality(String), category LowCardinality(String), short_desc String, corr_id String) ENGINE=Kafka SETTINGS kafka_broker_list='broker:9092', kafka_topic_list='ops.tickets', kafka_group_name='ch-sn', kafka_format='JSONEachRow'; CREATE TABLE tickets (ts DateTime64(3), ticket_id String, service LowCardinality(String), severity UInt8, state LowCardinality(String), category LowCardinality(String), short_desc String, corr_id String) ENGINE=MergeTree ORDER BY (service, ts); CREATE MATERIALIZED VIEW mv_tickets TO tickets AS SELECT * FROM tickets_kafka; RCA query (90-minute window) SELECT ts, source, service, entity_id, verb, magnitude, severity, labels, corr_id FROM events_merge WHERE corr_id = {corr:String} AND ts BETWEEN {t0:DateTime} AND {t1:DateTime} ORDER BY ts; Blast radius query WITH bounds AS ( SELECT min(ts)-INTERVAL 30 MINUTE AS t0, max(ts)+INTERVAL 30 MINUTE AS t1 FROM events_merge WHERE corr_id = {corr:String} ) SELECT service, count() AS events, uniqExact(entity_id) AS entities FROM events_merge, bounds WHERE corr_id = {corr:String} AND ts BETWEEN bounds.t0 AND bounds.t1 GROUP BY service ORDER BY events DESC; Normality (seasonality) query SELECT toDayOfWeek(ts) AS dow, toHour(ts) AS hour, verb, count() AS n FROM events_merge WHERE service = {svc:String} AND ts >= now() - INTERVAL 30 DAY GROUP BY dow, hour, verb ORDER BY dow, hour, verb;

2 min · Ted Strall