James Fitzpatrick · Aug 23, 2018

Docker Containers with ECP


I'm interested to hear if folks have experience using Docker containers with Caché instances using ECP. Wondering if there are any special considerations when setting up a distributed application with multiple containers communicating with ECP. Any input is appreciated!

0 747
Discussion (8)3
Log in or sign up to continue

I made such an example years ago, you can look at GitHub. This example maybe not so correct by this time, but can be useful. When you have to run only ECP clients, it becomes a bit easier. You should not care about volumes, in most cases, all the data stored in ECP-client is temporal. So, you mostly should care only about buffers. In my example, you can find how to configure instance during docker build to work as ECP-client.

Thanks for the reference! I'll take a look at this. 

I'm assuming that you would also need a companion container defined for your database server(s) where you would deal with persisting data.

Thanks for the suggestion. We're currently running HealthShare instances on top of Ensemble. We've been told by ISC that there isn't a HealthShare version of IRIS available yet, so we don't plan on migrating to the new platform anytime soon.

Good morning Eduard,

What are DM or AM instances?

Do you know if %Installer can setup ECP connection to a data server and also define a remote database to the same data server in code? By the way, the remote database is a mirror database.



From the linked doc

  • DM - Distributed cache cluster data serve
  • AM - Distributed cache cluster application server

%Installer can run arbitrary code, and in code you can do ECP initialization.

ICM can provision mirrored configuration


Can you please provide a hint what class to look at for ECP setup to connect to a data server?



Please ask a separate question. This is an extensive topic and the question would get more attention from Community.