Hey, I’m making an event where players try to fill up a generator but it needs a lot so it’s across all servers. The issue is, how would I make it so all of them have the same progress exactly? (eg. 78%)
Players can contribute with stuff like robux or coins which I plan on using messaging service for but something like creating a new server and having it assign the global value is something I don’t know how to do. Any thoughts?
I believe ive heard about something called MemoryStore (not datastore) which could perhaps be applicable here? I myself havent tried it so i cant guarentee that you can use that but if you want you can give it a shot
MemoryStore would definitely be the right option for something like this, though developing the actual system to manage the progress universally would be a bit of an odd problem, as if 100 servers all write and read to the same variable you’re bound to run in to some issues. Definitely doable though
I wouldnt expect it to be incremented that often so that it becomes a problem but if it does i guess one could add a sort of queue system for the servers. altough the queue system may get overwhelemed with too many requests aswell
Yeah I might need to do queues since itll automatically get small upgrades every few seconds on top of contributions from players, will definitely check out MemoryStore tho
I also thought about the use of HTTP service and having an external server with the progress value that’ll be changed and copied by all Roblox servers?
Yeah I did end up using MemoryStore (in combination with DataStores as a back up tho), I was really thinking about using another database but that’s kinda extra