Segment rolling decisions. Pure logic (no I/O) — easy to unit-test.
Roll when current segment reaches 500 events OR 512 KB.