Backend Distributed systems Performance

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

03 Architecture

  1. 01Edge
    • Vehicle telemetry
  2. 02Ingest
    • Ingestion services
    • Partitioned workloads
  3. 03Messaging
    • ActiveMQ
    • Async middleware
  4. 04State
    • Redis cache
    • MySQL · Hibernate/JPA
  5. 05Serve
    • REST APIs
    • Fleet operations

Across every stage Thread & connection-pool tuning Docker

Fig. 02 Simplified view of the tracking path. Client systems are confidential, so names and internals are abstracted.

04 Key decisions

  1. 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.

  2. 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.

  3. 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

06 Outcomes

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.