Tuesday, October 10, 2006

Clustering web applications on Tomcat - Part 3

<- Part 2 Part 4 ->

Performance


We performed a benchmarking exercise to highlight the performance characteristics of the two solutions. Our test consisted of the following simulated real world actions:

1. Log in to the application
2. Add several items to the shopping cart (The JPetStore application stores shopping cart in session)
3. Modify the quantity of the items in the shopping cart.

To obtain quantifiable results, Step 3 was repeated for 60,000 iterations and the resulting numbers of transactions per second were measured.

Results:

The following graphs show the performance test results for both the Terracotta Sessions and Tomcat Pooled Mode replication clustering solutions. To test linear scalability, the throughput results were obtained for one node in the cluster, not cluster wide.

In the above graph, Tomcat with Terracotta scales linearly as more nodes are added with a flat curve (red curve - no decrease in throughput). Tomcat with its "Pooled Mode Replication" clustering solution, on the other hand, does not scale linearly with a curve that decreases as more nodes are added (blue curve).

As a result, as is evident in the following graph, the overall system performance increases (Terracotta Sessions + Tomcat - red curve) as against decreasing (Tomcat Clustering - blue curve) when more nodes are added into the cluster.

<- Part 2 Part 4 ->

12 comments:

Temodal said...

It's great when you are just surfing the web and find something wonderful like this!

Discount penis enlargement pills said...

Yes this looks good, I am not really sure about it.

Vigorelle natural female sexual enhancement gel said...

Step 3 was repeated for 60,000 iterations and the resulting numbers of transactions per second were measured...liked it...:)

ExtremeNO muscle enhancer supplement said...

I have got many things to learn from your blog. I am really grateful to you for your post.

ExtremeNO muscle enhancer supplement said...

I have got many things to learn from your blog. I am really grateful to you for your post.

Vigaplus erectile dysfunction pills review said...

As a result, as is evident in the following graph, the overall system performance increases in this situation...

XtremeNO fast muscle growth supplement said...

Clustering web application on Tomcat is originally very interesting.I was amused to look over the post.

hcg buy online said...

The resulting numbers of transactions per second were measured...liked it...:) HCG Blue Drops, the Faster and Natural way to lose weight...

ExtremeNO muscle enhancer supplement said...

very nice job .thanks .

Duramale prevent premature ejaculation pills said...

Open source is all about software of the developers, by the developers and for the developers. So get out there, grab it and start using it.

Buy Vitoslim pills said...

Everyone should add several items to the shopping cart (The JPetStore application stores shopping cart in session).

Best Infant car seat 2012 said...

Tettacotta is better then Tomcat. Some ATM`s still running Tomcat.