Hello Balaji <balaji.rajagopa...@olacabs.com>

Yes. The State holder 'sum' in my example is actually created outside the
Mapper objects; so it stays where it is. I am creating 'var's inside the
Mapper objects to _refer_ to the same object, irrespective of multiplicity
of the Mappers.  The _open_ function is helping to make that association.
This indeed was the basis of my logic. So, we are on the same page, there.

However, my question was about order of creation of State holders through
multiple Operators and accessing one such State holder from inside an
Operator which did not  create it.

I understand from your response, that you sidestepped this difficulty by
resorting to Redis. Redis has a global presence and hence, any operator
from any partition can access it.

My question was how did you share the Redis handle across partitions? Did
you broadcast it?

-- Nirmalya







-- 
Software Technologist
http://www.linkedin.com/in/nirmalyasengupta
"If you have built castles in the air, your work need not be lost. That is
where they should be.
Now put the foundation under them."

Reply via email to