Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_code-connectivity-and-duplicate-clustering

Connectivity & Duplicate Entity Clustering (MinHash LSH + Union-Find)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Connectivity & Duplicate Entity Clustering (MinHash LSH + Union-Find) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_code-connectivity-and-duplicate-clustering/opengraph-image)](https://archos.sageideas.dev/d/dgm_code-connectivity-and-duplicate-clustering)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_code-connectivity-and-duplicate-clustering)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_code-connectivity-and-duplicate-clustering" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Connectivity & Duplicate Entity Clustering (MinHash LSH + Union-Find) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Raw Entity Records"]
  n1_1["LSH / Blocking Keys"]
  n2a_2["Similarity Scorer"]
  n2b_3[("Union-Find Clusterer")]
  n3_4[("Golden Canonical IDs")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Emit bands · MinHash"| n1_1
  n1_1 -->|"2a. Score = · Pairwise"| n2a_2
  n1_1 -->|"2b. Union pair · DSU"| n2b_3
  n2a_2 -->|"3a. Assign ID · Catalog"| n3_4
  n2b_3 -->|"3b. Merge · RAM"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Raw Entity RecordsSTATELESS
    Users / Docs / Products
  • LSH / Blocking KeysSTATELESS
    Avoids O all-pairs compare
  • Similarity ScorerSTATELESS
    Jaccard / cosine / fuzzy match
  • Union-Find ClustererSTATEFUL
    Transitive closure with cap
  • Golden Canonical IDsSTATEFUL
    Deduplicated entity clusters
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Raw Entity Records → LSH / Blocking Keys (Emit bands)[MinHash]
  2. LSH / Blocking Keys → Similarity Scorer (Score >=)[Pairwise]
  3. LSH / Blocking Keys → Union-Find Clusterer (Union pair)[DSU]
  4. Similarity Scorer → Golden Canonical IDs (Assign ID)[Catalog]
  5. Union-Find Clusterer → Golden Canonical IDs (Merge)[RAM]
  6. Golden Canonical IDs → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →