Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main/java/com/github/phillipkruger/jaxblib/example
README.md
nb-configuration.xml
nbactions.xml
pom.xml
siege_bad.sh
siege_good.sh

README.md

Concurrency Example.

This example marshal and unmarshal to and from Object and XML via a REST Endpoint using siege to generate load (concurrency)

Running the example

Start the thorntail server with

mvn thorntail:run

Then run the siege script to generate some load:

./siege_bad.sh
./siege_good.sh

Compare the 'bad' example to the 'good' example and you can see the difference in concurrent transactions

You can’t perform that action at this time.