filmov
tv
Devoxx Poland 2016 - Christopher Batey - The Java developers' guide to asynchronous programming

Показать описание
Blocking/synchronous programming has been the norm in Java. However this programming model has a major limitation: it requires one thread per concurrent request. This means that the number of requests you can process concurrently cannot exceed the number of threads, which limits scaling. This talk will explore how an asynchronous programming model can be used to avoid this limitation.
After an introduction to asynchronous design, there will be a live coding session where we will build an example service that makes concurrent calls.
We will cover the following tools:
- The Java Future
- New in Java 8: The CompletableFuture
- RxJava Observables
- The async Servlet, Spring and JAX-RS APIs
- The Ratpack Promise
The see the following patterns:
- Merging multiple calls into a single result
- Returning a result when a subset of multiple calls return without blocking waiting for the rest (e.g. saving an audit log without blocking the user request)
- Executing multiple calls and creating a result from the one that returns first
By the end of the session you should be aware of the popular tools you have for non-blocking programming in Java and when and why you should use them.
After an introduction to asynchronous design, there will be a live coding session where we will build an example service that makes concurrent calls.
We will cover the following tools:
- The Java Future
- New in Java 8: The CompletableFuture
- RxJava Observables
- The async Servlet, Spring and JAX-RS APIs
- The Ratpack Promise
The see the following patterns:
- Merging multiple calls into a single result
- Returning a result when a subset of multiple calls return without blocking waiting for the rest (e.g. saving an audit log without blocking the user request)
- Executing multiple calls and creating a result from the one that returns first
By the end of the session you should be aware of the popular tools you have for non-blocking programming in Java and when and why you should use them.
Devoxx Poland 2016 - Christopher Batey - The JVM and Docker, a good idea?
Devoxx Poland 2016 - Christopher Batey - The Java developers' guide to asynchronous programming
Devoxx Poland 2016 - Christoph Engelbert - A Post-Apocalyptic sun.misc.Unsafe World
Devoxx Poland 2016 - Wolf Schlegel - Highway to heaven - Building microservices in the cloud
Devoxx Poland 2016 - Wolf Schlegel - Coding a better world
The JVM and Docker, a good idea? by Christopher Batey
Devoxx Poland 2016 - Michael Coté - Better ways of developing software or, coding like a unicorn
Devoxx Poland 2016 - Bruce Tate - The Climb
Devoxx Poland 2016 - Summary
Devoxx Poland 2016 - James Lewis - Microservices and Conway's Law
Devoxx Poland 2016 - Bruce Tate - The Pendulum
Devoxx Poland 2016 - Rob Harrop - Understanding Microservice performance
The JVM and Docker. A good idea? by Christopher Batey
Devoxx Poland 2016 - Douglas Hawkins - A Peak Inside the JIT
Devoxx Poland 2016 - Radek Ostrowski - Finding Your Perfect Weather with Apache Spark, Docker and...
Devoxx Poland 2016 - Sebastian Malaca - Code Review - how to do it better?
Devoxx Poland 2016 - Vaughn Vernon - Reactive Microservices with DDD and Actors
Devoxx Poland 2016 - Douglas Hawkins - How to Lie (to Yourself) about Performance
Six principles for building fault tolerant microservices on the JVM by Christopher Batey
Devoxx Poland 2016 - Johannes Weigend - Real-world analytics with Solr Cloud and Spark
Devoxx Poland 2016 - Tom Bujok - Scale your application out!
Devoxx Poland 2016 - Szczepan Faber - Scaling engineering at LinkedIn California
Devoxx Poland 2016 - Nicolai Parlog - JUnit 5: Next Generation Testing on the JVM
Devoxx Poland 2016 - Marcin Grzejszczak - Microservices tracing with Spring Cloud and Zipkin
Комментарии