Implementing two-phase commit for a distributed stream processing framework | Hacker News Reader