Langfuse architecture: web, worker and three stores

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
Langfuse self-hosted architecture: the LangGraph copilot sends traces to Langfuse Web, which writes raw events to blob storage and puts a queue reference in Redis or Valkey. The Langfuse Worker takes jobs from the queue, writes traces, costs and scores to ClickHouse, keeps projects and prompts in PostgreSQL, and can call a judge model for evaluations.