...
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 |
---|
server | ONAP Jira |
---|
serverId | 425b2b0a-557c-3c0c-b515-579789cceedb |
---|
key | CPS-424 |
---|
|
|
...
Pros | Cons |
---|
- 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
...