I’m seeing some unexpected behaviour in my cloud code on a new nitro server. I have afterSave code that I would expect to run in series, yet it’s running in parallel. From what I can tell, when two events are logged from the same transaction, those two events both fire off an afterSave (expected), but the two afterSaves happen in parallel, not sequentially (in previous servers, event 2 would not be saved until event 1 completes processing).
The code is async, but I was under the impression that both Parse and MongoDb ran updates sequentially on a single thread (meaning that async updates allow for reads to be interspersed, but not writes). Is the Nitro upgrade multi-threaded in some way that the previous server was not?