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
[](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_11COMPONENT STACK (13)
- Content systemSTATEFULPublishes and edits documents
- Retrieval appSTATEFULSearches the index for answers
- Ingest APISTATELESSChecks the JWT; appends change events
- Schema registrySTATEFULChecks each event schema change
- Identity provider (IdP)STATEFULPublishes the keys that sign each JWT
- Event logSTATEFULDocument change events keyed by document id
- Chunking workerSTATELESSSplits text into child chunks with a parent id
- EmbeddingSTATELESSTurns each chunk into a vector
- Dead-letter queue (DLQ)STATEFULHolds documents that failed
- Vector databaseSTATEFULVectors keyed by chunk id
- Traces, metrics and logsSTATEFULLag, call latency, parked documents
- AlertingSTATEFULPages on-call on lag or parked documents
- Capacity cardSTATELESSIllustrative sizing for the drawn design
REQUEST & DATA FLOW (13)
- Content system → Ingest API (Calls with JWT)[HTTPS]
- Ingest API → Event log (Appends event)[TCP]
- Event log → Chunking worker (Consumes)[TCP]
- Chunking worker → Embedding (Embeds chunks)[HTTPS]
- Chunking worker → Dead-letter queue (DLQ) (Parks documents)[TCP]
- Embedding → Chunking worker (Vectors)[HTTPS]
- Chunking worker → Vector database (Upserts, prunes)[HTTPS]
- Vector database → Retrieval app (Returns matches)[HTTPS]
- Ingest API → Identity provider (IdP) (Fetches keys)[HTTPS]
- Ingest API → Schema registry (Looks up schema id)[HTTPS]
- Schema registry → Chunking worker (Describes schema)[HTTPS]
- Chunking worker → Traces, metrics and logs (Lag, latency, DLQ count)[OTLP]
- Traces, metrics and logs → Alerting (Feeds alerts)[HTTPS]