当前位置:网站首页>Weblux default IO threads
Weblux default IO threads
2022-07-25 07:39:00 【iiaythi】
webflux Default io Number of threads
webflux Used at the bottom reactor-netty, The number of threads used by default is netty server Default quantity at startup , namely cup Check the number * 2
Runtime.getRuntime().availableProcessors()
How to be in boot Application settings weblfux io Number of threads
stay weblfux in , Handle external requests The thread used is called reactor-http-xxx
These parameters can be used to configure
- react.netty.ioWorkerCount ( namely
reactor-httpNumber of threads ) - react.netty.ioSelectCount
- react.netty.pool.maxConnections
It can be set like this
System.setProperty("reactor.netty.ioWorkerCount","50");
When these threads are blocked , The server cannot handle more external requests , There will be a false death state , In particular, pay attention to setting the timeout for calling external requests in the calling service , Otherwise, there is a high probability that the worker thread will be blocked , Such as httpclient To set the timeout , webclient call block Method must set the timeout time !!
边栏推荐
- Talk about programmers learning English again
- Delete in elasticserach_ by_ What is the mechanism of query?
- Teach you to use cann to convert photos into cartoon style
- 10 key points and 5 measures for good project management
- 交叉熵计算公式
- list的模拟实现
- Lidar construction map (overlay grid construction map)
- Polling, interrupt, DMA and channel
- A domestic open source redis visualization tool that is super easy to use, with a high-value UI, which is really fragrant!!
- [unity entry plan] interface Introduction (1) -scene view
猜你喜欢
![[unity introduction plan] interface Introduction (2) -games view & hierarchy & Project & Inspector](/img/b0/ef084f4391795a1369b0f46a2de8d6.png)
[unity introduction plan] interface Introduction (2) -games view & hierarchy & Project & Inspector

A fast method of data set enhancement for deep learning
P1086 [NOIP2004 普及组第二题] 花生采摘

Gather the wisdom of developers and consolidate the foundation of the database industry

【Unity入门计划】基本概念-2D刚体Rigidbody 2D

【软件测试】包装简历从这几点出发、提升通过率

If Debian infringes the rust trademark, will it be exempted by compromising and renaming?

【Unity入门计划】基本概念-预制件 Prefab

【Unity入门计划】界面介绍(1)-Scene视图

深度学习训练和测试时出现问题:error: the following arguments are required: --dataroot,解决:训练文件的配置方法和测试文件的配置方法
随机推荐
关于GBase 自动关闭连接问题
Day by day, month by month | Shenzhen potential technology released the extreme accelerated version of molecular docking engine uni docking
P1086 [NOIP2004 普及组第二题] 花生采摘
Practical operation: elegant downtime under large-scale micro service architecture
toolbar的使用
GBase 8a中关于--skip-networking 问题
MATLAB自编程系列(1)---角分布函数
Nano data, football data, football match scores, sports data API, Qatar world cup
[recommended reading] a collection of super useful vulnerability scanning tools!
JS note 17: the whole process of jest project configuration of typescript project
【Unity入门计划】基本概念-GameObject&Components
Elasticserach里delete_by_query的机制是什么?
Talk about programmers learning English again
[unity introduction program] basic concepts -2d rigid body 2D
First, how about qifujin
【PyTorch】最常见的view的作用
Growth path - InfoQ video experience notes [easy to understand]
Bingbing's learning notes: classes and objects (Part 1)
webflux默认io线程数
9 best engineering construction project management systems