Jump to: navigation, search

Gyrex/Administrator Guide/Production Mode

Preparing for Production Deployment

When deploying Gyrex to production (or even to a staging, testing or UAT environment), you should consider enabling the production mode. This will prevent Gyrex applying some configuration magic for simplifying application development.

Here is a list of bullet points to consider:

  • Setup ZooKeeper Cluster
    • It's possible to use a shared cluster for staging, tests and UAT environments with ZooKeeper's chroot feature
  • Configure start to use production mode
  • Configure ZooKeeper connection
  • Use tags to active server roles across your cluster
    • webserver for nodes that should server web apis and content
    • worker for nodes that should process background tasks
    • scheduler for nodes that act as scheduler for background work (consider defining at least two for redundancy reasons)