Skip to content

Urunov/ReactiveSpring-NonBlocking-Projectss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

ReactiveSpring-NonBlocking-Projectss

git remote add origin https://github.com/Urunov/ReactiveSpring-NonBlocking-Projectss.git

Fundamental Design API

  • Imperative Style APIs
    • Top-down approach.
    • Blocking and Synchronous.

Screen Shot 2022-07-12 at 17 19 26

We should to make calls asynchroous, basically non blocking

  • Currently in Java we have:

    • Callbacks

      • Complex
      • NO return
      • Code is hard to read and maintain
      • Leads to CallBack hell.
    • Futures

      • Another alternative to write asynchrnous code in Java.
      • Returns Future instance.
      • Hard to compose multiple asynchronous operations.
  • Completable Future

    • Introduced as part of Java 8.
    • Supports functional sytle API.
    • Easy to compose multiple Asynchrnous operations.
    • Not a greate fit asynchrnous call with multiple items.

1. Reactive Spring

Asynchronous and Non Blocking.

2. Thread per request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors