Hi all,
I am new to suitescript and have a doubt regarding how map reduce script works.
If I am using 5 queues for my script and they are 5 records to be processed, now in the map stage how the grouping by key and value happens internally.
As per my understanding they will be a global map and when a record is processed on a queue, the key and value of the record are extracted and update happens to the global map.
But if all the 5records are processed parallelly in each separate queue how the global map is updated consistently without loosing any information.
If the updates then happen sequentially how are we benefiting from map/reduce script in a such case.
Correct me if my understanding is wrong.