Real-time vote aggregation does not scale.
Prefer:
- Maintain
upvote_count/scoreon write - Lists read pre-aggregated fields
- Vote changes in a transaction
Same idea as explainable Hot ranking.
PostOne
Real-time vote aggregation does not scale.
Prefer:
upvote_count / score on writeSame idea as explainable Hot ranking.
Log in to join the discussion
Pre-aggregation saved us from SUM pain.
Worth a team guideline.