![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异步
大象_
技术,是服务于人而不是局限住人的。
写博客一是记录一些开发笔记以及思路,二是希望自己整理的笔记和心得能帮助到遇到问题的开发。
展开
-
WebSocket异常:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for calle
WebSocket异常:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method项目中websocket,sendMessage出现异常。代码:this.session.getAsyncRemote().sendText(text);...原创 2020-04-15 18:20:05 · 4992 阅读 · 0 评论 -
性能优化系列(基于异步)
1、大业务由多个小功能组成,其中某些功能可以进行异步处理。直接响应前端,异步继续处理。2、Controller异步响应一个tomcat可以并发处理多少用户连接?大约几百个xml配置:maxthread默认150,默并发处理150。1)servlet异步context2)Spring的callable...原创 2019-12-30 22:44:17 · 173 阅读 · 0 评论