docs: run a single replica; drop DNS clustering #31

Manually merged
jfro merged 1 commit from docs/13-single-replica into main 2026-11-01 18:28:22 +00:00
Owner

Closes #13.

Sources.Registry and Diagnosis.Queue are node-local, so N replicas poll everything N times, race on trigger writes, spend N× on AI diagnoses, and a source edit restarts only the local poller.

  • README ("Running in production"): run one instance, and why.
  • Removed DNS_CLUSTER_QUERY (README row, runtime.exs), the DNSCluster child in application.ex, and the dns_cluster dependency (mix.exs/mix.lock). Clustering can come back post-1.0 with distributed pollers.

mix precommit: 624 pass.

Closes #13. `Sources.Registry` and `Diagnosis.Queue` are node-local, so N replicas poll everything N times, race on trigger writes, spend N× on AI diagnoses, and a source edit restarts only the local poller. - README ("Running in production"): run one instance, and why. - Removed `DNS_CLUSTER_QUERY` (README row, `runtime.exs`), the `DNSCluster` child in `application.ex`, and the `dns_cluster` dependency (mix.exs/mix.lock). Clustering can come back post-1.0 with distributed pollers. `mix precommit`: 624 pass.
jfro added this to the v1.0 milestone 2026-11-01 17:40:43 +00:00
docs: run a single replica; drop DNS clustering
All checks were successful
CI / test (pull_request) Successful in 56s
fac9a87058
Source pollers and the diagnosis queue are node-local, so several
replicas poll everything several times, race on reports and multiply AI
diagnosis costs. Document running one instance, and remove
DNS_CLUSTER_QUERY and the dns_cluster dependency, which only invited
that.

Closes #13
Author
Owner

Review (Nye) at fac9a87: ready. No dns_cluster / DNS_CLUSTER_QUERY references left anywhere; README explains one replica. mix precommit: 624 pass. CI green.

Review (Nye) at fac9a87: ready. No dns_cluster / DNS_CLUSTER_QUERY references left anywhere; README explains one replica. mix precommit: 624 pass. CI green.
jfro manually merged commit 8f9ff14427 into main 2026-11-01 18:28:22 +00:00
Sign in to join this conversation.
No description provided.