Delivered remotely for a business based in Antwerp, Belgium. Names withheld by agreement.
Project Overview
High-volume third-party logistics facilities near major maritime hubs juggle thousands of inbound containers, mixed-SKU pallets, and tight same-day carrier cutoffs across dozens of merchant clients simultaneously. When floor teams rely on paper pick lists or loosely coupled inventory scripts, phantom stock accumulates in reserve racking, forklift operators travel unnecessary aisles, and 3PL billing disputes drag on every month-end.
Built for a multi-client fulfillment operator in Antwerp, we developed warehouse management software grounded in Java, Spring Boot, and PostgreSQL. The platform governs physical warehouse movement from dock-door ASN receiving through directed slotting, barcode-verified wave picking, pack-station validation, and automated client ERP synchronization.
Floor Execution & Inventory Drift
Operating multi-tenant distribution centers under real-world throughput pressure surfaces four critical engineering challenges:
- Phantom inventory from race conditions: Concurrent wave releases and ad-hoc cycle counts corrupt stock balances when systems increment and decrement simple integer counters without strict locking.
- Inefficient travel and congestion: Uncoordinated pick lists send multiple operators down the same narrow aisle while fast-moving SKUs sit buried in distant high-bay slots.
- Lot and expiry blind spots: Mixed-batch pallets require strict FEFO (First Expired, First Out) enforcement and instant recall traceability—impossible when stock tracks only SKU totals.
- Opaque 3PL billing events: Reconciling pallet-days, pick touches, and value-added kitting labor manually from exported spreadsheets invites margin leakage and client friction.
Architectural Strategy
We designed the WMS around an append-only inventory movement journal coupled with strict bin-level balance locks in PostgreSQL. Physical inventory never teleports or mutates silently; every scan records an explicit source location, destination location (receiving dock, reserve rack, forward pick face, picker tote, pack bench), quantity, lot code, and operator ID inside a Spring Boot @Transactional boundary.
A React desktop control tower equips supervisors with wave planning, dock scheduling, and heatmap slotting views, while a stripped-down, high-contrast React handheld interface drives Zebra and browser-based barcode scanners with zero mouse interaction required.
Core Capabilities
- Dock Receiving & Directed Putaway: Matches inbound deliveries against client ASNs, captures lot/expiry codes, prints GS1-128 pallet labels, and assigns optimal reserve or forward bins based on velocity and weight rules.
- Dynamic Slotting & Replenishment: Monitors forward pick-face minimums continuously and dispatches forklift replenishment tasks before active waves stall on empty bins.
- Wave, Batch & Zone Picking: Groups orders by carrier cutoff, aisle zone, or single-line efficiency, guiding pickers along shortest-path bin sequences with mandatory location and item barcode confirmation.
- Pack-Station Verification & Carrier Labels: Re-verifies picked totes against carton weights and item barcodes before generating ZPL thermal shipping labels and triggering ASN/shipment webhooks.
- Cycle Counting & Discrepancy Quarantine: Isolates short-picks automatically into supervisor recount queues without halting adjacent pickers.
- Multi-Tenant 3PL Billing Stream: Emits standardized Kafka events for every receipt, daily bin occupancy snapshot, pick touch, and special handling task.
Technical Architecture
Client ERPs push inbound ASNs and outbound fulfillment orders into Spring Boot REST and EDI gateways. Wave planners evaluate PostgreSQL stock reservations and Redis task claims to generate directed work queues for React handheld terminals, while every committed stock movement publishes an asynchronous domain event to Kafka for client webhooks and billing aggregation.
Flow: Client ERP / EDI Orders → Spring Boot API Gateway → Wave & Slotting Engine → PostgreSQL Inventory Ledger & Redis Task Locks → React RF Handheld & Supervisor Console → Apache Kafka Movement Stream → Client Webhooks & 3PL Billing Engine
Separating synchronous transactional bin commits in PostgreSQL from downstream Kafka consumers ensures external ERP webhook slowdowns never freeze an operator standing at a pack bench with a barcode scanner.
Technology Stack
| Category | Technology detail |
|---|---|
| Core WMS Engine | Java 21 and Spring Boot executing transactional inventory ledgers, wave planning, and slotting rules |
| Relational Ledger | PostgreSQL persisting tenant-isolated bins, stock balances, lot/expiry attributes, and scan logs |
| Supervisor & RF UI | React and TypeScript providing desktop floor control towers and lightweight handheld barcode workflows |
| Task & Lock Cache | Redis coordinating active pick-task claims, bin reservations, and fast barcode lookup caches |
| Event Streaming | Apache Kafka emitting immutable stock movements for client ERP webhooks and 3PL storage billing |
| EDI & Client APIs | REST and webhook gateways syncing ASNs, sales orders, and shipping confirmations with client systems |
| Label & Print Bus | Asynchronous ZPL thermal label rendering for GS1-128 pallet tags, bin barcodes, and shipping labels |
| Deployment Runtime | Dockerized Spring Boot microservices supporting isolated tenant workloads and predictable rollouts |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Heavy multi-order wave planning queries can contend with live barcode scan writes | Isolated wave-generation reads onto read-tolerant planning snapshots and committed final bin reservations in short, sorted-key lock transactions to avoid deadlocks. |
| Browser-based RF screens lag if they load heavy dashboards or wait on thermal label PDFs | Built a minimal keyboard/scanner-first React route with pre-fetched next-task payloads and offloaded ZPL printer spooling to async worker queues. |
| Shared warehouse zones mix multiple 3PL clients in adjacent bins, risking cross-tenant mistakes | Enforced tenant-scoped barcode prefixes and explicit Spring Security query filters across every service repository, trading slightly longer bin-tag scans for strict isolation. |
| Calculating 3PL invoice storage fees by querying raw movement logs locks reporting tables | Streamed daily occupancy snapshots and billable touch events over Kafka into dedicated billing rollups, keeping the operational PostgreSQL ledger lean. |
Tenant Isolation & Audit Traceability
Multi-tenant 3PL operations demand ironclad data boundaries alongside total physical traceability. Spring Boot injects mandatory tenant context from authenticated API credentials and supervisor session scopes into every database repository call, preventing one merchant client from ever querying another's inventory levels or inbound ASNs.
Every handheld scan logs the authenticated operator badge, timestamp, scanned bin check-digit, and SKU/lot barcode into an immutable PostgreSQL journal. When a client questions a damaged unit or missing batch, supervisors trace the exact chain of custody from container unload to carrier manifest within seconds.
Concurrency Under High-Velocity Picking
During afternoon carrier-cutoff sprints, dozens of pickers and forklift drivers scan thousands of locations concurrently. To prevent deadlocks when multiple tasks touch overlapping SKUs, Spring Boot services acquire PostgreSQL FOR UPDATE row locks in deterministic (tenant_id, sku_id, bin_id) order and keep transactions strictly confined to inventory validation—never holding database locks across external network calls or printer sockets.
Redis caches static SKU barcode mappings, aisle coordinates, and active operator task claims so handheld terminals receive sub-100ms scan acknowledgements across the warehouse floor.
Operational Outcomes
Replacing manual pick sheets and disconnected client spreadsheets with a transactional Spring Boot and PostgreSQL warehouse core elevated execution across every shift:
- Trusted real-time bin accuracy: Mandatory check-digit and item-barcode validation paired with atomic ledger locking keeps digital stock aligned with physical racking.
- Higher pick-path discipline: Directed wave sequencing and proactive forward-pick replenishment cut wasted operator aisle backtracking during peak cutoffs.
- Audit-ready batch traceability: Full FEFO enforcement and end-to-end movement journals satisfy strict retail and regulated-goods compliance reviews effortlessly.
- Transparent client billing: Immutable Kafka movement and occupancy events eliminate end-of-month invoice disputes between warehouse operators and 3PL clients.