netty-http-server icon indicating copy to clipboard operation
netty-http-server copied to clipboard

Springboot项目中使用Netty来替代传统Web容器,提升性能,简化配置

Results 3 netty-http-server issues
Sort by recently updated
recently updated
newest added

http://localhost:8080/hello/world为什么执行2次?

下面是我测试的代码,并发100,调用10000次,结果大于10000。 ```java @NettyHttpHandler(path = "/request/body", method = "POST") public class RequestBodyHandler implements IFunctionHandler { private final AtomicInteger IN = new AtomicInteger(0); @Override public Response execute(NettyHttpRequest request) { String contentText =...

项目down下来,想测试一下性能,20个线程并发请求get接口,共请求8000次,出现了大概50%的错误,错误日志如下: Thread Name:Thread Group 1-20 Sample Start:2022-10-24 16:18:10 CST Load time:0 Connect Time:0 Latency:0 Size in bytes:2080 Sent bytes:0 Headers size in bytes:0 Body size in bytes:2080 Sample Count:1 Error...