Should cron be run on all 3 web tiers?

Events happening in the community are now at Drupal community events on www.drupal.org.
joetsuihk's picture

I have 3 web servers connected to 1 DB server, should i run cron on all 3 web server? or run in one of them, and rsync?

I think there is a possible error running cron on 3 web as cron will try to trash and create cache in the same DB at th same time. (please correct me if it is not the case.)

Also, should the cache folder created by boost module use rysnc or NFS or let them create cache themselves?

Comments

1 Cron for 1 database

mikeytown2's picture

I recommend running with 1 cron for 1 database.

I've heard GlusterFS with boost works quite well.
http://en.wikipedia.org/wiki/GlusterFS

Also check out GFS2
http://en.wikipedia.org/wiki/Global_File_System

so 1. run cron on one of the

joetsuihk's picture

so
1. run cron on one of the web
2. move /cache to GlusterFS

any more recommendation that might worth a try? i might test them and report back, so please throw ideas.

Load Balancer

tjwallace's picture

I assume you are using something to load balance between your three web nodes? Nginx connected to the cache directory through GlusterFS?