Cloudflare K2 is a new durable event streaming primitive on the Developer Platform, built on R2 object storage. It implements a partitioned, durable log for high-scale data movement, long-term retention, and fan-out consumption. K2 offers serverless operation, scales to vast quantities of data, and supports long-term retention. It differs from Queues by focusing on batch processing for high-scale data movement and fan-out consumption, whereas Queues are designed for tracking individual items of expensive or time-consuming work with message-level retries. K2's produce latency is approximately 1 second at the 99th percentile due to batching and writing to object storage. Future plans include higher write parallelism, message keys, push-based worker consumers, and Kafka client support.
All Cloudflare trails