Home / Companies / Redpanda / Blog / Post Details
Content Deep Dive

What makes Redpanda fast?

Blog post from Redpanda

Post Details
Company
Date Published
Author
Adrian Goins
Word Count
1,369
Language
English
Hacker News Points
-
Summary

Redpanda claims to significantly outperform Apache Kafka in terms of speed, particularly in tail latency, which is crucial for applications requiring swift and reliable message delivery. Unlike Kafka, which is written in Scala and operates within the Java Virtual Machine, Redpanda is built in C++ and leverages specific architectural enhancements such as thread-local data structures, memory pinning, and the use of advanced Linux libraries like DPDK and io_uring. These innovations enable Redpanda to handle memory more efficiently, bypassing the limitations of the page cache and optimizing the use of RAM for caching. Additionally, Redpanda benefits from automatic kernel tuning and a thread-per-core architecture, which minimizes latency by eliminating the overhead of shared memory and ensuring that no instruction blocks for more than 500 microseconds. This makes Redpanda particularly suited for applications with strict latency requirements, such as algorithmic trading, real-time gaming, and IoT use cases, which might otherwise necessitate custom solutions. By providing superior performance while maintaining compatibility with Kafka APIs, Redpanda offers substantial value and flexibility to developers and businesses.