Skip to content

Commit

Permalink
round 3 results images
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcadius Ahouansou committed Mar 12, 2016
1 parent ae17706 commit 7cbf280
Showing 1 changed file with 7 additions and 71 deletions.
78 changes: 7 additions & 71 deletions gatling/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@

# Running the Gatling load test

To run the load test, please run the following command

`./gradlew clean runGatlingTest -Dtest.host=192.168.1.3:8080 -Dtest.pause=1 -Dtest.testDuration=15 -Dtest.testUsers=128 -Dtest.rampUpDuration=3 -Dtest.warmUpUsers=10 -Dtest.warmUpDuration=10 -Dtest.container=Grizzly`


Please look at the table below for more detail about the parameters passed to the test

|Test parameter|Meaning|Default value|
|---|---|---|
|`test.host` |host:port |127.0.0.1:8080|
Expand All @@ -14,74 +21,3 @@




--------------

Too many things have changed since round 2

- I noticed that Undertow was having hard time with HTTP 1.0 as apache AB only does HTTP 1.0
This is a problem as most client will be doing HTTP 1.1

So, I implemented the tests in Gatling

- Headers: One of the issues pointed out by Stuart is that different containers are sending different headers,
meaning that the overall data transmitted over the network by each of the tested containers is never the same.
To address this, changes have been done so that every single container are returning the very same header.
The header looks like this:

```
HTTP/1.1 200 OK
Server: TestServer
Content-Length: 27
Content-Type: application/json;charset=UTF-8
Date: Wed, 09 Mar 2016 18:57:19 GMT
```

- Another issue mentioned is that ideally we want the HTTP server being tested and the load generator to be on sepaate servers.
This has been addressed too.
This leads us to 2 machines.
- HTTP servers running on


```
arcad@arcad-idea:~/devenv/project/menelic/java-rest-api-web-container-benchmark$ ./sysinfo.sh
===CPU:
processor : 0
model name : Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz
cpu cores : 2
processor : 1
model name : Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz
cpu cores : 2
processor : 2
model name : Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz
cpu cores : 2
processor : 3
model name : Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz
cpu cores : 2
===RAM:
total used free shared buffers cached
Mem: 7.7G 3.0G 4.6G 323M 123M 1.4G
-/+ buffers/cache: 1.5G 6.2G
Swap: 7.9G 0B 7.9G
===Java version:
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
===OS:
Linux arcad-idea 3.16.0-60-generic #80~14.04.1-Ubuntu SMP Wed Jan 20 13:37:48 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
```


Note that that CPU is a 2 core evn those it is showing as
and the load generator machine:

```
TODO
```


- warm-up: Now, we are running the warm-up for 10minutes before the real test starts for 15 minutes.

0 comments on commit 7cbf280

Please sign in to comment.