Scalable pipelines for instant object detection: deploying YOLO models with Apache Kafka for high-throughput inference
Instant object detection is a critical capability in modern applications where timely decision-making is essential, such as in emergency medicine, autonomous systems, and intelligent surveillance. Efficiently handling high-throughput image streams with minimal delay presents significant challenges, particularly under demanding conditions. This study presents a scalable object detection pipeline that integrates YOLO models with Apache Kafka, a distributed streaming platform, to support just-in-time inference. The proposed architecture leverages Kafka’s partitioning and consumer group mechanisms to enable parallel processing, ensuring high throughput without requiring complex load-balancing logic. The system is deployed on a Virtual Private Server to demonstrate practical implementation. Two configurations are presented to illustrate Kafka’s native scalability: one with a single partition and a single consumer, and another with five partitions and five consumers. These setups visually demonstrate how Kafka efficiently distributes workloads across multiple consumers. Although specific latency or throughput metrics are not reported, the architecture effectively showcases how Kafka’s design enables prompt responses to high-volume input. This pipeline is well-suited for time-sensitive object detection tasks and can be extended to a wide range of instant analytics applications where rapid feedback is critical.
Authors
- Celal Çeken (ORCID: https://orcid.org/0000-0002-6912-0057)
- İsmail Öztel (ORCID: https://orcid.org/0000-0001-5157-7035)
Institutions
- Sakarya University (TR)
- Manash Kozybayev North Kazakhstan University (KZ)
Publication Details
- Journal
- Vestnik of M Kozybayev North Kazakhstan University
- Published
- 2025-07-04
- DOI
- https://doi.org/10.54596/2958-0048-2025-2-194-206
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00