How would I go about creating a monthly global speedrun leaderboard with MemoryStores?

Hey all,

I’m working on a game where players choose maps to speedrun for fast times. Currently planning global leaderboards for each map, and aiming for top 100 users per map, there are currently 25 maps in-game.

However, OrderedDataStores’ limits are too strict for our needs. So, I’m considering MemoryStores for their more lenient limits & using sorted maps for quick data access.

Main concern: The extra data limits on MemoryStores expire after 8 days when a player stops playing, which might disrupt leaderboards during low activity periods, like when school starts at the end of summer. The amount of leaderboard data would remain unchanged however so this will lead to my system breaking.

Also, sorted maps have a 1M entry limit, so I am worried about hitting this if MAU exceeds 1M. I’m considering sharding, but I’m concerned about overloading limits with additional requests when getting data for each shard.

What is the best way to do this? I’m open to suggestions. Thanks!

3 Likes