Closed rivernews closed 4 years ago
While we can do more compact data storing, they are quite complicate to maintain. We'll rather keep it simple. But we still need to make trade off on this. Storing an entire object again - indeed is not reasonable.
Some decisions made
<review id>.<timestamp>.json
and <helpfulCount>.<review id>.<timestamp>.json
.Merged by #27. Store helpfulCount into seperate place from other "stable" fields. AKA, storing varying and stable data separately. so we have better storage efficiency.
When working on healthcrowd work, we got unresolvable collision.
After inspection, it is because
helpCount
can change over time. Because of this, reviews could change overtime.