r/Devvit • u/pl00h Admin • 15d ago
Feedback Request Help Us Improve Devvit Storage Offerings
Hi folks!
We’re exploring how developers use storage in their Devvit apps and where the current experience could be improved. We’d like to understand what you’re building, how you manage data today, and what—if anything—is difficult or preventing you from building what you want.
Please share your experience in this short survey by November 30th. Your feedback will help us better understand developer needs and inform future improvements to platform storage capabilities.
Take the survey here: https://forms.gle/L2xQc1aXtXSDZq3y9
4
u/technowise 15d ago edited 14d ago
I sent request for blob storage for Spottit game app, still awaiting response to mod mail.
Presently, the app archives data to comment section since the storage space in redis is limited.
Will fill in the survey, but would like to know why the requests are not approved.
Also, most requests in discord are not responded/ignored by admins. Not sure why devvit team has become so unresponsive. Is it just for me, or is it same for everyone?
Thanks!
4
u/NoBullGames Game Developer 15d ago
My response has been recorded. Thanks for asking and considering our feedback!
Cheers
4
u/shiruken Duck Helper 15d ago
Have you considered The Blockchain™?
2
u/Alternative_Sound234 App Developer 15d ago
Thank you for helping us make this for others here on Reddit u/pl00h :)
11
u/__yoshikage_kira 15d ago
Let us download snapshots and restore database easily.
4
u/MrTommyPickles 14d ago edited 14d ago
My biggest ask with storage is (at least) a small amount of global storage to enable cross subreddit communication. I would love to give people who make in app purchases credit for the purchase no matter which sub the app is installed in.
Second to that would be tools to monitor our usage across different subreddits. That way we can more easily identify bugs that are wasting redis storage. For example if we see a sub with an outlier amount of redis usage then we can reach out and find out what makes them special and account for that.
Besides that, I love how fast redis is and now that we're not restricted to 500mb I feel more comfortable using it liberally for caching and performance improvements.
3
u/stormwulfren 15d ago
Probably out of scope, but our usecase involves Cross-Subreddit shared storage.
We're trialling a post flairs based publish/subscribe system for sharing art challenges between our network communities.
Basically, a subreddit can elect a flair as a broadcast flair, which other network subreddits can subscribe to. When a post is created with a broadcast flair, that post is cross-posted to all the subscribing subs. We also have a feature where posts created with a broadcast flair from another sub, the post is cross-posted back to the origin sub. We think this kind of thing will be fantastic for subreddit discovery and collaboration.
Anyway. Right now it's powered by a rudimentary inbox system using firebase. Each subreddit needs to do regular polls to check for new posts, which obviously won't scale. I may be able to elect our primary subreddit to handle all the polling and posting, but certain things like flair management is bound by isolation. So we're kinda stuck to a limit of about 100 subreddit deployments before access costs become a factor.
At that point I'd probably want to switch to external endpoints and maybe use direct inter-subreddit communication, which could allow us to expose each sub's KVS ... But then that's a lot of avoidable inter-sub polling.
Alternative would be personal hosted service so I could just use my own resources, but that is being phased out as I understand... Bleh.
Very few good options come to mind ...
2
u/MakeTradeScale Game Developer 15d ago
please please please... give us PostgreSQL.
2
u/kylef5993 15d ago
This would be huge. Been asking mods about this for months.
2
u/hypd09 14d ago
Ty for being open to this discussion, really looking forward to it.
2
u/Helpful-Jellyfish8 14d ago
Built a daily seeded roguelike on Devvit Web (
0.15.4) +@devvit/redis, and three Redis ergonomics additions would remove a lot of boilerplate for daily-challenge games:redis.pipeline()and/or optional sorted-set member metadata: For daily leaderboards (lb:YYYY-MM-DD), we often want a tiny display payload alongside each score (e.g., wave reached or build icons like[🚀4 ❄️3]). BecauseZMemberonly carries{ member, score }andTxClientis built aroundwatch()/multi()/exec()transactions rather than a non-watching batch pipeline, you end up maintaining parallel hashes and burning extra sequential roundtrips on/init. A lightweightredis.pipeline()(or compact metadata perZMember) would simplify leaderboard reads and writes significantly.{ expiration }options onzAddandincrBy: Daily games spin up fresh date-bucketed keys (lb:YYYY-MM-DD,runs:YYYY-MM-DD,daily_post:YYYY-MM-DD) every 24h.redis.set()already supportsSetOptionswith expiration, whilezAddandincrBydon't—meaning every daily write needs a follow-upexpire()call or you risk accumulating orphaned keys over time.httphosting (and extra Privacy/T&C overhead). Having an explicit opt-in app-global Redis scope alongside the default per-installation scope would unlock global daily leaderboards and percentile badges natively.1
u/zenpathfinder 3d ago
Cross-sub accessible storage is essential for the working of the API driven bot we are bringing to Devvit. Sales subs that use it pool the buy and sell flair users receive for transactions they make in any of the subs that have the bot.
1
u/inFame 14d ago
I recently redid one of my games from scratch and wanted to nuke the redis before pushing the release. Now I'm stuck with keys that don't expire or expire slowly that I don't use and I cannot seem to remove