RE: Difference Between Scheduled script and Map/Reduce script in 2.0

Hello every one

Using map/reduce script we can have parallel data processing  both scheduled and map/reduce  script are used for huge data handling  is that only difference  if any one have points please answer

Sai Rookie Asked on April 27, 2020 in SuiteScript.
Add Comment
2 Answers

Map/reduce handles large data sets more easily. You can utilise a search input in the getInputData stage and pass the data straight to a following stage without the need to paginate result sets. Returning a search ID also apparently allows for an extended search execution timeout.

The SS2.0 documentation states that Script.percentComplete is only useable with scheduled searches. This may prevent map/reduce scripts being able to report progress – but I’m not sure whether this is an oversight with the documentation. I’ve planned on testing a map/reduce to see if Script.percentComplete works, but not had the chance as yet.

Beginner Answered on April 27, 2020.

Additionally You’ll also have to handle the Script Governance yourself for Scheduled Script (Reschedule/Yield if running out of Points) whereas the M/R will yield automatically.

on April 27, 2020.

Thanks But Can u  please specify any specific use cases where we will use map/reduce script  I havent used it much most of the time I used scheduled,suitlet and restlet and other scripts

on April 29, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.