Skip to main content

5 docs tagged with "Cluster"

Mercury DB (HgDB) can work as a cluster of several nodes that share the database, the caches and the queues. The pages describe the configuration of the cluster and the behavior of the nodes.

View all tags

Cache configuration and sharing in the cluster

The page describes how caches of Mercury DB (HgDB) 3.0 are configured (Ehcache 3), which of them are shared between the nodes of a cluster (Terracotta), how a client can limit refreshing the caches in a request, and how the server can hand over ready objects and Lucene documents between nodes.

Configuration and integration with Apache ActiveMQ

In a cluster, the nodes of Mercury DB (HgDB) 3.0 exchange messages through Apache ActiveMQ: changes of types and definitions, change packages of the Lucene index, wake-ups of the index secretary and heartbeats. This page describes the broker configuration. A ready-to-use sample is the conf/activemq.xml file in the system-config-sample/linux/apache-activemq directory of the installation package, together with a README.md containing the installation steps.

Login and HTTP sessions in the cluster (Tomcat Cluster)

The page describes how the login to the web pages of Mercury DB (HgDB) 3.0 works in a cluster behind a load balancer that spreads the requests of one client over all the nodes (round-robin), and how to configure the replication of HTTP sessions (Tomcat Cluster). The support is in the packages of release 3.0.4.24; the first published Docker image with it and the fix of the start of the cluster are in 3.0.4.25.