We have a Trade and position processing system. Command pattern is used as it's core mechanism to distribute and execute these Trade and position commands acros the Coherence Cluster. So far the design pattern has worked very well for us.
However, a scenario was encountered in our productions system, which disallowed to execute commands on a command node.
Attached is a document which contains a complete detailed analysis of the cause. The end conclusion was that currently command pattern is not able to manage the context state correctly, when there are cluster failures.
If you've not done so already, please raise an issue in the issue tracking system for the project: https://java.net/projects/cohinc/
Alternatively, raise a Coherence Service Request (SR) and it will be forwarded to us with the appropriate information.
Brian Oliver | Architect | Oracle Coherence