Mailwizz installed on Multiple servers

justme

Member
@twisted1919 how can someone install mailwizz on a cluster? ex 10 or more servers so we can spread the resources across multiple servers? ex db(s), queues, lists, campaign archives, forms etc? that way for big installs we can optimize the network
 
Hey,

I don't think this is something specific to mailwizz alone, but the approach should be the same as for wordpress or drupal or any other popular cms for instance.
here's a starting point:
1. http://stackoverflow.com/questions/5085599/how-to-load-balance-a-php-application
2. http://stackoverflow.com/questions/3384286/how-to-load-balance-scale-a-simple-php-application
3. http://blog.jelastic.com/2013/02/19/php-session-clustering-and-load-balancing-in-the-cloud/

As a note, i have never did this like so, so i don't know exactly how you should approach it.
Hope it helps.
 
Hi I have it installed on multiple servers:

2 frontend (expandable) with APF firewall, I use HTTPS on the loadbalancers with persistent connections

3 DB Galera Cluster using www.severalnines.com behind a loadbalancer
Redis installed on single server (expandable) behind load balancer (expandable)

The one thing you do have to do is mirror the folders where, web version campaigns are placed, essentially I mirrored the frontend folder. I use Lsyncd, very fast and have yet to encounter an issue.

I'm currently looking at php-fpm, I've been reading about deploying a cluster which delivers PHPaaS this means you can have low end frontend servers and deploy servers configure specifically for PHP which in our case is sending load.

Haven't tried it yet but some bench marks I saw show a better performance for your buck and an easier setup to manage.
 
Last edited:
:p

btw thanks for the article and links above. our admins will love that for sure :)

PS for the 3 DB Galera Cluster using www.severalnines.combehind a loadbalancer you use the community edition or the Pro?
 
No worries. I use the CE version, they charge 2000 euros a node per year, or they used to, for pro version.

You get a 30 day trial licence of the Pro UPDATE, "this is now 14 day trial" so that you can install and make up your cluster with all functionality.

What I can't do via the CE I do using CLI or workbench.
 
Last edited:
Rob,

Not sure I understand how the sending scales, can you expand on that?

I fully get the front end web, etc. We use AWS load balancer with multiple instances for other projects.
 
Hi

In which scenario? The one I currently have or the hypothetical one with PHPaas?

Cheers

Rob
 
:p

btw thanks for the article and links above. our admins will love that for sure :)

PS for the 3 DB Galera Cluster using www.severalnines.combehind a loadbalancer you use the community edition or the Pro?

This is a great article on how to deploy a multi server environment
Code:
http://severalnines.com/blog/scaling-drupal-multiple-servers-galera-cluster-mysql

I've never used csync2 so will give it a go.
 
Because when you use parallel sending you can have them running on multiple servers, each worker process picks up a campaign and runs with it. Those processes consume server resources.
 
I don't have a particular problem, or have an issue with sending. Simply did not understand how the platform scaled on the send side. Being an email platform, it appears to me that the send side is simply key.
 
@Inet Having multiple servers isn't just about sending rate it's about keeping the service up to as many 9s as possible. It also helps with updates, you can do a rolling update across frontend servers. On top of that there are various laws & regulations around the world relating to data protection and email marketing so with a clustered environment I can deploy across multiple regions keeping customers data within their areas.
 
Back
Top