Skip to content

Modernise your retail systems with Patchworks iPaaS

August 23

strangler fig picture

At Patchworks we talk to retailers all the time about integrating a new piece of technology into their tech stack, and often it’s for one specific requirement.  In our experience, having a “data layer” or “integration layer” in your tech stack can actually provide a merchant with more flexibility to choose between systems, and more importantly a clear architecture and approach to integrations that is more “composable” as per the principals of our MACH Alliance certified software.  But how to get there? One of the proven ways is to adopt the “strangler fig” pattern.

The "strangler fig" design pattern, as popularised by Martin Fowler, is a gradual approach to replacing or modernising legacy systems without disrupting the existing operations. It’s named after the strangler fig tree, which slowly grows around an existing tree until the old tree no longer exists.

Here’s how a retailer can use the strangler fig design pattern along with the Patchworks integration platform as a service (iPaaS) to modernise their tech stack:

1. Identify the Legacy Architecture’s Components

• Inventory: Start by mapping out the legacy architecture, identifying key systems, components and workflows, such as order processing, inventory management, customer data handling, etc.
 Assess: Determine which parts of the system are most critical and where the modernisation efforts should start. Common candidates are those components that cause the most issues or are most costly to maintain.

      2. Prioritise Modernisation Opportunities with immediate ROI

       Select a Target Area: Choose a specific function (e.g., order processing) to begin the modernisation process or start with a non-critical component to test the approach.  Look to deliver business benefits immediately either through saving costs or from increasing sales.
       Build or Integrate the New System: Buy the new platform or create a new microservice or component that performs the same function as the selected part of the legacy system. For example, modernise your EDI processing or integrate to a marketplace.

        3. Integrate New Components Using Patchworks

         Connect New and Legacy Systems: Use the Patchworks iPaaS to create integrations between the new system and the existing legacy systems. Patchworks  manages the data synchronisation, transformation and routing, workflow automation, and API mappings between the old and new systems.

          4. Route Traffic to the New System

           Gradual Transition: If possible start routing a portion of the data or specific data to the new system while still supporting the legacy system.  It might be that you integrate a new ERP for overseas orders that you will then use to replace the old ERP  so, for example, use Patchworks routing functionality to route based on the order country.
           Monitor and Iterate: Monitor the performance, reliability, and user feedback of the new component. Resolve any issues and gradually increase the load on the new system until it fully takes over.

            5. Decommission Legacy Components

             Retire Legacy Code: Once the new system has fully replaced the functionality of a part of the legacy system, decommission that part of the legacy system.
             Repeat the Process: Continue the process with other components of the legacy system, slowly strangling it until the entire system is modernised.

              6. Utilise Patchworks for Additional Capabilities

               Extend Integrations: As you add more new services or platforms, use Patchworks to continue connecting them, ensuring seamless data flow across your entire technology stack.  Quickly add blueprinted integrations to add new capabilities to your business.
               Centralised Control: Use Patchworks to maintain a centralised control over integrations, allowing you to easily manage and update your tech stack as it evolves.

                7. Full Modernisation and Flexibility

                 Complete the Transition: After all components have been replaced and the legacy system is fully decommissioned, the retailer will have a modern, flexible, and scalable tech stack.
                 Future-proofing: With Patchworks in place, adding or replacing new services in the future becomes easier, allowing the retailer to stay agile and adapt to new technologies or market demands.

                  Benefits of the Strangler Fig pattern:

                   Reduced Risk: By gradually transitioning to a modern system, the retailer can avoid the risks associated with a big-bang replacement.
                   Continuous Operation: The business can continue running with minimal disruption since the legacy system remains operational during the transition.
                   Flexibility: Patchworks provides a flexible integration layer that can adapt as the tech stack evolves, ensuring long-term agility.

                    In summary, we often see our agencies and customers using the "strangler fig" pattern with Patchworks to modernise their tech stack incrementally, reducing risks and ensuring continuity of operations. Patchworks facilitates seamless integration between the old and new systems, making the transition smoother and more manageable.

                    • Share on

                    You may also like

                    • 24th November: Patchworks Weekend Read

                      24th November: Patchworks Weekend Read

                      November 22

                    • Teveo Launches on the Patchworks iPaaS Platform

                      Teveo Launches on the Patchworks iPaaS Platform

                      November 22

                    • 5 Ways to Maximise ROI on Your Tech Investments with Patchworks Integrations

                      5 Ways to Maximise ROI on Your Tech Investments with Patchworks Integrations

                      November 20

                    • Future-Proofing Your Enterprise Tech Stack: The Role of Agile Integration

                      Future-Proofing Your Enterprise Tech Stack: The Role of Agile Integration

                      November 18

                    • 17th November: Patchworks Weekend Read

                      17th November: Patchworks Weekend Read

                      November 17

                    • Navigating Shopify’s API Update: REST to GraphQL Migration - What It Means for Your Business and How Patchworks Can Help

                      Navigating Shopify’s API Update: REST to GraphQL Migration - What It Means for Your Business and How Patchworks Can Help

                      November 14

                    • Chair Cover Depot Launches on Patchworks with Seamless TikTok Shop and Brightpearl Integration, Delivered by MRE Digital

                      Chair Cover Depot Launches on Patchworks with Seamless TikTok Shop and Brightpearl Integration, Delivered by MRE Digital

                      November 13

                    • Unlocking ROI of Integration: How iPaaS Transforms Your Business Efficiency

                      Unlocking ROI of Integration: How iPaaS Transforms Your Business Efficiency

                      November 12

                    • 10th November: Patchworks Weekend Reads

                      10th November: Patchworks Weekend Reads

                      November 08

                    • Seamless Scalability for Evolving Consumer Demands

                      Seamless Scalability for Evolving Consumer Demands

                      November 06

                    • Bluebella Launches on the Patchworks Platform

                      Bluebella Launches on the Patchworks Platform

                      November 06

                    • The Last Mile Challenge: Ensure Your Tech Stack Doesn’t Fail during High-Volumes

                      The Last Mile Challenge: Ensure Your Tech Stack Doesn’t Fail during High-Volumes

                      November 04

                    • Find out how we helped Success Partners increase their conversion by 256%

                      Find out how we helped Success Partners increase their conversion by 256%

                      June 28

                    • Find out how we helped Success Partners increase their conversion by 256%

                      Find out how we helped Success Partners increase their conversion by 256%

                      June 28

                    Get expert advice in your inbox monthly.