DevShop
Primary version
Primary version
  • Introduction
  • Introduction
    • About DevShop
    • Roadmap
    • Tour
    • How it works
  • Install & Upgrade
    • Installing DevShop
    • Upgrading DevShop
    • Changing Hostname
    • System Configuration with Ansible
    • Setup Examples
  • Using DevShop
    • Deployment Hooks
    • Migrating sites into DevShop
    • Customizing settings.php
    • Automated Testing
    • Acquia Cloud Hooks Integration
    • Remote Servers
    • Going Live
    • Scaling
    • Deleting Projects & Environments
    • Using SSL
    • Password Protection
    • Troubleshooting
  • Developing DevShop
    • Developing DevShop
  • Learning DevShop
    • The Complete DevShop Training
  • Contributing
    • How to contribute to DevShop
    • Release Process
Powered by GitBook
On this page
  • Web Packs
  • Web Clusters
  1. Using DevShop

Scaling

PreviousGoing LiveNextDeleting Projects & Environments

Last updated 7 years ago

Being based on Aegir, DevShop has two methods for scaling a site's servers:

Web Packs

Web Packs use NFS to sync the entire /var/aegir/projects folder to a group of servers.

For more information on Web Packs, see the Aegir documentation page at .

Pros:

  • Depending on where your mount points are, all codebases for all environments are shared with every server in the group. This makes setup & management simpler.

  • No need to create new NFS shares per environment.

Cons:

  • Extra steps needed to install NFS client & server.

  • Introduces a "single point of failure" if the NFS system fails.

  • Storing executable code on NFS has been reported to result in poor performance. (See articles like and

  • Special configuration needed to mitigate performance issues.

  • All codebases are shared with every server in the group. This might not be ideal.

  • Manual setup of load balancer is needed.

Web Clusters

Web Clusters uses Rsync to copy an environment's files to a group of servers.

Pros:

  • Simpler to use out of the box: no additional packages needed.

  • RSync is a simple and reliable of delivering code to the servers.

  • Source code is on disk, no performance overhead.

  • No single point of failure.

Cons:

  • Drupal files folder is not synced across servers out of the box. Requires a manual solution.

  • Shared files folder needs to be setup for every environment.

  • Manual setup of load balancer is needed.

For more information on Web Clusters, see the documentation page at .

See for a discussion on files folder sharing solutions.

http://aegir.readthedocs.io/en/3.x/usage/servers/clustering/#using-the-pack-module
NFS performance degredation
Drupal on NFS
http://aegir.readthedocs.io/en/3.x/usage/servers/clustering/#using-the-cluster-module
https://groups.drupal.org/node/291688