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
This is a rather difficult problem.
- NFS ( SMB, ), DRBD Linux-HA / . , - , , () , NFS .. .
, - , , . , , , - -, DRBD, HA NFS, , .
""
Tahoe LAFS
, , , Cassandra, , , , .
MySQL- , ( ) ram; , , , () .
mysql- , , - .
Source: https://habr.com/ru/post/1778046/More articles:How will the rating system be implemented for users in a web application? - algorithmHow to avoid duplicates when inserting contacts in Android 2.2? - androidкак я могу проверить, существует ли таблица в базе данных (ACCESS или SQL) в С# - c#Adding a JSP file to a GWT project in Eclipse Helios (and Galileo) - eclipseCron task to delete files created before a certain time - linuxunsigned int value not giving the correct result - c ++AutoMapper and reflection - reflectionОшибка LNK1104: невозможно открыть файл 'python27.lib' PyISAPIe - wsgiHow do two ASP.NET_SessionId cookies appear unexpectedly in a cookie list? - asp.net-mvcSHA1 Hash on a hexadecimal string - javaAll Articles