Giter Club home page Giter Club logo

unreal-stress-test's Introduction

Stress test of Unreal Engine 4 Dedicated Server

A tool that leverages AWS to see how much client an UE4 dedicated server can handle.

Prerequisites

Before using this tool, the following needs to be installed on both EC2 instances (via AMI) and your computer:

AWS CLI

https://aws.amazon.com/cli/

Mac OS X

brew install awscli

Linux (Ubuntu)

sudo apt-get install python-pip

# Install AWS CLI using pip
# To upgrade an existing AWS CLI installation, use the --upgrade option:
#   sudo pip install --upgrade awscli
sudo pip install awscli

# Enable Command Completion for AWS CLI
echo 'complete -C $(which aws_completer) aws' >> ~/.bash_completion

jq

https://stedolan.github.io/jq/

Mac OS X

brew install jq

Linux (Ubuntu)

sudo apt-get install jq

Configure

All configuration files are in conf/[env] directory.

Default configs are in conf/_default directory, they are loaded first, copy them to another directory to override the default value.

Run

Launch server:

./launch-server.sh [env]

Launch clients:

./launch-client.sh [env] [instance-count]

Terminate server:

./terminate-server.sh [env]

Terminate clients:

./terminate-clients.sh [env]

View Results

Two custom metrics of the server are posted to AWS CloudWatch:

Client

How many client are currently online.

CPU

How much percentage the server process utilizes the CPU (100% means occupies 1 entire core).

unreal-stress-test's People

Contributors

zhiguangwang avatar luyue0821 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.