Full threadzX41ZdbW·Someone ported it to ClickHouse: https://slach.github.io/CHSimCity/Though it looks much simpler - fewer moving parts.View on HN