pradeep sharma
Active Member
Dear @twisted1919
We have implemented mailwizz behind a Load Balancer to to implement high Availability application systems
Both at database level(using MYSQL MASTER-MASTER MASTER-SLAVE database cluster and a LoadBalancer and it works perfects) & at Application Level. But Now we are facing a bit difficulty while implementing Clustering at application level
Problem :
There are some cache files/Import/export csv files/ generated on application server at public_html/apps/common/runtime/ directory which need to be synced to another application running in master-master Configuration in real time with no time lag. in our scenario each request by the user is distributed in round rubin to cluster of applications running behind load balancer. So files generated on APP-1 application are not found and retrieved by APP-2.
can we implement separate file/cache server where all the cache generated by user or application is saved/retrieved at run time so there is no need to sync cache file over each application server.
if we can implement this can you give us few tips to implement this. My Developers can implement this but we are not sure how the rest of things and feature will be behave after this.
Can we implement a separate server(keeping directory structure same) to save files of User HTML Template/Images and Template Gallery by Admin as thsi is also a road block to implement High Availability Cluster of Application.
in NutShell We need to achieve that application should not generate any file in runtime or anytime on its local server. if files are generated by application in runtime then it should be saved in remote file server to keep consistency while rotating the user request over cluster of application.
Note: Thanks for implementing & Saving Session data in DB as it was another one of the biggest roadblock to implement HA application which is already solved.
You can also implement or add this option as a feature in future release if possible. it will solve the roadblock of Mailwizz on Cluster and will increase the scalability at horizontal level.
We have implemented mailwizz behind a Load Balancer to to implement high Availability application systems
Both at database level(using MYSQL MASTER-MASTER MASTER-SLAVE database cluster and a LoadBalancer and it works perfects) & at Application Level. But Now we are facing a bit difficulty while implementing Clustering at application level
Problem :
There are some cache files/Import/export csv files/ generated on application server at public_html/apps/common/runtime/ directory which need to be synced to another application running in master-master Configuration in real time with no time lag. in our scenario each request by the user is distributed in round rubin to cluster of applications running behind load balancer. So files generated on APP-1 application are not found and retrieved by APP-2.
can we implement separate file/cache server where all the cache generated by user or application is saved/retrieved at run time so there is no need to sync cache file over each application server.
if we can implement this can you give us few tips to implement this. My Developers can implement this but we are not sure how the rest of things and feature will be behave after this.
Can we implement a separate server(keeping directory structure same) to save files of User HTML Template/Images and Template Gallery by Admin as thsi is also a road block to implement High Availability Cluster of Application.
in NutShell We need to achieve that application should not generate any file in runtime or anytime on its local server. if files are generated by application in runtime then it should be saved in remote file server to keep consistency while rotating the user request over cluster of application.
Note: Thanks for implementing & Saving Session data in DB as it was another one of the biggest roadblock to implement HA application which is already solved.
You can also implement or add this option as a feature in future release if possible. it will solve the roadblock of Mailwizz on Cluster and will increase the scalability at horizontal level.