Magento Workload - absalon-james/cloud-workloads GitHub Wiki

This workload uses Gatling to generate traffic to a Magento installation.

Software

Roles

Roles States Anti-States Description
magento_mysql_master magento.db_master magento.antidb_master Hosts the MySQL master database. Required.
magento_mysql_slave magento.db_slave magento.antidb_slave Hosts the MySQL slave database. Optional
magento_gatling magento.gatling magento.antigatling Runs Gatling. Required.
magento_web magento.web magento.antiweb Runs Apache2, PHP, PHP-APC, Memcached, and Magento. At least one required.

Configuration

Property Default Description
duration 90 Specifies the length of time in seconds to fire off user scenarios.
users_start 30 The starting number of users per magento_web instance.
users_step 30 The number of users to add per magento_web instance after each successful iteration.

Example Configuration

standard_magento:
  workload: magento
  duration: 90
  users_start: 30                 
  users_step: 30
  instances:
    - roles:
        - magento_mysql_master
    - roles:
        - magento_mysql_slave
    - roles:
        - magento_gatling
    - roles:
        - magento_web
    - roles:
        - magento_web
    - roles:
        - magento_web
    - roles:
        - magento_web

Requirements

  • 1 magento_mysql_master instance
  • 1 magento_gatling instance
  • At least one magento_web instance
  • A magento_mysql_slave instance is optional
  • It is preferred that the magento_web instances can communicate with the magento_mysql_master instances over a separate network, but it is not necessary
⚠️ **GitHub.com Fallback** ⚠️