← All categories
Systems & Performance · 7 min read

A blocked email is not a failed send

A mail guard that throws an exception when it blocks a message teaches the retry queue to keep attempting a send that will never be allowed to leave the process — the harder design keeps a policy block and a transport failure looking nothing alike, then proves a worker killed after the send is recorded but before acknowledgment leaves one copy, not two.

Read post →
Systems & Performance · 6 min read

A faster demo is not a different simulation

A factory-telemetry simulator that replays four hours in 15,000-millisecond steps and again in 150,000-millisecond steps must produce a byte-identical event list, or every calibrated OEE band is only true at the speed you happened to demo it — a discrete-event scheduler makes the tick size irrelevant by design, and a test proves it rather than assuming it.

Read post →
Systems & Performance · 9 min read

A UTC container is not a UTC-configured database connection

PostgreSQL stores every timestamp with a time zone as UTC internally, but reads and writes naive timestamp text through the session's timezone setting, and Laravel sends naive text by default. In a non-UTC session, a training-academy system read instants back seven hours early with zero errors, invisible only because dev and CI containers already ran UTC.

Read post →