Reporting and analytics on ClickHouse
- Rails
- Go
- React.js
- ClickHouse
- Kafka
- Redis
- Sidekiq
- Reporting APIs and charts. Rails APIs and React.js visualisations for sales, inventory and operations across multi-country customers.
- ClickHouse as the warehouse. Moved heavy aggregation off the transactional PostgreSQL database.
- PostgreSQL to ClickHouse migration. Contributed to a Go-based data pipeline that migrated orders, order items, inventory and status histories, with integrity checks and re-migration of discrepancies.
- Kafka event handlers. Wrote Go handlers for orders, payments, inventory, promotions, tax and master data, streaming into ClickHouse for near-real-time reporting, and fixed late and out-of-order event bugs.
- Redis cache. Frequently read master data is cached, reducing repeated database lookups across reporting endpoints.
- Business summary emails. Scheduled Sidekiq jobs compile key metrics and email them to business owners and stakeholders.