Skip to main content

Edge Run Request Generator

Project description

Edge Run Request Generator

This project provides ready-to-use request generators that the Galileo project uses to generate workload (specifically, faas-sim and galileo-experiments)

The project is structured simply and offers multiple generators that produce inter-arrival times. Currently supported RPS profiles:

  • Constant - does what you'd expect
  • Sine - replicates a sine wave with a given peak (max rps) and period (simulation time in seconds between peaks)
  • Randomwalk - creates a random walk pattern

RPS profiles yield a target average request per second pattern at a given time.

RPS profiles can be decorated using arrival profiles to get a more realistic request pattern. Following arrival profiles are supported:

  • Static
  • Expovariate

You can save profiles using the helper function save_requests and pre_recorded_profile to read a saved profile (only necessary if you like to plot it afterwards again).

Install

To install dependencies and develop, run:

make venv

This creates a virtual environment, activates it and installs all dependencies (requirements.txt and requirements-dev.txt).

If you like to run the notebooks (i.e., to generate request patterns and plot them comfortably):

pip install -e .
jupyter notebook

Note: you might have to restart the terminal session if jupyter notebook fails.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgerun-request-generator-1.0.1.dev1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file edgerun-request-generator-1.0.1.dev1.tar.gz.

File metadata

File hashes

Hashes for edgerun-request-generator-1.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 2df1cc962ff7a535426eb693bb078849605790163c7997c80f82f95445b25685
MD5 13e1eeada66c41c26f9a0f85037486c1
BLAKE2b-256 e8a7e0763057548b1556afc611fae5e415f768a451b526317dad5af27f623d5b

See more details on using hashes here.

File details

Details for the file edgerun_request_generator-1.0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for edgerun_request_generator-1.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf9ee14deaa7c1ca49acec08b18df94dbe749e2ece581d0cc5336d697d9068c
MD5 306e94e40357a87cac54a147103d6211
BLAKE2b-256 e3696a29db0b6c9b57b8b17a651910e121e1426d503c17220d9806c465e47ce1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page