In Gorgona 3.4.8 a substantial set of infrastructure improvements has been released. The server is no longer tied to hardcoded paths: all directories are now configurable. The parameters data_dir, conf_dir and log_file provide flexible control over the location of the database, peer cache, certificates and logs. This is especially useful for deployments in Docker, on embedded devices, or in corporate environments with their own data placement standards.
The second important change is the -c / --conf startup flag, which allows specifying an alternative path to the configuration file. This opens the way to running multiple gorgonad instances on a single machine with isolated state, which is convenient for testing, staging environments and building local mesh clusters. Hot reload via SIGHUP also works correctly with a custom configuration, so reconfiguration no longer requires a process restart.
In the same release the hash-chain logic has been significantly refined. After vacuum and after loading the database from disk the chain is now fully recomputed and becomes deterministic. All nodes that hold the same set of alerts always obtain identical prev_hash, curr_hash and last_hash values. This eliminates divergences that previously appeared because of different order of removal of expired records on different nodes.
Protection against Full Sync storms has also been strengthened. Cooldowns for repeated full synchronisations and a mechanism that prevents parallel heavy sync operations with multiple peers at the same time have been introduced. As a result, when an already synchronised node starts, the number of unnecessary BACKFILL operations is sharply reduced, and memory and CPU consumption when working with several peers becomes noticeably more stable.
Taken together these changes make the behaviour of the mesh network more predictable and resilient as the number of nodes and the volume of data grow.
Detailed technical documentation is available at:
https://github.com/psqlmaster/gorgonaYou can explore the system through the control panel here:
https://46.138.247.148:8000/Login credentials:
Username: demo
Password: demo