OMS · TMS · WMS · EPOD
Use-case analysis, data modelling and technical support across logistics applications—from investigating a slow order-count query to designing delivery-evidence recovery for weak mobile connectivity.
The challenge: help dedicated project teams resolve technical problems while keeping application behaviour aligned with operational needs.
My contribution: requirements and data-model analysis, architecture design, infrastructure investigation and deployment support, and technical guidance to the programmers responsible for implementation.
Technology stack
- PHP applications
- PHP · Laravel
- Java applications
- Java · Spring
- Data
- MySQL
Support the teams responsible for delivery.
Alongside my primary KL Club responsibilities, I participated in use-case analysis and data modelling across OMS, TMS, WMS and EPOD. Each application had its own project team and programmers responsible for feature implementation.
I provided technical guidance when programmers had questions or encountered difficult problems, and participated in infrastructure investigation and deployment work. My remit covered the application and infrastructure architecture, with project programmers generally handling routine work and bringing more difficult issues to me.
For the examples below, I personally diagnosed the OMS performance issue and proposed the solution for a programmer to implement. For EPOD, I designed the architecture for retaining and retrying delivery evidence when connectivity failed.
Distinct systems supporting a physical operation.
| Application | Operational responsibility |
|---|---|
| OMS | Client order intake and distribution to downstream logistics applications. |
| TMS | Delivery planning, courier and driver assignment, scheduling and execution. |
| WMS | Inbound and outbound operations, inventory, stock allocation, transfers, picking, packing and warehouse workflows. |
| EPOD | Capturing signatures and photographs as evidence of parcel delivery. |
My role across these applications connected business use cases with data models, technical decisions and operational constraints. The implementation remained with the respective project programmers.
A five-second query behind a navigation badge.
The problem
The Laravel OMS displayed order counts by status as badges in its navigation. Each page navigation reloaded the page and recalculated the counts, repeatedly running a query that took approximately five seconds.
Some order statuses were derived from other fields rather than being a simple stored status value. Calculating counts across those dynamic statuses made the aggregation expensive.
My investigation
I investigated the database performance, using MySQL slow-query logging to identify the expensive query and tracing it back to the application behaviour that generated it. Working with an ORM made locating the originating code less direct than matching a handwritten SQL statement.
The key finding was the combination of an expensive aggregate and how often the interface requested it. The navigation badge caused the calculation to be repeated during ordinary page access.
The decision
I questioned whether the counts actually needed to be real time. They were an overview in the navigation, and the business did not require a new calculation on every page load.
Serve the navigation badge from cached aggregate values and refresh those values at five-minute intervals, rather than recalculating them for every page access.
I diagnosed the issue and provided the recommendation and solution to the responsible programmer for implementation.
The trade-off
Users could see counts that lagged behind recent order changes by roughly the refresh interval. That was acceptable for a navigation overview and allowed the design to avoid repeatedly requesting an expensive real-time aggregation.
The important decision was about freshness requirements. Query tuning remained a useful investigation tool, but this particular solution changed how frequently the application needed the calculation.
Preserve delivery evidence when the mobile signal fails.
The operational problem
Couriers often delivered parcels inside industrial buildings with weak mobile coverage. Customers needed to sign on the courier’s EPOD application, and the courier also needed to capture a photograph as delivery evidence.
When the application could not complete the upload inside the building, couriers sometimes had to move outside to regain connectivity. Signatures or photographs could be lost in the process, leaving orders without delivery evidence. Management needed a way to retain that evidence through the network interruption.
The architecture I designed
I designed an offline session on the phone so failed uploads could be retained locally and retried when connectivity returned. Each locally stored item was associated with its order ID.
- Capture the evidence. The customer signs on the courier’s phone, or the courier takes a photograph.
- Retain a failed upload. If the upload request fails because of connectivity, save the evidence locally on the phone with its order ID.
- Monitor connectivity. A background job on the phone checks network availability.
- Retry automatically. When connectivity returns, call the API again to upload the locally retained items for the relevant orders.
Why the order ID mattered
The evidence needed to remain associated with the correct delivery while waiting on the device. Retaining that association allowed the later API request to upload the signature or photograph for its order.
The trade-off
The design introduced local storage and background retry behaviour, and server-side evidence could arrive later than the physical delivery. In return, the workflow could retain captured evidence through a temporary loss of connectivity instead of depending on an immediate successful upload.
My responsibility was the architecture of this recovery flow. The implementation belonged to the application’s development team.
Investigate across application and infrastructure boundaries.
When project programmers encountered problems they could not resolve, I helped investigate across the application and infrastructure architecture, provided technical direction and supported deployment work.
Database troubleshooting included examining slow-query logs, identifying the application code responsible for ORM-generated SQL and evaluating possible changes such as indexes or query restructuring. The appropriate recommendation depended on the workload and the business requirement; the OMS badge was a case where caching addressed the need more directly.
This support complemented my involvement in use-case analysis and data modelling. It connected design discussions with the behaviour of deployed systems and gave programmers a technical escalation path when implementation or infrastructure issues became difficult.
Resolve the technical issue in its business context.
The OMS investigation asked whether a costly real-time calculation was necessary for the information being displayed. The EPOD design addressed the reality that a courier could complete a physical delivery in a location where an upload could not succeed.
Both required understanding how people used the application before selecting a technical approach. My contribution was to investigate, model the problem, design or recommend a solution, and support the programmers responsible for implementing it.