This module implements Coherence backend for the Catalog Service.
See main documentation page for instructions.
Unlike other back end implementations, which require separate containers for the service and the back end data store, Coherence is embedded into your application and runs as part of your application container.
That means that it is as easy to run as the basic in-memory implementation of the service, but it allows you to easily scale your service to hundreds of stateful, and optionally persistent nodes.
To run Coherence implementation of the service, simply execute
$ docker run -p 7001:7001 ghcr.io/helidon-sockshop/catalog-coherence
As a basic test, you should be able to perform an HTTP GET against /catalogue/size
endpoint:
$ curl http://localhost:7001/catalogue/size
which should return JSON response
{
"size": 9
}
The Universal Permissive License (UPL), Version 1.0