Why is scheduled script still alive ? What can a s...
# suitescript
t
Why is scheduled script still alive ? What can a scheduled script do that a map reduce can't ?
b
in general, a scheduled script allows you to do whatever you want in 10000 points
m
What can a SuiteScript 2.x scheduled script do that a map reduce can't ?
b
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
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
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
going the opposite direction, using a map reduce script when you want to process a single record is overkill
s
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.