Presentation: Asynchronous API With CompletableFuture

Track: Performance Mythbusting

Location: Bayview AB

Duration: 11:50am - 12:40pm

Day of week: Monday

Level: Intermediate - Advanced

Persona: Backend Developer, Developer, Developer, JVM

Share this on:

What You’ll Learn

  • Performance tips for async particularly about java.util.concurrent.CompletableFuture.
  • Pitfalls to async development.

Abstract

Since Java 8, CompletableFuture has enabled asynchronous, future-based programming in Java and is one of the most powerful features suitable for creating asynchronous APIs. This presentation, based on real project experience, goes beyond the CompletableFuture public API. It reveals internal details and shows who stands to benefit from it for better performance.

Interview

Question: 
What do you do day-to-day?
Answer: 

Making things faster is my primary goal. Not only by measuring not only providing some performance guidance, but also working on different projects.

Question: 
What is your motivation for this talk?
Answer: 

At some moment I decided to make a presentation which will show the real performance job - how I took some project (It was new HttpClient appeared in Java9) and worked on its performance from scratch. The presentation become too big, so I split it into two parts: performance of synchronous API and performance of asynchronous. I think that problems which I discovered, how I improved will be interesting for the audience.

Question: 
Who should come to your talk?
Answer: 

Intermediate to advanced Java developers who want to understand how async architectures and development strategies work.

Question: 
What can people come take away from this talk?
Answer: 

Learning how to properly use async and CompletableFuture class to develop reliable fast code.

Question: 
What keeps you up at night?
Answer: 

What bothers me is the fact that technology is changing quite fast and how fast we should run or just adjust our tools our current tools and methodologies for new technologies for example.

Even a couple years ago everybody start talking about cloud etc. and nobody knows how to properly measure and estimate performance inside clouds.

Speaker: Sergey Kuksenko

Java Performance Engineer @Oracle

Sergey works as Java Performance Engineer at Oracle. His primary goal is making Oracle JVM faster digging into JVM runtime, JIT compilers, class libraries and etc. His favorite area is an interaction of Java with modern hardware what he is doing since 2005 when he worked at Intel in Apache Harmony Performance team.

Find Sergey Kuksenko at

Similar Talks

Chief Language Designer of C# & Contributor to TypeScript, Visual Basic, Roslyn, LINQ
Principal Software Engineer @Microsoft focused on High-Performance .NET
Director of Vulnerability Research @Endgame
Technical Program Manager @Questback
Product Management and Marketing @Datacoral
Founding Member of the Atom Editor Team @GitHub

.

Tracks

  • Architectures You've Always Wondered About

    Architectural practices from the world's most well-known properties, featuring startups, massive scale, evolving architectures, and software tools used by nearly all of us.

  • Going Serverless

    Learn about the state of Serverless & how to successfully leverage it! Lessons learned in the track hit on security, scalability, IoT, and offer warnings to watch out for.

  • Microservices: Patterns and Practices

    Stories of success and failure building modern Microservices, including event sourcing, reactive, decomposition, & more.

  • DevOps: You Build It, You Run It

    Pushing DevOps beyond adoption into cultural change. Hear about designing resilience, managing alerting, CI/CD lessons, & security. Features lessons from open source, Linkedin, Netflix, Financial Times, & more. 

  • The Art of Chaos Engineering

    Failure is going to happen - Are you ready? Chaos engineering is an emerging discipline - What is the state of the art?

  • The Whole Engineer

    Success as an engineer is more than writing code. Hear inward looking thoughts on inclusion, attitude, leadership, remote working, and not becoming the brilliant jerk.

  • Evolving Java

    Java continues to evolve & change. Track covers Spring 5, async, Kotlin, serverless, the 6-month cadence plans, & AI/ML use cases.

  • Security: Attacking and Defending

    Offense and defensive security evolution that application developers should know about including SGX Enclaves, effects of AI, software exploitation techniques, & crowd defense

  • The Practice & Frontiers of AI

    Learn about machine learning in practice and on the horizon. Learn about ML at Quora, Uber's Michelangelo, ML workflow with Netflix Meson and topics on Bots, Conversational interfaces, automation, and deployment practices in the space.

  • 21st Century Languages

    Compile to Native, Microservices, Machine learning... tailor-made languages solving modern challenges, featuring use cases around Go, Rust, C#, and Elm.

  • Modern CS in the Real World

    Applied trends in Computer Science that are likely to affect Software Engineers today. Topics include category theory, crypto, CRDT's, logic-based automated reasoning, and more.

  • Stream Processing In The Modern Age

    Compelling applications of stream processing using Flink, Beam, Spark, Strymon & recent advances in the field, including Custom Windowing, Stateful Streaming, SQL over Streams.  

Conference for Professional Software Developers