Is it possible to synchronize files between servers in real-time?

I have 5 or so webservers at a loadbalancer and if a user uploads a pic it can take up to a minute to rsync it accross (crontab). This can get frustrating for some thinking it failed. Is there a way to do a real-time rsync?

Thanks


Most people design this kind of system using centralised storage, requiring no syncing at all.


As Chopper3 said, there's centralized storage using a SAN or NAS, and that seems to be the most common. If you really want to keep them on separate servers, you could look at something like DRBD, which is like RAID over ethernet, to keep a volume synced across servers.


inosync is pretty much ready-made for this, provided the uploads arrive on a Linux machine (mac and bsd have different mechanisms and require a different utility)