Forwarding message that was initially sent to u...@geode.apache.org. ---------- Forwarded message ---------- From: *aashish choudhary* <aashish.choudha...@gmail.com> Date: Thursday, February 27, 2020 Subject: Function execute method thread safety To: u...@geode.apache.org
No-one? We ended up synchronising execute method call. Is this a good approach tonthis solution? With best regards, Ashish On Tue, Feb 25, 2020, 11:42 PM aashish choudhary < aashish.choudha...@gmail.com> wrote: > We are suspecting that during call to execute method when we get arguments > that time shared state of request object is running into threading issue. > Is that one of the possibility? > > With best regards, > Ashish > > On Tue, Feb 25, 2020, 4:32 PM aashish choudhary < > aashish.choudha...@gmail.com> wrote: > >> We are experiencing some threading issue while executing function with >> multiple threads. Although documents says that execute method needs to be >> thread safe. https://geode.apache.org/releases/latest/javadoc/org/ >> apache/geode/cache/execute/Function.html >> >> Will it not make the calls sequential and slow things down.? >> >> Thoughts? >> >> With best regards, >> Ashish >> > -- *John Martin* Staff Product Manager, Pivotal Cloud Cache Cell: 734.545.2153 | jomar...@pivotal.io <https://pivotal.io/>