2 ms·
Why not shard by check-in id and map/reduce to get the badge calculation? When sharding by user id, no solution is going to lead to a balanced cluster since som
by megaman821 16y ago
Why not shard by check-in id and map/reduce to get the badge calculation? When sharding by user id, no solution is going to lead to a balanced cluster since some users will always be more active than others. If map/reduce takes to long, batch it and return the badge calculation later.