mozilla-services/ailoads-syncstorage

Name: ailoads-syncstorage

Owner: Mozilla Services

Description: syncstorage load test based on ailoads

Created: 2016-07-15 20:29:17.0

Updated: 2018-01-22 18:47:27.0

Pushed: 2016-07-15 21:18:24.0

Homepage: null

Size: 15

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ailoads-syncstorage

Converting loadsv1 tests to loadsv2 These tests are under construction! Do not use.

Overview

ailoads ([[https://github.com/loads/ailoads]]) is an auxiliarly tool for authoring loadtests to be used by the loads-broker tool (https://github.com/loads/loads-broker).

Purpose

The purpose of this project is to provide a loadtest 'skeleton' (or demo) that you can employ to write your own loadtests.

Summary

ailoads allows you to do the following tasks:

  1. Create a docker image to 'house' your python loadtests
  2. Generate a configuration (json) file to be used by the loads-broker tool which defines the type of scale you want your loadtests to run in (i.e. number of attack nodes, what AWS region, size of attack nodes, length of tests, etc.)
File Contents

An ailoads repo should contain the following files:

  1. loadtest.py
  2. define your python loadtests in this file
  3. loadtest.env
  4. define any environment variables here
  5. Dockerfile
  6. define your docker container (to house your loadtests) here
  7. .tpl
  8. define your loads-broker config file in a tpl (template) format
  9. Makefile
  10. use this to generate by products required by the loads-broker tool (i.e. docker image, json config file)
Requirements
Execution
How to run the loadtest?
Example
$ make setup_random test
How to build the docker image?
make docker-build
How to run the docker image?
make docker-run
How to clean the repository?
make clean

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.