Spring 5 – Spring webflux has a new functional reactive web framework which is nonblocking. We can build asynchronous, nonblocking, event-driven services, that can scale very well.
Migrating from blocking (imperative) style of coding to functional nonblocking reactive style of coding helps to define the business logic as asynchronous function calls. This can be done using Java8 method references or lambda expressions. Since the threads are nonblocked, processing power is used to the maximum.