Autoscaling feature demo scenario for the Web Services Platform project.
WSP is a SaaS Control Panel for AWS. It allows you to run your application on AWS ECS in 10 minutes even you have no AWS experience and knowledge.
Watch the DemoOr see details here: https://github.com/rkosolapov/public_files/blob/main/WSP%201.x%20Whitepaper.pdf
- setup two instances of this application
- one instance is Loader, another is Consumer
- use environment variables to configure the instances
- for Consumer:
- set WSP_APP_MODE to 'CONSUMER'
- for Loader:
- set WSP_APP_MODE to 'LOADER'
- set WSP_APP_DOMAIN_TO_LOAD to the domain name of the Consumer instance, e.g., 'https://domain.com'
The Loader instance can be configured with the following environment variables:
- WSP_APP_TIME - timeout for
ab
utility. The load test will be run this number of seconds. - WSP_APP_USERS - the number of simultaneous connections