Coherence JavaScript Client Now Available for Community Edition

Exciting news overnight that the Coherence JavaScript client is now available for Coherence Community Edition 20.06.1!

Previously, the only way to access Coherence from a Node.js application was via REST, but now you have the capability to access Coherence caches via a native JS API with familiar Map interface along with the capabilities of querying, aggregations, in-place processing and events.

The JavaScript client communicates using gRPC ( to a gRPC enabled Proxy server on a the Coherence cluster. This is the second client (After Java gRPC client) to take advantage of our native support for gRPC and surely won’t be the last.

It’s as easy as adding the dependency to your package.json file:

"dependencies": {
    "@oracle/coherence": "^1.0.0",

Starting a gRPC enabled Coherence Docker image:

docker run -d -p 1408:1408 oraclecoherence/coherence-ce:20.06.1

and finally running your code:

const { Session } = require('@oracle/coherence')
let session = new Session()
let map = session.getMap('Test')
setImmediate(async () => {
  console.log("Map size is " + (await map.size))
  console.log("Inserting entry (key=1, value=One)")
  await map.set(1, "One")
  console.log("Map entry is " + (await map.get(1)))
  console.log("Deleting entry (key=1)")
  await map.delete(1)
  console.log("Map size is " + (await map.size))
  await session.close()

See here for Randy Stafford’s full post on the release on Medium.



Posted in News | Tagged , , , | Leave a comment

Recording Available: Managing State in Elastic Microservices

If you didn’t get a chance to attend Coherence Architect Aleks Seovic’s talk on “Managing State in Elastic Microservices”, then the recording is now available on YouTube. This was the September 2020 Jakarta Tech Talks session.

In this talk, Aleks runs through the Helidon Sock-Shop Demo, which is the modern day microservices equivalent of the old “Pet Store Demo”. The demo showcases Coherence Community Edition (CE) and the Helidon Microservices framework and how to write modern and scalable microservices applications.

I particularly liked the part where he scaled his Coherence cluster to 1TB running on Kuberenetes!

Scaled Coherence Cluster in Grafana

Useful Links:


Posted in Presentations | Tagged , , , , | Leave a comment

Coherence Architect Presenting “Managing State in Elastic Microservices”

Re-posted from Coherence Blog

On Tuesday September 1 at 11AM EDT, Coherence Architect Aleks Seovic will present a Jakarta Tech Talk on “Managing State in Elastic Microservices.” You can register for this event here. Jakarta Tech Talks are dedicated to the discussion of Jakarta EE and broader Cloud-Native Java technologies.  The abstract for this particular event is given below:

Scaling stateless services is easy, but scaling their stateful data stores, not so much. This is true whether you are using an “old fashioned” relational database, or one of the popular, “modern” KV data stores, such as MongoDB or Redis.

In this presentation we will discuss some of the issues with state management in elastic microservices today, and look into how Oracle Coherence, with its Helidon and Eclipse MicroProfile integration, provides a better alternative you can use tomorrow.

This will be a technical presentation by an architect who has deep technical understanding of microservices and data grid technologies, and real-world experience building and deploying mission-critical applications.  Aleks’ talk will include a demo showing how Java microservices can be easily scaled, including flexible scaling of the data store used by the microservices, using an example you can evaluate yourself following his talk.  The example is built with Helidon 2.0 and Coherence Community Edition  announced in June.  Both Helidon and Coherence can be used to build and evolve microservices applications, either on-premises or in the cloud, so the content will be relevant and thought-provoking for Coherence users.  Register today! 

Registration link:

Posted in Presentations | Tagged , , | Leave a comment

Post Update: Monitor Your Coherence Clusters using Grafana and Prometheus

In July I wrote a post about Monitoring your Coherence Clusters using Grafana and Prometheus. (See here for this post)

I’ve just updated this example and included the instructions for getting this working with our recently released open-source Coherence Community Edition or Coherence CE.

The updated GitHub repository and instructions can be found here –


Posted in Examples | Tagged , , , , | Leave a comment

Java Magazine: Creating cloud native stateful applications that scale, Part 1

Aleks Seović, who is an architect from the Coherence Development team, has just written part 1 of a series of articles on “Creating cloud native stateful application that scale”.

This is an excellent article on using Coherence Community Edition and Helidon to write scalable and stateful modern applications.

The article is available at the following URL:

For more information, see the following:


Posted in Examples | Tagged , , , | Leave a comment

Medium Post: A Gentle Introduction to Coherence

Coherence architects Harvey Raja and Aleks Seovic have just posted and article providing a great overview of Coherence.

A Gentle Introduction to Coherence is a great read and gives a high-level overview of what Coherence is and how it can help greatly in the development of distributed applications.

There will be a number of follow up articles that will got into more detail.


Posted in Related Posts | Tagged , , | Leave a comment

Updated Coherence Demo Released with Open Tracing and Coherence CE Support

To coincide with Coherence Community Edition (CE) release, the Coherence Demo has been updated to work with Coherence CE and the Coherence Operator version 3.0.0.

Coherence Demo

This version uses Coherence CE 14.1.1-0-1 by default and showcases Open Tracing to trace client calls from a JAX-RS call, through to the individual cache nodes saving the primary and backup, aggregations and integration with a JPA data store.

The Coherence Demo showcases different features of Coherence including:

  • Clustering and Data Sharding
  • Scalability and High Availability
  • Disk-Based Persistence
  • Parallel Queries
  • Efficient Aggregation
  • In-Place Processing
  • Federation (Grid Edition feature only)
  • Lambda Support
  • OpenTracing Support
  • Grafana Integration via Coherence Operator
Grafana Dashboard via the Coherence Operator

To learn more and run the demo, see


Posted in Examples, News | Tagged , , , , , | Leave a comment

Coherence CE and Helidon 2.0 recording and presentation available

A recording and presentation from the recent Coherence Coherence CE and Helidon 2.0 session is now available!

For the recording see Oracle Video Hub.

The presentation is available here.


Posted in Presentations | Tagged , , , , | Leave a comment

Coherence Community Edition (CE) Released

We are very excited that Coherence Community Edition was announced and released over night!

Coherence Community Edition, or Coherence CE, is an open source version of the world leading In Memory Data Grid product from Oracle.

Coherence CE is hosted on GitHub ( and licensed under Open Source Initiative’s Universal Permissive License, Version 1.0.

A few other useful links:

This is an historic and exiting day for the Coherence team and I look forward to sharing much more information about Coherence and our open source products.

Posted in News | Tagged , , , , | Leave a comment

Register Now for Coherence CE and Helidon 2.0 Webinars on June 25

Oracle is announcing two innovative new developer technology releases for Java and polyglot microservices. Join us on June 25th and watch this thought provoking session on Coherence CE and Helidon 2.0. See demos from the project leaders. Register for a free webinar at a time convenient for you!

June 25, 2020, Webinar for Asia-Pacific time zones –

June 25, 2020, Webinar for Europe, Middle East, Africa and Americas time zones

Posted in News, Presentations, Uncategorized | Tagged , , | Leave a comment