Are event requests queued, or can they get processed simultaneously?
I have CloudCode that conditionally operates on player data. If two logEvent requests fire and operate at the same time on the same data I could have a race condition.
Yes the requests sent by the SDKs are queued and sent in order. Let us know if you have any further questions.
In our case we aren't using the SDK to send requests, we are using the REST API. To be more specific, the send order is irrelevant as the requests can be sent by multiple sources. Are the requests upon being received by GameSparks servers queued and then processed in order of reception?
No I don't believe they are. The SDK will handle the queuing and sending of events but as you are using the REST API and not an SDK there is no control over this.
Thanks for getting back to me on this! How do developers avoid race conditions in cloud code then?