Skip to content

patchkez/scaletest_containers

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Scaling testing for Komodo platform

Prerequisities for localhost testing

  • Docker Community Edition (CE) and docker-compose must be installed
  • make sure user is member of docker group so it can execute docker commands without switching to root user

Data volume

Build images

Build the TxBlaster Image:

docker-compose build

Create custom docker network

docker network create komodo_scale

Start all containers

docker-compose up -d

The seed node will launch and listen for connections on its P2P_PORT, once the ac container has connected to the miner container, the miner will start mining blocks. On the mining of a block, the blocknotify.sh script will be called on both nodes. This will fetch start from a central website. When this file has been changed to start=1 the process begins.

First the 1 payment test is run, where a blaster is launched on both nodes.

Then the 100 payment test will be run, there the blaster on the mining node is not used.

The -ac docker container's push a JSON of basic stats to AWS DynanmoDB. example:'

{ "size": 1999005, "height": 97, "time": 1528111485, "totaltx": 8859, "ac": "TXSCL220", "mempooltx": 53053, "mempoolMB": 11 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published