Optifacts Legacy System Modernization
Containerized Failover Solution
Architected and developed a containerized failover and load-balancing solution using Docker and Python/FastAPI to enhance the reliability of a fragile legacy Optifacts application, directly addressing a critical single point of failure.
Client
Luxottica
Completion
3 months
Category
Infrastructure Modernization
Situation
The Optifacts system, a critical component for lab ticket printing, was built on a fragile, hard-coded architecture. Each server was statically assigned to specific stores, creating single points of failure.
Task
Design and build a resilient, scalable failover and load-balancing solution for the legacy Optifacts system without a costly and high-risk rewrite of the core Perl application.
Action
→Architected a lightweight, containerized control system using Docker
→Developed the core controller using Python 3.11 and FastAPI framework
→Innovated the health check process with file-count-based queue monitoring
→Containerized the legacy Perl application to run in a modern Docker environment
Results
✓Eliminated a critical single point of failure, ensuring business continuity
✓Introduced load-balancing capabilities, improving overall system efficiency
✓Provided a scalable, modern framework that can be easily expanded
✓Showcased a cost-effective and low-risk strategy for modernizing legacy applications