Stream

Attila-Mihaly Balazs
moderator

Expert Programming  - 
 
"Intel Software Guard Extensions (SGX) by Victor Costan and Srinivas Devada (NSF)"

Besides discussing SGX, it also contains a great overview of modern hardware, well worth the read for every developer!

https://eprint.iacr.org/2016/086.pdf
1
1
Add a comment...

Vlad Ilyushchenko

Expert Programming  - 
 
It there a reason for allocating new array in Enum.values() ?
1
Andrew Bissell's profile photoVlad Ilyushchenko's profile photo
2 comments
 
Thanks Andrew. Most use cases I come across for values() are to resolve ordinal(). It seems like dedicated non-allocating method on Enum class wouldn't go amiss.
Add a comment...
 
I am writing inter-thread messaging for my free project. It is getting quite stable and I'd like any feedback on thread messaging you already use, likes or dislikes. My implementation is similar to disruptor as far as using ring queue and sequences.

Here is usage example: https://github.com/bluestreak01/questdb/blob/master/core/src/test/java/com/questdb/mp/ConcurrentTest.java
2
Vlad Ilyushchenko's profile photoNitsan Wakart's profile photo
5 comments
 
Please share the results, also have a look in Agrona for some post-Disruptor ideas from Mr. T
Add a comment...

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.
8
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...

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.

Nitsan Wakart
moderator

Expert Programming  - 
 
 
A new post: Fixing CO in Cassandra Stress and the joys of HdrHistogram log processing
3
Attila-Mihaly Balazs's profile photo
 
Thank you for doing this!
Add a comment...

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
11
2
Attila-Mihaly Balazs's profile photoPeter Lawrey's profile photo
2 comments
 
Agreed. Lights are 50 or 60 Hz depending on where you are. Cinemas were typically 24 Hz until quite recently. 24 Hz is about 42 ms between frames.
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...
6
3
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.
2
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
5
3
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...