7 Approaches to Accelerating Apache Kafka on K8s

Key Value
image https://assets.ubuntu.com/v1/a70bfab2-Managed-apps_wht.svg
image_width 350
image_height 200
meta_image
meta_copydoc
banner_class grad
form_id 4179
resource_url https://pages.ubuntu.com/rs/066-EOV-335/images/7+approaches+to+accelerating+Apache+Kafka+on+K8s+09.09.21.pdf

When thinking of running a low latency, high volume Apache Kafka solution on MicroK8s, Charmed Kubernetes or another K8s distribution, it is worth spending some time planning your deployment upfront. Depending on your workload, there could be a few design approaches that might prove beneficial. In this white paper, we will review seven techniques that can help to reduce latency in high volume, low criticality Kafka solutions running on Kubernetes.

Kubernetes offers many benefits to complex, distributed microservices-driven applications composed around middleware such as Apache Kafka. Benefits include improved solution availability, better resource utilization, server consolidation and deployments that are more robust, more repeatable and more predictable.

However, some of the concerns that will need to be addressed will include service infrastructure planning, resource scheduling constraints, stateful service requirements, performance tuning and resilience. And depending on the requirements, the use case and the criticality of the data, differing design approaches may be needed.
In this white paper, we will examine aspects of Kafka on Kubernetes service design through the lens of performance, including:

  • Kafka memory considerations
  • Broker IO demands and storage planning
  • Topic replication
  • Retention policies
  • Message sizes
  • Tuning parameters
  • Topic partitioning