StreamNative Logo
VideoOct 8, 202625 mins

Schedule Heavy and Long-Living Workloads in Highly Scalable Kubernetes Clusters

Unlock Instant Access

Complete the form to start watching.

Session Overview

Discover how to reliably schedule heavy, hours-long batch workloads on Kubernetes using Apache Kafka without blocking queues or crashing your infrastructure.

In this talk, Alfred from Steadforce explains how his team solved massive resource bottlenecks and 503 outages caused by monolithic MATLAB calculation engines. Learn how decoupling workloads with containerized Quarkus runners, implementing a commit-on-spawn Kafka pattern, and handling Kubernetes SIGTERM signals cleanly achieved effectively-once processing and zero downtime.

What You'll Learn

  • The monolith bottleneck: Why running 6-hour, 100 GB memory calculations sequentially choked smaller jobs and caused full cluster crashes
  • Commit-on-spawn pattern: Pulling single messages and committing immediately so multi-hour jobs never block Kafka consumer poll intervals
  • Worker-driven requeueing: Letting runner pods evaluate their own compatibility and requeue tasks with TTL countdowns and dead-letter queues
  • Graceful Kubernetes shutdowns: Handling SIGTERM within a 3-minute maintenance window and preventing duplicate runs with active reconciliation

Chapters

  • 00:00 — Introduction & the monolithic bottleneck
  • 01:49 — The 100 GB crash & monolithic limitations
  • 04:40 — Architectural goals & Quarkus runners
  • 07:57 — Kafka execution topics & commit-on-spawn pattern
  • 10:13 — Execution pipeline & S3 payload separation
  • 12:35 — Worker declination, TTLs & dead-letter queues
  • 17:58 — Achieving effectively-once execution & SIGTERM handling
  • 21:06 — Production results & reusable batch blueprint

About Speaker

Alfred Schmid

Alfred Schmid 1985 I had the first contact with a C64. Since then I am interested in problem solving with computers. Starting with tiny BASIC programs I switched over to code demo's in assembler for fun. Now I'm working on kubernetes based streaming solutions. I have always been interested in the necessary technologies to solve current problems. I like to discover new things and would like to use them to keep the customer ahead of the curve.