High Availability CakePHP Farm Installation

I am currently working on configuring my CakePHP (1.3) based web application to run in HA Setup. I have 4 web boxes that use the application as a MySQL cluster for the database backend. I have users uploading 12,000 - 24,000 images per week (35-70 GB). Then the application generates 2 additional files from the original, thumbnails and medium-sized images for preview. This means that 36,000 to 72,000 possible files are added to each repository every week.

What I'm trying to wrap is to handle a large number of static file requests coming from users trying to view these images. I mean, I can have several web boxes serving only static files with a load balancer sending requests.

But does anyone have any ideas on how to sync all static file servers?

If any of you have any impressions that you would like to share, or any useful links for me, this would be very appreciated.

Thank,

serialk

+3
source share
1 answer

This is a rather difficult problem.

- NFS ( SMB, ), DRBD Linux-HA / . , - , , () , NFS .. .

, - , , . , , , - -, DRBD, HA NFS, , .

""

Tahoe LAFS

, , , Cassandra, , , , .

MySQL- , ( ) ram; , , , () .

mysql- , , - .

+2

Source: https://habr.com/ru/post/1778046/


All Articles