Do I need HAProxy in front of Couchbase?
The project I am working on is a image database and it's written in PHP. I use MySQL as the database. I want to use Couchbase instead so I can build a cluster in an easy way. I have installed Couchbase on a couple of Mac Minis and one iMac and it's extremely easy to build, I absolutely love it. I have not managed to install Couchbase SDK PHP support yet but I will soon get the hang of it.
I apologize if this is a stupid question but I am still learning and to make it even harder, english is not my native language :-)
Lets say that I have 4 Mac minis in the cluster. Do I need HAProxy in front these 4 Mac Minis? Should I have my PHP scripts on every Mac mini in the cluster?
I also wonder where my images should be located? Today it's several thousand of high resolution images and it will increase fast. Should I use a separate external harddrive for all Mac minis with the same images or should I have a single NAS that all Mac minis in the cluster can access?