Presentation: Asynchronous API With CompletableFuture
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.
What do you do day-to-day?
Making things faster is my primary goal. Not only by measuring not only providing some performance guidance, but also working on different projects.
What is your motivation for this talk?
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.
Who should come to your talk?
Intermediate to advanced Java developers who want to understand how async architectures and development strategies work.
What can people come take away from this talk?
Learning how to properly use async and CompletableFuture class to develop reliable fast code.
What keeps you up at night?
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.
Similar Talks
License Compliance for Your Container Supply Chain
Open Source Engineer @VMware
Nisha Kumar
Observability in the SSC: Seeing Into Your Build System
Engineer @honeycombio
Ben Hartshorne
Evolution of Edge @Netflix
Engineering Leader @Netflix
Vasily Vlasov
Mistakes and Discoveries While Cultivating Ownership
Engineering Manager @Netflix in Cloud Infrastructure
Aaron Blohowiak
Optimizing Yourself: Neurodiversity in Tech
Consultant @Microsoft
Elizabeth Schneider
Monitoring and Tracing @Netflix Streaming Data Infrastructure
Architect & Engineer in Real Time Data Infrastructure Team @Netflix
Allen Wang
Future of Data Engineering
Distinguished Engineer @WePay
Chris Riccomini
Coding without Complexity
CEO/Cofounder @darklang
Ellen Chisa
Holistic EdTech & Diversity
Holistic Tech Coach @unlockacademy