Reputation: 13
We're considering using Coherence to replace Hazelcast. Now we run Hazelcast in embedded mode, inside our application server process. I wonder if Coherence can also run like this? I couldn't find document confirming this.
Upvotes: 1
Views: 582
Reputation: 1236
There are 3 popular ways to deploy Coherence with an application server:
1) Client/server - using the Coherence*Extend protocol, or using the HTTP / REST protocol. This allows an application server to be operated independently of the Coherence cluster, and is simpler and safer as a result, but can have slightly higher latency as a result.
2) In cluster, but using separate dedicated cache servers - this is called "storage disabled" in which the application server doesn't use any memory for managing the Coherence data, and instead separate processes are running in the cluster just to manage that data.
3) In process (i.e. embedded into the application or into the server) - this is the original Coherence deployment model, but has grown less popular due to the other models.
Upvotes: 2
Reputation: 104
I have been using Oracle Coherence for 5+ years. To answer your question, YES - Coherence can run within an application process. It is called as in-process. There is out-of-process & in-process deployment approaches, which it supports.
I wrote a blog few years back (please refer) on session management using Coherence - hope it helps: http://ankurkumar78.blogspot.in/2011/08/oracle-coherence-best-practices-in.html
Upvotes: 1