Has anyone used the cache module in conjunction wi...
# suitescript
s
Has anyone used the cache module in conjunction with a map/reduce script? Was using the module to capture successful API calls to then be sent in an email, but the results are coming back somewhat inconsistent with what has been sent. Might there be issues with the speed of reading and writing to the cache from a map/reduce?
I think I figured this out. We had the concurrency on the deployment set to 4. This was causing separate jobs running in parallel to overwrite the cached value and causing the inconsistency with results. We set the concurrency to 1 and it looks like it resolved the situation.