Java Performance Tuning

Java(TM) - see bottom of page

|home |services |training |newsletter |tuning tips |tool reports |articles |resources |about us |site map |contact us |
Tools: | GC log analysers| Multi-tenancy tools| Books| SizeOf| Thread analysers|

Our valued sponsors who help make this site possible
Site24x7: Java Method-Level Tracing into Transactions @ $12/Month/JVM. Sign Up! 

New Relic: Try free w/ production profiling and get a free shirt! 

News May, 2005

JProfiler
Get rid of your performance problems and memory leaks!

jKool for DevOps
Light up your Apps & get a cool t-shirt


Java Performance Training Courses
COURSES AVAILABLE NOW. We can provide training courses to handle all your Java performance needs

Java Performance Tuning, 2nd ed
The classic and most comprehensive book on tuning Java

Java Performance Tuning Newsletter
Your source of Java performance news. Subscribe now!
Enter email:


Site24x7
Site24x7: Java Method-Level Tracing into Transactions @ $12/Month/JVM. Sign Up!

New Relic
New Relic: Try free w/ production profiling and get a free shirt!


JProfiler
Get rid of your performance problems and memory leaks!

jKool for DevOps
Light up your Apps & get a cool t-shirt


Back to newsletter 054 contents

Walmart uses a java + database architecture to serve over 100 million pages per day. Another example of Java's ability to scale you might think. But do we know enough about the details of the site to make that claim?

What I do know (see our news items listed below) is enough to say some interesting things. 100 million pages a day sounds like a lot. Moved over to a per-second rate it amounts to over one thousand pages delivered each second. Spread over 100 machines, it amounts to 10 pages delivered per second per machine. Hmm, maybe that doesn't sound quite so impressive?

But it is. You see, you have to factor in two important issues. Firstly, serving static pages compared to serving session specific dynamic pages are two very different problems. To get good performance for a site with that level of load you have to have architected it to handle each type of page in the most appropriate way, otherwise your site will get bogged down by overheads in one or the other type of page. And secondly, you cannot just take an arbitrary session oriented application, distribute over a cluster and get instant scalability. Again, you have to architect the application to manage horizontal scalability (i.e. over a cluster), otherwise the application quickly gets bogged down in one of many potential limitations to scalability, like cache synchronization, session distribution, etc.

A note from this newsletter's sponsor

Multi-threaded applications offer a better user experience,
generally run faster, and allow better encapsulation.
They don't have to be as tricky as you think.

So those figures are enough to tell us two things: that the Walmart website is sufficiently well architected that it correctly scales horizontally, handling different page types appropriately; and that Java was not a handicap in making that happen - in fact I expect java was actually a help in making that happen, but I don't have enough information to say that, so I'll make that weaker claim.

All that should tell you two things: getting the architecture right is important; and there is no reason not to use Java - Java is fast enough and can scale well. And that is something I have been saying for a long time, but it never hurts to repeat it.

Now on with the rest of this month's newsletter - our usual raft of articles, news and tools, and new performance tips extracted in concise form.

News

Java performance tuning related news.

A note from this newsletter's sponsor

Wily Technology delivers what you need: Availability, Performance and Control
The most critical web applications in the world are managed by
software from Wily, the leader in enterprise application management

Tools

Recent Articles

Jack Shirazi


Back to newsletter 054 contents


Last Updated: 2017-07-31
Copyright © 2000-2017 Fasterj.com. All Rights Reserved.
All trademarks and registered trademarks appearing on JavaPerformanceTuning.com are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries. JavaPerformanceTuning.com is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
URL: http://www.JavaPerformanceTuning.com/news/news054.shtml
RSS Feed: http://www.JavaPerformanceTuning.com/newsletters.rss
Trouble with this page? Please contact us