Skip to content

RedHatPerf/faban-servlet-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Framework benchmkark

Overview

This benchmark has been created to measure performance differences between JbossWeb (EAP6.4.9) and Undertow (EAP7.0.0)

The benchmark uses the Faban framework to drive load from multiple client machines to the System Under Test (SUT). Faban orchestrates the execution of benchmark methods across multiple clients, collates are calculates the system results.

A web servlet is hosted on the SUT. The Web servlet responds to GET HTTP requests, calculates a hash, the length based on a http parameter passed to the servlet and returns the result to the calling client.

Variable length response are created depending on the client request

How to build deploy and run the benchmark

Configure benchmark

Build benchmark

The benchmark uses maven as the build tool.

  1. start Java Application server.
  2. mvn clean install

This will build the serlvet, faban driver, faban harness jar and deploy the servlet war onto EAP/Wildfly

Deploy benchmark

  1. Download and install faban
  2. Navigate to http://localhost:9980/deploy
  3. Deploy faban benchmark from faban/harnessJar/target/harnessJar-1.0.jar

Run Benchmark

  1. Navigate to http://localhost:9980/
  2. Click "Schedule Run"
  3. Check benchmark parameters in "Java", "Driver" and "Hashing Driver" tab
  4. Click "Ok"

About

faban benchmark to test http invocations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published