Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

docs: Update network diagram (#7355)

Marc Klingen9e0bd8ed75e3
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c57f86ffc5..abeefc7611 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -55,20 +55,34 @@ A good first step is to search for open [issues](https://github.com/langfuse/lan
See this [diagram](https://langfuse.com/self-hosting#architecture) for an overview of the architecture.
-### Network Overview
-
-```mermaid
-flowchart LR
- Browser ---|Web UI & TRPC API| App
- Integrations/SDKs ---|Public HTTP API| App
- subgraph i1["Application Network"]
- App["Langfuse Application"]
- end
- subgraph i2["Database Network"]
- DB["Postgres Database"]
- end
- App --- DB
-```
+### Network Overview
+
+```mermaid
+flowchart TB
+ User["UI, API, SDKs"]
+ subgraph vpc["VPC"]
+ Web["Web Server<br/>(langfuse/langfuse)"]
+ Worker["Async Worker<br/>(langfuse/worker)"]
+ Postgres["Postgres - OLTP<br/>(Transactional Data)"]
+ Cache["Redis/Valkey<br/>(Cache, Queue)"]
+ Clickhouse["Clickhouse - OLAP<br/>(Observability Data)"]
+ S3["S3 / Blob Storage<br/>(Raw events, multi-modal attachments)"]
+ end
+ LLM["LLM API/Gateway<br/>(optional)"]
+
+ User --> Web
+ Web --> S3
+ Web --> Postgres
+ Web --> Cache
+ Web --> Clickhouse
+ Web -.->|"optional for playground"| LLM
+
+ Cache --> Worker
+ Worker --> Clickhouse
+ Worker --> Postgres
+ Worker --> S3
+ Worker -.->|"optional for evals"| LLM
+```
### Database Overview