Sorry, if my question looks too general, but I am looking for an answers to specific problems that I listed below and would appriciate any help.
My website is growing in popularity and I would like to provide a consistant service for my users. Now I have 3 servers and using a cloud storage for static files (like design, javascript and CSS)
Here is the problem I have:
If webserver falls, everything falls.
I am using nginx and I was thinking of buying additional servers to scale my web server, but I have about 100 GB of user uploaded text files, user avatars etc. How do I sync all of this between several servers then? Or do I need a separate server as a storage for those files, images? How are those kind of problems solved?
A link to a good book on the topic would be appriciated as well.
Technologies I use: php-fpm, nginx, mysql (percona)