Real-Time Fleet & Transport Platform
Doubling the capacity of a live vehicle-tracking platform without losing accuracy.
- Role
- Backend engineer (Software Engineer → Senior Software Engineer)
- Context
- Entiovi Technologies — transport clients
- Period
- Dec 2022 – 2025
- Status
- Delivered
- 10k → 20k+
- vehicles tracked in real time
- 99%
- real-time data accuracy across bulk fleet operations
01 Problem & context
Transport clients relied on the platform for real-time vehicle tracking and bulk fleet operations. Every position update had to be ingested, processed, cached and served while it was still current.
The platform needed to carry twice the fleet — from 10,000 to more than 20,000 vehicles — without the data becoming less accurate under bulk load.
02 My role & ownership
- Re-architected the ingestion, messaging and caching paths of the tracking microservices.
- Designed the asynchronous middleware layer on Spring Boot and ActiveMQ, with Redis cache optimisation.
- Diagnosed and resolved production metric discrepancies across distributed services.
- Worked across the Hibernate/JPA data layer, REST APIs, concurrency tuning, production support and root-cause analysis.
03 Architecture
-
01Edge
- Vehicle telemetry
-
02Ingest
- Ingestion services
- Partitioned workloads
-
03Messaging
- ActiveMQ
- Async middleware
-
04State
- Redis cache
- MySQL · Hibernate/JPA
-
05Serve
- REST APIs
- Fleet operations
Across every stage Thread & connection-pool tuning Docker
04 Key decisions
-
D1
Partition the work, then tune the pools
Capacity was doubled by partitioning workloads and tuning thread and connection pools across ingestion, messaging and caching, rather than by adding hardware alone.
-
D2
Asynchronous middleware between ingestion and processing
Spring Boot + ActiveMQ middleware moves bulk fleet load onto queues, so ingestion and processing are decoupled. This improved reliability, latency and throughput under bulk load.
-
D3
Cache on the hot path
Redis cache optimisation was part of the middleware work that improved latency and throughput while tracking state changes continuously.
05 Engineering challenges
- Real-time metrics disagreed across distributed services under bulk operations. Getting to 99% accuracy meant tracing the discrepancies between services and fixing them at the source.
- Doubling throughput and keeping data correct at the same time — capacity work that dropped accuracy would not have counted.
06 Outcomes
- Fleet capacity doubled, from 10,000 to more than 20,000 vehicles, with no loss in accuracy.
- 99% real-time data accuracy across bulk fleet operations.
- Better reliability, latency and throughput under bulk load through the asynchronous middleware.
07 Technology & why it fits
- Java · Spring Boot · Spring MVC
- Service runtime and REST APIs for the tracking microservices.
- ActiveMQ
- Queue-based asynchronous middleware that absorbs bulk load.
- Redis
- Cache for hot tracking state on the read path.
- MySQL · Hibernate/JPA
- Durable relational store and data-access layer.
- Docker
- Packaging for the services.
08 Related systems
Want the detail behind a decision? The portfolio assistant can walk through this system at whatever depth you need.