unison or Rsync for session files between servers in php app

July 26, 2015 1.4k views
DigitalOcean Linux Basics System Tools Scaling PHP PHP Frameworks Ubuntu

In my cheap config I am using 2x app servers and 1x DB server.

My question now is what I should use in order to sync session files between the servers for my php app?

Is unison or Rsync good here, or is there something more light?

All systems are running Ubuntu.

Thanks in advance,

1 Answer

You could also use Glusterfs or another shared filesystem like an NFS. Unison or Rsync are great, but might be a bit slower.

Have another answer? Share your knowledge.