Case study · Jeeny · Platform
From a PHP monolith to Java, with zero downtime
Jeeny moved 100% of its production traffic from a PHP monolith to Java services, behind an API gateway and BFF layers. Millions of riders and drivers saw no downtime, and the mobile apps needed no update. I was a core engineer on the team.
2×throughput
−50%cost
1M+records in under a second
100%of production traffic moved
How it works
ClientsRider and driver apps
EdgeAPI gatewayFeature flags
BFFBFF layers
ServicesJava servicesPHP monolith, while it lasted
The problem
Jeeny's backend was one PHP monolith. It had to move to Java while a live ride-hailing service kept running.
My part
I moved legacy PHP services to Java and Spring Boot with virtual threads. The new services reached twice the throughput at half the cost, and process more than a million records in under a second.
How the team did it
- Coexistence, not replacement: the old and new systems ran side by side.
- Traffic moved in stages at the edge, behind feature flags.
- Every stage had a rollback path.
Code
// Sketch of the pattern @RestControllerclass TripController { @GetMapping("/trips/{id}") Trip show(@PathVariable long id) { return trips.find(id); // one virtual thread per request }}
A short sketch of the pattern.
Results
- 100% of production traffic moved, with zero downtime.
- The mobile apps needed no update.
- Twice the throughput at half the cost on the services I moved.
- Replatform Performance Award, 2026.