Magical Go that Saves Money and Time
summary
Migrated core services from PHP to Go and rebuilt the analytics pipeline with Yandex ClickHouse, Tarantool, and NSQ; production tests on 250–300M rows and a customer with 60–70M clicks/day show realtime slices and fast joins. Bulk inserts of 3k–15k rows complete in ~400–900ms, redirect latency falls roughly an order of magnitude (examples from ~140ms down to ~23–90ms), about 30% of codebase is Go across ~14 services, and server costs drop by nearly $500k/year.
AI-written summary · about
chapters (17)
- 0:00Introduction to the talk
- 1:27Company and platform overview
- 3:36Challenges with PHP and growth
- 5:20Decision to rebuild platform
- 7:07Choosing Go for performance
- 8:13Performance improvements with Go
- 10:01Problems with MongoDB and data storage
- 10:44Introducing Yandex ClickHouse
- 13:11ClickHouse performance and optimizations
- 15:20Transition to wide tables and ZooKeeper
- 16:30ClickHouse stability and support
- 17:33Fast statistics with Tarantool
- 19:41Tarantool performance and cost efficiency
- 21:10Tarantool production benchmarks
- 22:16Current tech stack and Go adoption
- 23:23Microservices and queues with NSQ
- 24:27Results and future plans
