基于 netty 和 grpc 的服务,很多业务不能跑在 netty 的 io threads 里,需要用到业务线程组;
某服务里,session 和 thread 基本是绑定的,需要给每个 session 分配 single thread executor ;
一些 sidecar 功能,比如 monitoring 和 metrics,为了避免发生一些藏得很深的 runtime excp 或者可能的 io blocking,也是要单独异步处理的,大部分情况都用的生产消费模式;
服务与 repository 上传下载文件,解析配置文件,基于 webflux,也有很多异步操作;
reactor netty 大量并发文件下载服务;