MyNixOS website logo
Description

Performance Tests for the Haskell bindings for Amazon Web Services (AWS)

Performance Tests for the Haskell bindings for Amazon Web Services (AWS).

At the current stage this package only has tests for the DynamoDb bindings.

IMPORTANT NOTE

By using the dynamo-performace application from this package with your AWS API credentials costs will incure to your AWS account. Depending on the provisioned test table read and write throughput these costs can be in the order of several dollars per hour.

Also be aware that there is an option to keep the table after the tests are finished (for example for usage with successive test runs). If you use that option you have to make sure that you delete the table yourself when you don't need it any more.

Build Status

By using the dynamo-performace application from this package with your AWS API credentials costs will incure to your AWS account. Depending on the provisioned test table read and write throughput these costs can be in the order of several dollars per hour.

Also be aware that there is an option to keep the table after the tests are finished (for example for usage with successive test runs). If you use that option you have to make sure that you delete the table yourself when you don't need it any more.

Installation

First make sure that you have at least version 1.20 of Cabal. You can upgrade to a recent version via

cabal install Cabal --constraint='cabal>=1.20'

It is important that you upgrade to a recent Cabal version before you run one of the following commands.

For installation from Hackage you run:

cabal install aws-performance-tests

For installation from the GitHub repository can can use the following commands:

git clone https://github.com/alephcloud/hs-aws-performance-tests
cd hs-aws-performance-tests
cabal install

Charts

Optionally the application can be compiled with support for generating charts. For this you must install cairo and gtk2hs-buildtools. You also need recent versions of alex and happy. On a Linux/Debian system you can install cairo as follows:

sudo apt-get install libcairo2

The Haskell build-tools are installed via:

cabal install alex happy gtk2hs-buildtools

You then pass the flag -fwith-chart to the the installation commands:

cabal install aws-performance-tests -fwith-chart

Or when compiling the sources from GitHub:

git clone https://github.com/alephcloud/hs-aws-performance-tests
cd hs-aws-performance-tests
cabal install -fwith-chart

Usage

After installing the package you'll find the executable dynamodb-performance in the default location where cabal is configured to install binaries.

In order to use the application you must put your AWS API credentials for your AWS account in the file ~/.aws-keys as described in the Documentation of the aws package.

For help on available options you may call the executable with --help:

dynamodb-performance --help
Metadata

Version

0.1.1

License

Platforms (77)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows