I'm working on a web application that exists at two sites. Each system is hosted on it's own LAMP stack, with access restricted to specific users on the network.
When content is updated via user input on one side, a file is transferred from that system to the other to update it, so both systems match.
These files are transferred by a 'guaranteed delivery' system. However, sometimes the files get bunched up and arrive in the wrong order, causing problems at the receiving end.
This is particularly noticable with rapid user input, as the delay from the transmission system causes the files to 'bump into eachother'
My question is: How can I ensure the order the files are generated is the order they are received by the system? Are there any standard ways of performing this I should be aware of?