Java Performance Tuning
Java(TM) - see bottom of page
Our valued sponsors who help make this site possible
JProfiler: Get rid of your performance problems and memory leaks!
Training online: Concurrency, Threading, GC, Advanced Java and more ...
News June 2017
JProfiler
|
Get rid of your performance problems and memory leaks!
|
JProfiler
|
Get rid of your performance problems and memory leaks!
|
|
|
Back to newsletter 199 contents
The 80/20 rule of thumb suggests that 80% of your code doesn't really
need to be particularly efficient, but it's not always clear to
developers whether the component they are developing falls into that
80%, or if they need to make extra effort on the performance and memory
for any particular component. I gave guidelines for this in
my Devoxx talk (the recorded talk now available at this link), where I
spoke about 3 axes of performance: concurrency, data size and
responsiveness.
A note from this newsletter's sponsor
New Relic - Try New Relic today and get your free Data Nerd shirt!
Free SaaS APMto monitor, troubleshoot, and tune apps
running on Websphere, Weblogic, Tomcat, Jetty, JBoss, Solr, Resin
These three axes are particularly useful for characterising the need
for performance and memory efficiency during development. For the most
part, following good coding practices will give you components that
are likely to achieve your performance goals, but using these axes
tells you when you need to go beyond good coding practices. In my
talk
and in the
slides I give some guidelines for when you need to think
about whether you need to make a special effort for your component.
Library developers think a little differently, they tend to take the
defensive stance that anything they make needs to be as fast and as
small as possible, which may be a reasonable point of view, but makes
development very expensive. Library developers also depend on
microbenchmarks quite extensively to achieve "as fast and as small as
possible" - the 3 axes of performance are less useful for library
developers, but still apply. In the next few newsletters I'll focus a
little more on each axis.
Now on to our usual links to articles, tools, news, talks, blogs. And
if you need the tips from this month's articles and talks, as ever
they are extracted into
this month's tips page.
News
Java performance tuning related news.
- Jack Shirazi (that's me btw) tells you how to analyse all the most common performance problems
- The new Immutable Collections in Java 9
- Spanner vs. Calvin: distributed consistency at scale
- Todd Hoff summarizing and adding to Fahim ul Haq's post on scalable design: Scalable design isn't really about questions like "should we use MongoDB or MySQL", or "which programming language should we use". It is about breaking up a system into components, identifying scalability bottlenecks, SPOFs, etc., and figuring out strategies to disarm them...In my experience, another important question to ask is what degree of scalability you will actually need. Are you processing thousands, millions, or billions of requests per second?...And even in super high traffic systems, there is usually only a small part of the overall system that requires special treatment; for the rest of the system, a generic approach like 12-factor is enough to keep things scalable enough to support the critical stuff and then some
Tools
Java performance tuning related tools.
A note from this newsletter's sponsor
Site24x7.com : Deep dive Application Performance Monitoring
Fix performance issues with Java, .NET and Ruby platforms
Monitor app instance at $12/Month. 30-day free trial. Sign Up!
Articles
Jack Shirazi
Back to newsletter 199 contents
Last Updated: 2025-01-27
Copyright © 2000-2025 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/news199.shtml
RSS Feed: http://www.JavaPerformanceTuning.com/newsletters.rss
Trouble with this page? Please contact us