I am trying to decide whether to use Spring Web or Webflux for a RESTAPI.
I have done my research and read from a lot of developers on forums that Webflux is not so great because how difficult it is to code and debug and can even be slower than Web in some cases.
However, official documents and some articles say that Webflux is supposed to use system resources a lot better and more efficiently.
Also, some people say DB drivers (R2DBC) can be pretty buggy on Webflux.
So, these are my questions:
Thank you for your helping me clarify this!š
I have been testing webflux for a long time, I see webflux has better numbers than spring web(sometimes-check different tests on the page), but my test is only depends on json serialization, if we put in DB layer all numbers would change, app to app and design to design we should to tests and decide after.