back

How to Modernize a Legacy Architecture Without Losing Its Core? 

Case study
Cover of the conversation: How to Modernize a Legacy Architecture Without Losing Its Core? Photo of Alexander Friesen on the purple background with caption Interview with our client

About the company: Primion Technology 

Primion Technology is a German company that belongs to the multinational Azkoyen Group. For over 30 years they have been equipping businesses with converged and customised security solutions. 

Collaboration with People More 

We have provided services to Primion Technology where our experts audited existing core software products and prepared a plan to deliver on newly defined architecture. Our specialists delivered back-office, client’s web and mobile applications. 

How’s AI changing the publishing industry? Check out our talk with Robert Zilz. 

Meet Alexander Friesen, R&D Director and CTO of Primion Group

Mateusz Cieślak's avatar
Mateusz Cieślak

Alexander, could you briefly describe the legacy technology stack that Primion Technology has been working with?

Alexander Friesen's avatar
Alexander Friesen

Our legacy application at Primion Technology is a testament to over three decades of development and contains incredibly valuable, battle-tested business logic. This is the core of our offering, built over many years to serve our customers effectively. 

However, over the course of those 30 years, the system’s architecture lacked dedicated attention. As a result, the application's layers  — the user interface (GUI), the business logic (backend), and the data storage  — have become tightly interwoven. They've essentially grown together into a single, monolithic structure. 

Mateusz's avatar
Mateusz

What prompted the decision to modernize it?

Alexander's avatar
Alexander

This tightly coupled architecture has led to several critical issues. Maintenance became extremely challenging, because the layers are so intertwined. Changing one part of the code could lead to unpredictable ripple effects throughout the entire application. Even a simple fix might introduce new, unexpected bugs, making development a high-risk activity. 

The monolith’s complexity made isolating and fixing issues difficult, increasing technical debt and bug counts. Moreover, the difficulty of making changes meant that implementing new features or responding to customer needs was a slow, laborious process. We were no longer able to innovate at the pace the market demands. 

In short, while the business logic remains our greatest asset, the legacy architecture has become a significant liability. We needed to preserve the valuable business logic while disentangling it from the old, rigid structure to regain our agility and ensure we can continue to serve our customers with a high-quality, modern product.

Mateusz's avatar
Mateusz

What were the biggest technical issues you faced during the modernization process?

Alexander's avatar
Alexander

Our main technical challenge has been the extraction of business logic from the ultra-configurable monolith. The system was designed to be highly customizable, but this flexibility came at a cost. Our valuable business logic was deeply embedded within the legacy architecture, making it difficult to isolate and refactor. 

First, we had to identify and prioritize parts of the legacy application that deliver the most value to our customers. This required deep collaboration with stakeholders to ensure our modernization efforts were focused on the right areas. 

Once we identified the valuable features, we had to redesign them for a modern user experience. This involved creating intuitive interfaces that would improve usability without sacrificing the functionality our customers rely on. We chose a frontend-driven refactoring approach, where we built new user interfaces on a modern stack and progressively connected them to the legacy backend. This allowed us to deliver visible improvements to our users while gradually decoupling the backend. 

Mateusz's avatar
Mateusz

And what about organizational challenges?

Alexander's avatar
Alexander

The biggest organizational hurdle was integrating new people into this process. We've brought in new talent with fresh perspectives on modern technologies and methodologies. The challenge was not just to hire them but to form them into a performant organizationa cohesive team that could work together seamlessly to execute this complex, multi-layered modernization plan. Building this team and getting everyone aligned on a new way of working has been just as critical as the technical work itself.

Mateusz's avatar
Mateusz

How did you prioritize which systems or components to modernize first? Was it driven more by business needs or technical limitations?

Alexander's avatar
Alexander

We chose a business-first approach to modernization, prioritizing systems and components with the greatest positive impact on our business and our customers. This meant we didn't just modernize for the sake of it; we strategically targeted areas that were causing the most pain. We looked at which parts of the application generated the most revenue, which ones were the most frustrating for our customers, and which ones were slowing down our development teams. 

By focusing on these high-value areas, we ensured that our modernization effort was a strategic investment, delivering tangible business results and demonstrating a clear return on our efforts. 

Mateusz's avatar
Mateusz

Can you share any specific technologies, frameworks, or architectural patterns that played a key role in the modernization journey?

Alexander's avatar
Alexander

We've opted for a platform-first approach as the core architectural pattern for our modernization journey. While microservices offer great flexibility, they also introduce significant operational complexity, which we've chosen to avoid given the specifics of our business.  

Instead, we're focusing on our core business logic and extracting everything else into maintainable, off-the-shelf (COTS) platforms. This strategy allows us to leverage industry-standard, well-supported technologies while keeping our R&D focus on what truly differentiates us. 

Mateusz's avatar
Mateusz

How has the modernization process impacted your business and the overall agility of the organization?

Alexander's avatar
Alexander

While the modernization is still in progress, we are already seeing a significant impact on our business and a clear increase in our organizational agility. The most profound effect has been our ability to "shift problems left" within our development lifecycle. Previously, due to the complexity of our legacy monolith, issues would often surface late in the process, requiring urgent fixes that disrupted our roadmap.  

With our new approach, we are catching and resolving problems much earlier, leading to higher-quality code and a fewer production bugs. This new process is allowing us to free up capacity for our core business.

Mateusz's avatar
Mateusz

Looking ahead, what lessons learned from this process would you share with other companies considering a similar transformation?

Alexander's avatar
Alexander

The most important lesson we've learned is that there is no easy button for this kind of transformation. Refactoring a monolithic application with decades of valuable business logic is an incredibly complex undertaking that simply cannot be delegated to an AI or an automated tool. It requires deep human expertise, strategic thinking, and a willingness to confront complexity head-on. 

That said, if I were to share a key piece of advice, it would be to pragmatically focus on creating a clear, modern interface to your legacy system. We've considered that a very good idea is to first work on cleaning up at the lowest, most foundational level of the application and then expose a well-defined schema. 

This architectural pattern allows you to establish a clean contract with the legacy system, enabling new development to proceed on a modern stack without having to wait for the entire monolith to be deconstructed. There is no one-size-fits-all solution, but a pragmatic, well-evaluated approach is the only way forward.

Mateusz's avatar
Mateusz

Thank you for your time! It was great having you here.

You’ve just read a conversation with Alexander Friesen. 

Your legacy stack needs modernizing? Don’t wait — let’s see how we can help

author
Mateusz Cieślak