Is there any news on the "global counters"? Would be neat to have for generating custom diplay names. Kind regards, Matthias
While I realize this sounds trivial, but to make this work in a situation where you have millions of players (which is always a requirement in our designs), it actually requires that the data in question be stored in-memory and that it be updated as an atomic operation via request from a queue, with all player actions that can change it feeding into that queue. Next, there's a decision to be made on whether that data should be consistent or not across all requests. So, if a user updates the value, should the next request - regardless of where it's from or how soon after - see the value as updated with that? That informs whether or not you can use caching (and potentially sharding) for the value. In this case, that is a requirement, so what you actually need is a 'query and increment' atomic operation, in this case.
We do have a backlog item to provide a feature like this at a future date, but for now you may want to look into using an external data table, Redis, etc.
3 People are following this question.