If I use the cache module within a map reduce script and use the cache to store a counter that each queue accesses and increments, is this a safe operation? I want to take some metrics throughout the script and use them in my summary phase. Global objects won't work as they aren't available in the summary phase but the cache is.
Thanks!