in general, a scheduled script allows you to do whatever you want in 10000 points
m
michoel
05/24/2021, 6:16 AM
What can a SuiteScript 2.x scheduled script do that a map reduce can't ?
b
battk
05/24/2021, 6:17 AM
a lot of the time that is processing a bunch of records, which a map/reduce can do if you are willing to write your script a certain way
battk
05/24/2021, 6:19 AM
the big benefit of that being that the points you can use in a map/reduce script is usually more generous per record than what you would get in a scheduled script
t
tuli
05/24/2021, 7:03 AM
Thanks for adding clarification to the question @michoel,
Thanks @battk, but I'll come back again to question, Why has they kept it alive ?
People can write that anyway.
I want to know some cases where Map reduce will totally fail.
This can be when we are performing any large operation that cannot be divided in pieces. But I am trying hard to thing of such large operation.
b
battk
05/24/2021, 7:06 AM
going the opposite direction, using a map reduce script when you want to process a single record is overkill
s
Sandii
05/24/2021, 2:12 PM
Also you do not get to control the order in which MR processes, so if the sequencing the processing of your results matters, then I wouldn't use MR.