Hello All,
It would make sense to allow OpenSocial applications to have own set of global counters.
Using Global App Data store does not work due to concurrency, so here is the proposed set of methods:
newIncrementGlobalAppCounter(id, value) // value can be negative/positive
newUpdateGlobalAppCounter(id, value) // creates counter or forces specific value for counter.
newFetchGlobalAppCounters(ids)
newRemoveGlobalAppCounters(ids) // Removes counter (optional)
Regards,
Oleg Pylnev
Myspace.com
The apps with own backend will not need it.
But for developers who wants to host most/all of app data on container, it makes sense. I do not believe that Amazon S3 provides custom counters either due to ‘eventual consistency’ of data updates.
As for use cases, I can see ‘bitten by zombies this week’ counter or ‘total songs played today’ counter.
-Oleg