elixir-horde/horde
72.3
Strong · 13 November 2026
3.3k
lines of production code
Elixir
primary language
8
measurements over time
What this system is
Horde is a distributed process supervisor and registry library for Elixir that manages cluster membership and synchronizes state across nodes. It leverages delta-CRDTs for consistent data replication and supports pluggable cluster transports, including standard Erlang distribution and Partisan. The system provides mechanisms for automatic node discovery, process redistribution, and metadata persistence to ensure resilience during network partitions and node restarts.
How it got here
2018 — CRDT-based distributed architecture
7 changes.
The project underwent a significant architectural refactor to replace its previous implementation with delta-CRDTs for distributed state synchronization, introducing pluggable cluster transports and new distribution strategies. This period established the foundational structure for Horde 0.10.0, including comprehensive test coverage for core behaviors like cluster membership and process redistribution. Additionally, example applications and benchmarks were added to demonstrate and validate the new distributed registry and supervisor capabilities.
2019–2026 — distributed testing and pluggable transports
5 changes.
This period focused on enhancing Horde's distributed capabilities by introducing pluggable cluster transports, including optional support for the Partisan library. To support these changes, the project established a dedicated test application structure and added comprehensive test modules for verifying distributed behaviors like rebalancing and netsplit recovery.
Features
Add HelloWorld example demonstrating distributed state sharing
A new example application is added to show how \Horde.DynamicSupervisor\ and \Horde.Registry\ work together to share data across a cluster. The example demonstrates using \meta/2\ and \put\_meta/3\ on \Horde.Registry\ to persist counter values across node restarts, ensuring that a \HelloWorld.SayHello\ process continues its count where the previous instance left off. It also includes a custom clustering strategy (\Cluster.Strategy.EpmdHealthy\) to automatically connect nodes on startup.
_examples/hello\_world, examples/hello\_world/lib/hello\world · high confidence
Add Partisan-based node listener for cluster membership
Users can now configure Horde to use the Partisan library for node discovery and membership management by specifying \Horde.NodeListener.Partisan\ in their registry or supervisor configuration. This new listener replaces the default Erlang distribution assumptions with Partisan-specific APIs (\:partisan.monitor\_nodes/1\ and \:partisan\_peer\_service\), enabling Horde to operate correctly within Partisan-managed clusters. The implementation is conditionally compiled, ensuring it is only available when the \:partisan\_peer\_service\ dependency is present in the project.
_lib/horde/node\listener · high confidence
Add pluggable cluster transport implementations
Horde now supports pluggable cluster transports, introducing two concrete implementations: a default transport using standard Erlang distribution and an optional transport using the Partisan library for peer communication. Users can now choose between native Erlang clustering or Partisan-based clustering depending on their infrastructure needs.
_lib/horde/cluster\transport · high confidence
Behavioural changes
Extracted test application structure from Horde library
The repository now includes a dedicated \test\_app\ directory containing a standalone Elixir application scaffold. This change extracts the core library code (renamed from \Horde\ to \TestApp\) and its associated tests into this new structure, establishing a separate OTP application with its own supervisor, registry, and dynamic supervisor configurations for testing purposes.
_test\app · medium confidence
Hello World example app configured for EpmdHealthy clustering
The Hello World example application has been moved to examples/hello\_world and configured to use the EpmdHealthy cluster strategy for node discovery, connecting to three local hosts (count1, count2, count3). Logger settings have been updated to include SASL reports at debug level, and configuration keys now reference the :hello\_world application instead of :horde.
_examples/hello\world/config · high confidence
Horde restructured with distributed CRDTs and pluggable cluster transport
Horde has been refactored to use delta-CRDTs for distributed state synchronization, replacing the previous implementation. This introduces a new \Horde.Cluster\ module for managing cluster membership via \set\_members/2\ and adds a \Horde.ClusterTransport\ behavior, allowing users to configure alternative communication transports like Partisan. The distributed \Horde.DynamicSupervisor\ and \Horde.Registry\ now support module-based initialization, automatic node membership (\:auto\), and pluggable distribution strategies (including a new \UniformRandomDistribution\). Additionally, the registry now uses ETS tables for improved read performance and supports metadata and listeners.
lib/horde · high confidence
Test coverage
Added micro-benchmark for Horde.Registry lookup performance; Added stress test example for Horde.DynamicSupervisor; Added test helper for HelloWorld example; Added test support modules for distributed testing; Expanded test coverage for cluster, distribution, and registry behaviors.
Dependencies
Initial release of Horde 0.10.0 with dependency and project configuration updates
This entry marks the initial commit for the project, establishing the base structure for the Horde distributed supervisor and process registry. The main \mix.exs\ file sets the project version to 0.10.0, requires Elixir \~\> 1.7, and defines core dependencies including \delta\_crdt\ (\~\> 0.6.2), \libring\ (\~\> 1.7), and \telemetry\ (supporting both 1.0 and 0.4.x). It also configures development and test tools such as \ex\_doc\, \benchee\, \dialyxir\, and test helpers like \local\_cluster\ and \schism\. Additionally, the commit introduces an example application (\examples/hello\_world\) and a test application (\test\_app\), each with their own \mix.exs\ and \mix.lock\ files to manage their specific dependency trees.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 72 → 72 (+0.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 97 → 97 (+0.0)
- Architecture 100 → 97 (-2.7)
- Maturity 56 → 57 (+1.5)
- Readiness 82 → 82 (-0.2)
- Security 100 → 100 (+0.0)
- Performance 80 → 80 (+0.0)
Resolved (1)
- Off-boarding risk: anonymized user #1
New (9)
- Edited copy of a member (11 corresponding lines) (lib/horde/dynamic_supervisor.ex)
- Edited copy of a member (15 corresponding lines) (lib/horde/dynamic_supervisor_impl.ex)
- Edited copy of a member (3 corresponding lines) (lib/horde/dynamic_supervisor.ex)
- Edited copy of a member (33 corresponding lines) (lib/horde/dynamic_supervisor.ex)
- Edited copy of a member (4 corresponding lines) (lib/horde/dynamic_supervisor_impl.ex)
- High interface indirection
- Off-boarding risk: anonymized user #1
- Outdated: dialyxir
- Outdated: libring
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
elixir-horde/horde was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 20195db9ef1f24861e3c66d8d7c36640c12427a6 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.57+preprod-8ebfb01cf4c0.