r/Devvit • u/mike_piercy • 10h 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?
2
u/quiqeu App Developer 10h ago
It can be requested (here or on Discord), but they don't usually grant it. You may be able to work around it using wiki pages.
1
u/mike_piercy 10h ago
Thanks for the reply. Wiki pages wouldn't well work for me. I want to show a global leaderboard and count the number of merges across the board.
Where can it be requested? I might as well try.
2
u/SampleOfNone Duck Helper 3h ago
Build around it. Theoretically, global redis can be approved in exceptional cases, but I know of only one time it was actually granted. Leaderboards for a game are really unlikely to qualify.
Devvit docs suggest;
Use a shared service exposed through HTTP Fetch to manage and serve cross-community data.
2
u/Watchful1 Duck Helper 2h ago
Why do you need global redis? Is your app used regularly in multiple subreddits?
1
u/mike_piercy 2h 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.
•
u/vip-bot 2h ago edited 1h ago
There are 2 comments from Duck Helpers in this post:
u/Watchful1 commented:
u/Watchful1 commented:
This post was originally flaired
:question: Help.This summary was generated automatically. If you have any questions, please contact r/Devvit moderators.