# undertow-demo **Repository Path**: yunweizhaoyang/undertow-demo ## Basic Information - **Project Name**: undertow-demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-09 - **Last Updated**: 2025-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # undertow-demo #### undertow配置 server: undertow: threads: worker: 5 #### 测试 cn.undertow.demo.WebTest 同时向http://localhost:8080/web/sleep发起10次请求, #### 目前效果 由于我在接口中设置了3秒的休眠,服务会先执行5次请求,3秒后,再执行另外5次请求。我猜测后5次请求应该是被nio缓存到队列中的,但是具体没有debug到 #### 期望效果 服务只执行5次请求,另外5次直接拒绝。