Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_embedding-ingest-pipeline

Embedding and vector ingestion pipeline (chunk, embed, upsert)

13 COMPONENTS · 13 FLOWS · UPDATED 2026-11-20
GITHUB README / PR PREVIEW CARD
[![Embedding and vector ingestion pipeline (chunk, embed, upsert) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_embedding-ingest-pipeline/opengraph-image)](https://archos.sageideas.dev/d/dgm_embedding-ingest-pipeline)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_embedding-ingest-pipeline)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_embedding-ingest-pipeline" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Embedding and vector ingestion pipeline (chunk, embed, upsert) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  cms_0[("Content system")]
  app_1[("Retrieval app")]
  api_2["Ingest API"]
  registry_3[("Schema registry")]
  idp_4[("Identity provider (IdP)")]
  log_5[("Event log")]
  chunker_6["Chunking worker"]
  embed_7["Embedding"]
  dlq_8[("Dead-letter queue (DLQ)")]
  vdb_9[("Vector database")]
  metrics_10[("Traces, metrics and logs")]
  alerting_11[("Alerting")]
  capacity_12["Capacity card"]
  cms_0 -->|"1. Calls with JWT · HTTPS"| api_2
  api_2 -->|"2. Appends event · TCP"| log_5
  log_5 -->|"3. Consumes · TCP"| chunker_6
  chunker_6 -->|"4a. Embeds chunks · HTTPS"| embed_7
  chunker_6 -->|"4b. Parks documents · TCP"| dlq_8
  embed_7 -->|"5. Vectors · HTTPS"| chunker_6
  chunker_6 -->|"6. Upserts, prunes · HTTPS"| vdb_9
  vdb_9 -->|"7. Returns matches · HTTPS"| app_1
  api_2 -->|"Fetches keys · HTTPS"| idp_4
  api_2 -->|"Looks up schema id · HTTPS"| registry_3
  registry_3 -->|"Describes schema · HTTPS"| chunker_6
  chunker_6 -->|"Lag, latency, DLQ count · OTLP"| metrics_10
  metrics_10 -->|"Feeds alerts · HTTPS"| alerting_11

COMPONENT STACK (13)

  • Content systemSTATEFUL
    Publishes and edits documents
  • Retrieval appSTATEFUL
    Searches the index for answers
  • Ingest APISTATELESS
    Checks the JWT; appends change events
  • Schema registrySTATEFUL
    Checks each event schema change
  • Identity provider (IdP)STATEFUL
    Publishes the keys that sign each JWT
  • Event logSTATEFUL
    Document change events keyed by document id
  • Chunking workerSTATELESS
    Splits text into child chunks with a parent id
  • EmbeddingSTATELESS
    Turns each chunk into a vector
  • Dead-letter queue (DLQ)STATEFUL
    Holds documents that failed
  • Vector databaseSTATEFUL
    Vectors keyed by chunk id
  • Traces, metrics and logsSTATEFUL
    Lag, call latency, parked documents
  • AlertingSTATEFUL
    Pages on-call on lag or parked documents
  • Capacity cardSTATELESS
    Illustrative sizing for the drawn design

REQUEST & DATA FLOW (13)

  1. Content system → Ingest API (Calls with JWT)[HTTPS]
  2. Ingest API → Event log (Appends event)[TCP]
  3. Event log → Chunking worker (Consumes)[TCP]
  4. Chunking worker → Embedding (Embeds chunks)[HTTPS]
  5. Chunking worker → Dead-letter queue (DLQ) (Parks documents)[TCP]
  6. Embedding → Chunking worker (Vectors)[HTTPS]
  7. Chunking worker → Vector database (Upserts, prunes)[HTTPS]
  8. Vector database → Retrieval app (Returns matches)[HTTPS]
  9. Ingest API → Identity provider (IdP) (Fetches keys)[HTTPS]
  10. Ingest API → Schema registry (Looks up schema id)[HTTPS]
  11. Schema registry → Chunking worker (Describes schema)[HTTPS]
  12. Chunking worker → Traces, metrics and logs (Lag, latency, DLQ count)[OTLP]
  13. Traces, metrics and logs → Alerting (Feeds alerts)[HTTPS]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →