Download this must-have guide to start your marketing automation journey.

Blog
Infrastructure at Webmecanik
3 min read

Infrastructure at Webmecanik

As proposed on Mautic’s open-source GitHub project, it is recommended to choose a LAMP stack infrastructure. We ruled out this option because performance would very quickly become limited as soon as we exceeded around ten clients, and this would have made our service unusable. We also hosted at Webmecanik the software of certain companies that were using Mautic Open Source with a substantial contact database, for example because they were very quickly reaching the limit of the infrastructure recommended by Mautic.

A horizontal scalability approach

To overcome this, we chose to pool resources from several VMs so as not to be limited by the capacities of a web server.

We therefore chose to:

  • set up a load balancer
  • boost the performance of the existing database for our clients with standard use of the software
  • install a new high-performance database to which we moved the databases of our most resource-intensive clients

Today, our infrastructure consists of 6 application servers, including 5 high-availability VMs and 1 dedicated server, 2 file servers (filers), including 1 high-availability VM and 1 dedicated server, our load balancer, and our two databases. We are now in a position where installing a new application server is trivial.

As for the databases, they can still be scaled up before it becomes necessary to install new ones.

In other words, it is now easy for us to scale horizontally with each new client, and when it becomes necessary to install a new database, we will implement a database partitioning strategy that will allow us to easily distribute data across several servers.

We train our clients, and they use the software more and more

As a result of our clients making good use of the software, another challenge posed by the Mautic software was the distribution of scheduled tasks. Indeed, for each installed instance, it is necessary to set up several scheduled tasks to allow the updating of segments, campaigns, and the sending of emails.

The more clients use the platform, the longer the tasks become and the more of them there are to process.

On this new infrastructure, we could not let each application server execute these tasks in parallel, because that would have created a competitive situation. We therefore decided to set aside one of the web application servers to focus on the scheduled tasks of the entire infrastructure. We therefore set up a system that limited the maximum number of scheduled tasks running. This system allowed us to guarantee quality service under normal conditions and a reduced service that prevented a total system failure during periods of very high activity. This system served us well for a long time, but it depended on the sizing of a single machine and was therefore temporary.

We started working on a new system that would allow us to distribute these tasks across our entire infrastructure. Internally, we named this system: the sequencer.

The sequencer had to address many issues:

  • How can a task be sent to the most available machine?
  • How should tasks that fail be handled?
  • And how can the same task be prevented from being executed on several machines at the same time?

The sequencer has recently been deployed on our infrastructure. Following the positive response of our infrastructure, we can accommodate more instances and even improve our performance.

Continue exploring articles

The Annecy-based software publisher Webmecanik, taken over by its management team

After 10 years of sustained growth, software publisher Webmecanik is being taken over by its management team. Sophie Panot becomes President and retains her duties as CRO (Chief Revenue Officer), Norman Pracht remains CEO, and David Coutelle remains Technical Director. The ambition of the trio of managers, by buying the company’s shares from its founder […]

2023 Retrospective at Webmecanik

Let’s take advantage of the start of this year to look back at 2023. This retrospective reviews the key events at Webmecanik over the past year, the business and economic context, as well as a contextual approach to our sector of activity, which has inevitably been impacted by national, European, and global economic news. An […]

Webmecanik acquires CRM software vendor GRC Contact

Interview: find out why Webmecanik is acquiring CRM software vendor GRC Contact  Webmecanik, the leading French marketing automation software vendor, is continuing its acquisition-led growth strategy with the purchase of a new company: GRC Contact. With several hundred customers, this company based in Aix-en-Provence has been offering CRM software to businesses since 2010.  After the […]

2FA, double factors authentication: protect yourself and your data

As you may have already noticed, multiple factors authentication is now widely used to log in to your favorite personal and professional applications. Even though you find it annoying, it protects you and your data that so we should learn to understand and love it ?. In this article, we will review in a simple […]

The CNIL declares Google Analytics illegal

On February 10, 2022, the CNIL delivered its verdict following complaints from an association (NOYB) against a website operator. The latter was transferring collected data to the United States through its use of Google Analytics. What does this decision mean for the future of Google Analytics? How can you continue to analyze your website’s performance? […]

2021, A RETENTION RECORD FOR WEBMECANIK

The Webmecanik teams are very happy, and so are its customers! The figures are impressive: 100% of employees remained engaged, 6 new positions were created and more than 96% of subscription revenue for the Webmecanik Automation SaaS software was renewed. +33% revenue, above targets  Subscriptions to Webmecanik Automation and Webmecanik Academy software now account for […]