Start a new topic

Saving multiple entities at once

I'm sending 600 records (24k) to the backend using the procedure oulined in http://devcenter.kinvey.com/ios/guides/datastore#SaveMultipleEntitiesatOnce.



It takes around 35s from the saveObject call to reach the completionBlock. which is rather slow. Any way to make it faster?

When sending a batch of saves, each save take exponentially longer than the previous one. You should break up your save routine into smaller batches.
Hey Igor, I'm tagging this question in Business Logic and General also in case people have tips for speeding up the process.
What happens to entities already processed by the BL when a multiple entities request is interrupted (times out, crash)? Do all requests have to complete before the BL is applied? I remember seen records being processed by my BL but not appearing in collection after the request timed out.
Login or Signup to post a comment