An introduction to document parsing
Blog post from LllamaIndex
LlamaIndex adopted Temporal as a durable workflow orchestration layer to replace an increasingly complex RabbitMQ-based system supporting LlamaParse, which converts more than 130 file types into structured markdown, text, or JSON through distributed CPU, GPU, OCR, vision-model, storage, and orchestration workloads. Because documents can contain thousands of highly variable pages, the previous queue-based design required custom mechanisms for state tracking, retries, heartbeats, fairness, backpressure, rate limits, and recovery from failed jobs, leading to technical debt and over-provisioning. Temporal stores workflow state durably and enables deterministic workflows and activities to resume after failures, while its unique workflow IDs, signals, leases, and coordinator workflows support atomic locking, resource permits, and concurrency controls without separate databases or limiter services. LlamaIndex built semaphore-style workflows to manage per-project job concurrency and isolated these latency-sensitive coordination tasks in dedicated worker pools. The migration helped the company simplify its architecture by removing accumulated caches, microservices, split queues, and message metadata, while enabling it to process tens of millions of pages per day for its Batch API and focus more engineering effort on document processing.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.