Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Webflux Investigation

...

Info

This section is specific to async requestsmay need it's own study.

There is a spike planned to further investigate reactive programming.

Jira
serverONAP Jira
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-424

...

ProsCons
  • Better scalability due to non blocking threads
  • Use less threads (1 per core)
  • Better CPU Efficiency
  • Reactive web programming is great for applications that have streaming data, and clients that consume it and stream it to their users. It ain’t great for developing CRUD apps. If you want to develop a CRUD API, stick with Spring MVC.

  • Steep learning curve in the shift to non-blocking, functional, and declarative programming

...


Links to materials

https://www.baeldung.com/spring-webflux

...