5
SpringBoot 2 performance — servlet stack vs WebFlux reactive stack (medium.com)
kaif 積分 2

一個前面non-blocking很好很強大,有事給後面DBA扛的概念qq

koji 積分 0

省下的 thread 就丟給 db access thread pool(誤

koji 積分 0

看起來沒改設定應該是 netty ,所以是 netty + reactive vs tomcat-core + request per thread

caterpillar 積分 0 編輯於

不少人看似認為 Flux 是 Servlet Stack 的取代物,然而根本上是兩套不同的模型。

However, working with the reactive stream involves a bit of learning curve and ensuring that no developer ends up calling block(). Another deal breaker might be the lack of reactive database drivers. JDBC is inherently blocking and very few other databases like MongoDB, Cassandra support reactive drivers officially at this point.