Skip to content

justin-db/JustinDB-perf

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
 
 
 
 
 
 
 
 
 
 
 
 

Load testing

Lets put simulated demand on JustinDB!

Tools

This project as a load testing tool uses great Gatling library. They official doc states that

Gatling is a highly capable load testing tool. It is designed for ease of use, maintainability and high performance.

Out of the box, Gatling comes with excellent support of the HTTP protocol that makes it a tool of choice for load testing any HTTP server.

Since JustinDB's default protocol communication is HTTP this makes whole testing environment even more pleasurable to work with.

Gatling also comes with great reports which allows us to reason better about system behavior and its capabilities.

Assumptions

This project assume there is already running JustinDB cluster with the following properties:

  • cluster consists of 5 physical nodes (e.g. JVM instance) with open HTTP ports: 9000, 9001, 9002, 9003, 9004
  • every single data is replicated to 3 distinct physical nodes

Run

All simulations

sbt gatling:test

Single simulation

sbt gatling:testOnly *TestName*

About

πŸ”₯ Lets put simulated demand on JustinDB!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages