Faster deal processing
Lines of legacy code rewritten
with AI
Stores updated without a single
system freeze

OUR APPROACH
THE IDEA
Resilience for High-Volume Events
A large retailer was in the middle of a broader modernization initiative. This included updating its merchandising software platform, built in Talend. The platform handled company-wide promotional deals by pushing pricing and other details to 2,000+ retail store point-of-sale systems.
The existing system had become brittle, slow, and caused frequent bottlenecks in scale and performance. Its limitations included:
•
Maximum of 1,000 SKUs per deal
•
Up to 24 hours to process large deals to all stores
•
30 minutes to process a single update
•
Threat of slowdowns during high-volume events
The retailer asked UDig for a “like-for-like” system that could process and integrate the same promotions the same way, but without bogging down or – even worse – threatening to fail. They wanted to quickly onboard a resilient platform, with no disruption to current operations.
UDig envisioned a more robust deliverable: A faster, updated infrastructure that was not only resilient, but scalable. UDig leveraged AI to complete the project far more quickly than anticipated and help the retailer efficiently shift from its old platform to remove merchandising bottlenecks.
THE PROCESS
AI-Enabled Programming Efficiencies
AI was able to accelerate this complex modernization project by helping analyze and rewrite over 180,000 lines of legacy Java code. This paved the way for a faster, scalable platform, deprecating the old Talend platform.
But parsing code with AI isn’t as simple as uploading program data and writing a clever prompt. The 180,000 lines of code were far more than the 1,000 lines of code that the typical AI platform can hold in memory. UDig developed accommodations which included:
•
Re-engineering the existing Talend job, which had Java backend logic
•
Using Windsurf AI to analyze and help rewrite logic in Python Visualizing and separating
•
Visualizing and separating program processes into working components
•
Identifying and removing unnecessary logic loops
To best leverage AI’s capabilities, the UDig team combined their technical knowledge to develop a unique process. The team compartmentalized each of the overall job components into AI-friendly sizes for analysis and optimization.
AI helped to uncover and streamline inefficiencies in the old program. Additional enhancements to logistics and computations helped speed up code translation and comprehension.
Leveraging AI efficiently allowed for the project to be completed in half the estimated time.

THE IMPACT
Early one Tuesday morning, the retailer piloted the new system by pushing promotions to one test store. The system was programmed to send a version of every type of possible deal, plus new gift card capabilities. In the testing process, 10x more SKUs were added than the retailer had ever used or planned to use, but the new system didn’t even blink.
•
10x more SKUs processed 40x faster than previous jobs
•
Single updates in seconds instead of 30 minutes
•
No bottlenecks or slowdowns for even an “overloaded” system
With the test cleared, the retailer smoothly rolled out the platform to over 2,000 stores.
This improvement eliminated the risk of system freezes during high-traffic events, removing any worries about downtime or merchandising bottlenecks. More reliable performance under pressure means this retailer now has faster processing, more resilient infrastructure, and readiness for future scale.











