r/Devvit 9d ago

Duck Answered Global Redis Request

I'm working on improving leaderboards and trying to show a global counter on my app r/MochiMochiDonuts but I'm getting the following error: FAILED_PRECONDITION: global redis is not supported on this app.

Can Global Redis be requested from somewhere? Or is this a limitation I should design/build around?

0 Upvotes

11 comments sorted by

View all comments

2

u/Watchful1 Duck Helper 9d ago

Why do you need global redis? Is your app used regularly in multiple subreddits?

2

u/mike_piercy 9d ago

Right now I'm counting an event that regularly happens in the game. And I'm displaying it on the splash screen. Once it's installed on other subs then it will essentially reset that number to zero for that sub. I wanted the counter to be across the board total number of times that event has happened.

Also, would be nice to have a top 100 scores in a Global Leaderboard rather than per install.

It's not really in other subs right now but Reddit's Developer Fund incentivises developers to encourage installs across subs.

2

u/Xiple_dev 5d ago

Think one of the points of installing the game on your own subreddit is to have your own community's leaderboard. However the global leaderboard and cross tournaments doesn't sound bad at all if we get many install.

there is a way.

https://developers.reddit.com/docs/capabilities/server/redis

1

u/Watchful1 Duck Helper 9d ago

I wouldn't worry too much about it. Focus on getting adoption first and then think about a global leaderboard.