Async insertMultiple is very slow – import sets stay in "Loaded" for hours
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi everyone, could you advise on this?
We receive about 1.8 million records twice a day through the Import Set API insertMultiple endpoint. The source system cannot send deltas, so our middleware sends the full file every run, not just changed records. It sends 1,000 records per call, one call at a time (about 1,800 calls per run). On the ServiceNow side, the transform map coalesces on a key field, and an onBefore script skips records that have not changed.
In the default async mode, each import set transforms in a few seconds, but the sets wait in the queue and only about 4-5 get processed per minute. A full run takes 6-8+ hours.
If we create a record in sys_rest_insert_multiple and set Transform to Synchronous, will the 1.8M records process noticeably faster than async? Is sync the right choice for this volume, and is there anything to watch out for (timeouts, batch size, performance impact)?
Thanks in Advance!!
- Labels:
-
Architect