Session + Live Q&A

Using Shared Memory-Mapped Files in Java

  • Unsafe in Java 8
  • Project Panama in Java 17 and Java 19
  • Practical uses with code examples
  • Simple demo using Panama
  • Event Sourcing using shared memory with Chronicle Queue

Main Takeaways

1 Hear about Project Panama, Chronicle Queue, and interactions between the JVM and code written in other languages.

2 Learn to consider other options to write applications in Java.


What are you working on these days?

We're focusing very much on making our software as deployable and manageable as possible. In the past, we've focused on making it super fast and it's easy to use, but now we're very much shifting towards ease of deployment and manageability.

And what are the goals for your session?

It's really about challenging expectations, one of my frustrations when people talk about latency, they are talking about milliseconds, which is a red flag for me. Instead, we do everything in microseconds and sometimes nanoseconds.

It’s all too common to stop tuning code when it’s good enough or meets your expectations. I have published benchmarks even for competitors’ products at half the latency they publish by improving the way the product is tested and tuned.

What is it that you would like people to leave with after watching your session?

People to think differently about what is achievable with software, different ideas of what's possible, in Java in particular. 


Speaker

Peter Lawrey

CEO @Chronicle_SW

Peter Lawrey has the most answers for concurrency and memory in stackoverflow.com, and the second-highest for Java.Peter is a Java Champion, the CEO of Chronicle Software and the architect of OpenHFT libraries downloaded from 15K different IP addresses each month.

Read more
Find Peter Lawrey at:

Date

Monday Apr 4 / 05:25PM BST (50 minutes)

Location

Whittle, 3rd flr.

Track

Performance & Mechanical Sympathy

Topics

PerformanceJava

Slides

Slides are not available

Add to Calendar

Add to calendar

Share

From the same track

Session + Live Q&A Performance

Understanding Java Through Graphs

Monday Apr 4 / 11:50AM BST

Many people will know that when you use Java you compile your application using the javac compiler to a data structure called bytecode. Many people will also be familiar with a data structure called an abstract-syntax-tree, or AST, which is the way that the Java compiler represents your Java...

Chris Seaton

Researcher (Senior Staff Engineer) @Shopify

UNCONFERENCE + Live Q&A

Unconference: Performance

Monday Apr 4 / 04:10PM BST

Details coming soon.

Session + Live Q&A Java

Java Flight Recorder as an Observability Tool

Monday Apr 4 / 10:35AM BST

JDK Flight Recorder (JFR) is one of the best sources of telemetry and monitoring data for the JVM. However, it has not achieved particularly widespread usage - many Java engineers do not use it regularly and those that do frequently only use it via the Mission Control (JMC) GUI tool.In this talk,...

Ben Evans

Java Champion, Author of "Java in a Nutshell"

Session + Live Q&A Performance

Jedi Wisdom for Cloud Performance: Sympathize with Hardware, You Must!

Monday Apr 4 / 02:55PM BST

This is part 1 in a series of talks covering Padawan Monica Beckwith’s hands-on practical experience over the last two decades. Monica, who has trained with many Knights and a few Masters, will cover what it means to be sympathetic to the underlying hardware in Scaling Up and Scaling Out...

Monica Beckwith

Java Champion, First Lego League Coach, passionate about JVM Performance @Microsoft

Session + Live Q&A Performance

Performance & Mechanical Sympathy Panel

Monday Apr 4 / 01:40PM BST

Details coming soon.

Monica Beckwith

Java Champion, First Lego League Coach, passionate about JVM Performance @Microsoft

Peter Lawrey

CEO @Chronicle_SW

Chris Seaton

Researcher (Senior Staff Engineer) @Shopify

Ben Evans

Java Champion, Author of "Java in a Nutshell"

View full Schedule