Real-time streaming for an ecommerce logistics provider, at 5M+ events a day.
The situation
Batch pipelines and slow search could not keep up with real-time logistics events.
Decisions lose value with every minute the data is late. Nightly batches hide a problem until the next morning, and by then it has spread.
The idea behind the solution
Stream processing treats data as an unbounded sequence of events and computes over windows of time, with explicit handling of late and duplicate records. Delivery guarantees and idempotent writes decide whether the numbers can be trusted, so they are designed first and not patched in later.
Draws onKleppmann, Designing Data-Intensive Applications (stream processing) · Kimball & Ross, The Data Warehouse Toolkit
What we built
A Kafka and Spark Streaming platform with Elasticsearch and Redis for fast search and state.
01Logistics events02Kafka03Spark Streaming04Elasticsearch · Redis05Real-time APIs
- Streams logistics events through Kafka
- Processes them with Spark Streaming
- Indexes for fast search in Elasticsearch
- Caches hot state in Redis
What the business gained
Operations see what is happening now, not yesterday. There are fewer manual reconciliations, exceptions are handled sooner, and one governed pipeline replaces many fragile ones.
+Related
More from Data engineering.
Global retail data lake
One multi-tenant data lake giving a global retailer’s C-suite a single view across 80+ countries.
80+countries unified
Read the story→SANGAM · EnterpriseCloud-native data platform
A microservices data platform on AWS and GCP, delivered on time by a 60-engineer team.
50%higher throughput
Read the story→SHUDDHI · EnterpriseData quality & low-code integration
Data-quality frameworks and low-code integration that cut development time for two enterprises.
60%less development time
Read the story→Put an agent to work.
Tell us the workflow you want to change. An architect replies, and if there is a fit we scope a four-week proof of concept on your own data.

