Understanding the Power of Java Reactive Programming

Slide Note
Embed
Share

Java Reactive Programming offers a solution to handling increasing data complexity and diverse device types in today's fast-paced business environment. By embracing reactive principles, businesses can accelerate their transformation by building flexible, loosely-coupled, and scalable systems. Learn about the fundamentals, benefits, and key concepts of Java Reactive Programming through this informative content.


Uploaded on Jul 20, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Java Reactive Martina Ma i Naslov

  2. Why Java Reactive? Instant generation Complexity, more data, more complex problems Multiple device types Something new Accelerate Your Business Transformation

  3. What is reactive? readly responsive to a stimulus Naslov

  4. Asynchronous programming Accelerate Your Business Transformation

  5. Reactive manifesto 2013. team of developers, lead by Jonas Boner came together to define a set of core principles. The manifesto defines the fundamental characteristics or principles of a reactive system. It prescribes the recipe for a reactive system to be Naslov flexible, loosely-coupled, and scalable.

  6. Elastic and Message driven Elasticity builds upon scalability and expands on it by adding the notion of automatic resource management. Message driven vs. Event driven Resilience is more difficult to achieve in an event-driven system. Naslov

  7. Accelerate Your Business Transformation

  8. How does it works? Naslov

  9. Project reactor Naslov

  10. Spring MVC vs. Spring WebFlux If you have a Spring MVC application that works fine, there is no need to change. Large team JPA, JDBC Have a Spring MVC application with calls to remote services Microservice architecture Netty, Tomcat, Jetty,.. Reactor, RxJava,.. Accelerate Your Business Transformation

  11. Reactive Streams Naslov

  12. Reactor Core Naslov

  13. Mono Accelerate Your Business Transformation

  14. Flux Naslov

  15. Reactor Core components Mono A Mono object represents a single value or empty value (0 to 1) item, e.g. Mono<T> Flux It represents a reactive sequence of 0 to N items. For example, Flux<T> Accelerate Your Business Transformation

  16. Pros / Cons Better UI Cleaner Code Better async handling Backpressure Event-driven Learning curve Memory intensive Harder to debug Wrong implementation Naslov

  17. Big Pros Netflix One Second Could Cost Amazon $1.6 Billion In Sales Monday s outage cost the company an average of $163,565 in revenue every minute, roughly $60 million based on more than six hours of downtime Accelerate Your Business Transformation

  18. Questions? Thank you! Accelerate Your Business Transformation

Related


More Related Content