Stream

Peter Lawrey
moderator

Presentation Videos  - 
 
What are some of the performance implications of using lambdas and what strategies can be used to address these. When might be want an alternative to using a lambda and how can we design our APIs to be flexible in this regard.What are the principles of writing low latency code in Java? How do we tune and optimize our code for low latency? When don’t we optimize our code? Where does the JVM help and where does it get in our way? How does this apply to lambdas? How can we design our APIs to use lambdas and minimize garbage?

https://www.youtube.com/watch?v=vZngvuXk7PM
6
1
Add a comment...

Nitsan Wakart
moderator

Expert Programming  - 
So, going on from my whingy post on safepoint bias, where does one go to get their profiling kicks? One option would be to use an OpenJDK internal API call AsyncGetCallTrace to facilitate non-safepoint collection of stack tra...
5
2
Add a comment...

Eric DeFazio

Performance Libraries  - 
 
Great Series by Adrian Colyer about "Arrakis" an OS designed for DataCenter containers to directly map hardware and minimize Linux I/O kernel overhead (62% to 82%):

"map directly to hardware mechanisms allowing applications to break out of existing OS performance and protection limitations."

https://blog.acolyer.org/2016/06/14/arrakis-the-operating-system-is-the-control-plane/

Video discussion (circa 2014) here:
https://www.usenix.org/conference/osdi14/technical-sessions/presentation/peter (audio gets better after 11:30 or so)
Also "the Morning Paper" https://blog.acolyer.org/ is a great resource.
1
Add a comment...

Attila-Mihaly Balazs
moderator

Presentation Videos  - 
 

Understanding HotSpot JVM Performance with JITWatch

Chris Newland discusses performance-boosting techniques used by the JVM’s JIT and introduces JITWatch, a tool helping to get the best JVM performance for a code.

From the Docklands.JLC.

http://www.infoq.com/presentations/jitwatch
4
2
Add a comment...

Daniel Shaya

Expert Programming  - 
 
JLBH (Java Latency Benchmarking Harness) was created to help benchmark Chronicle-FIX. Hopefully this open source harness will come in useful for other latency sensitive projects when JMH is not enough. All contributions welcome.
3
Add a comment...

Peter Lawrey
owner

Performance Libraries  - 
 
Testing and implementing low latency Microservice using Chronicle.

https://vanilla-java.github.io/
In this part we look at putting this together as collection of services and consider how we can evaluate the performance of these services. We introduce JLBH (Java Latency Bnehcmark Harness) to test these services.…
6
Add a comment...

Nitsan Wakart
moderator

Expert Programming  - 
 
 
New blog post on safepoint bias effects on sampling Java profilers
This post builds on the basis of a previous post on safepoints. If you've not read it you might feel lost and confused. If you have read it, and still feel lost and confused, and you are certain this feeling is related to the...
10
1
Jason Nordwick's profile photoPeter Lawrey's profile photo
3 comments
 
A little garbage is no problem but a memory profiler which is mostly blaming itself for allocations is garbage. ;)
Add a comment...

Antoine Chambille

Presentation Videos  - 
 
How to Operate a 16TB JVM...and Living to Tell the Tale

If you missed it at JavaOne 2015, here is a replay of the conference session where we explained how you can run Java In-Memory software on a server with 16TB of memory and 400 cores.

Of course my best memory of the session was that Christine Flood, Peter Lawrey and Per-Åke Minborg were in the audience ;)


2
Add a comment...

Per-Åke Minborg

Performance Libraries  - 
2
Per-Åke Minborg's profile photoMarkus TET Schulz's profile photo
3 comments
 
I know that pattern from genericdao, but not in your perspective... 
Add a comment...

About this community

This community is about learning Java beyond the basics and advanced material. It about thinking about which Java is doing in milli-seconds and at the micro-second level. It is not a general Java programming help line for questions which can be easily answered using google search. You must subscribe under your name, not as a company or group account.

Attila-Mihaly Balazs
moderator

Expert Programming  - 
Two years ago I painfully researched and built JMM Pragmatics talk and transcript, hoping it would highlight the particular dark corners of the Java Memory Models for those who cannot afford to spend years studying the formalisms, and deriving the actionable insights from them.
7
4
Nitsan Wakart's profile photo
 
Excellent material if somewhat long :)
Add a comment...

Francesco Nigro

Unrelated but interesting  - 
1
Add a comment...

Eric DeFazio

Presentation Videos  - 
 
Richard Sites / Danny Luu great discussion explanation of the Bifurcation of "Servers" v "Desktops". How handling data, and locks lead to tail latency in the Cloud (Google) and how to go about tracking down tail latency (the 1%) ( And why profilers don't work)
3
1
Eric DeFazio's profile photo
 
Here's a Link to Dan Luu's article related to the post about Profilers:
https://danluu.com/perf-tracing/
slides:
http://www.pdl.cmu.edu/SDI/2015/slides/DatacenterComputers.pdf
Add a comment...

Nitsan Wakart
moderator

Expert Programming  - 
 
Great post from Shipilev demonstrating performance engineering methodology and tools usage(Solaris Studio/JMH perfasm) to look into toArray(new Foo[0]) vs. toArray(new Foo[size])
http://shipilev.net/blog/2016/arrays-wisdom-ancients/
The Java Language and JDK Class Library have two distinct, yet connected, ways to group elements: arrays and Collections. There are pros and cons for using either one, so both are prevalent in real programs. To aid conversion between the two, there are standard methods to make a reference array ...
15
Add a comment...

sorin cristea

General Notices  - 
Now that we have reviewed the core concepts behind GC algorithms, let us move to the specific implementations one can find inside the JVM. An important aspect to recognize first is the fact that, for most JVMs out there, two different GC algorithms are needed – one to clean the Young Generation an...
5
1
Add a comment...