PHP Most Efficient Way Of Communicating Between Servers
<p>Soon I'm going to have 3 identical scripts on 3 different VPS's and I want to have a fourth VPS which will control them all..</p>

<p>So for the sake of this question what I need to do is insert SQL rows and create files on the sub-servers, and the sub-servers also need to send statistical data back to the mother server. What is the most efficient way of doing this?</p>

<p>I was thinking of making scripts on the servers to do the jobs I need and using cURL to send requests to these scripts making use of URL parameters for the data which needs to be transferred, but perhaps there is a better way? Ideally I want it to be as fast as possible because they will most likely be sending requests to each other every second.</p>
