Loading...
GET /v1/ads/{:ad_id}/aggregated_count
GET /v1/ads/topk
Raw data vs aggrgation data
We will keep both of them. Raw data is for backup and recalculation. Aggregation data can be the direct data source to query.
How to prevent hotsharding probelm
How can we ensure that we don't lose any click data?
NoSQL can be easily horizontally scaled up with consistent hashing. By mapping virtual nodes on consistent hashing ring to physical nodes.
How to monitoring system