WebFlux,响应式的异步编程模式,技术的趋势! # 高吞吐量 webflux由于异步非阻塞,不需要等待,所以响应时间基本上不变,而传统方式,响应时间线性增长。 # 使用tomcat webflux 默认使用netty, 如果需要使用tomcat <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </dependency> 赞微海报分享
近期评论