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.
Data secretaries - panel and truncating archives
A data secretary is a background thread of the server that processes the data stored in buffer tables in a panel in the browser and through a REST service.
Database connection pools and the PostgreSQL connection limit
The page describes the pools of JDBC connections of Mercury DB (HgDB) 3.0, the setting defaultAutoCommit of the data sources and the connection limit of PostgreSQL that a cluster needs.
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.