Comments (6)
毕竟线程加入队列以后,执行的线程不一定是马上加入队列的那个线程,而在监控超时用的request却用的是当前的request。
from rop.
ServiceRunnable 内部类 会对每个请求找一个线程来处理业务逻辑,包括后续的返回reponse也是这个线程做的,即使阻塞,也应该不会出现A 请求 返回的是B响应吧?
from rop.
kluyuyu说的问题在我这里已经出现,a发的请求超时,b发请求后收到的是a请求的数据。
from rop.
我已经将 rop精简成了 60个java类的框架,彻底解决了那些问题,增加了对,上传流的支持。具体的请加 深圳java群③ 190798044
在 2015-03-16 09:27:55,"laiyuan" [email protected] 写道:
kluyuyu说的问题在我这里已经出现,a发的请求超时,b发请求后收到的是a请求的数据。
—
Reply to this email directly or view it on GitHub.
from rop.
future.get阻塞的是tomcat i/o线程,持有的是当前request。
timeout后,response还是会被flush。
作者的异步不是真正的异步,tomcat i/o线程还是被阻塞了, future.get。
from rop.
主要serlve规范中定义生命周期,线程安全的问题 而且tomcat容器会对request 等对象复用 所以异常情况下会对报文混淆的问题
from rop.
Related Issues (20)
- Session manage recommendation
- 怎么例子跑了有错误呢 ?
- hi,rop-sample的测试报两个错:无效签名,缺少sessionid。
- 返回的数据空字段怎么都没了呢 ? HOT 1
- rop service中无法获取spring security oauth2 的Authentication对象
- Rop的请求类好像是不支持泛型的?
- 处理com.rop.event.AfterDoServiceEvent事件发生异常
- 使用DefaultRopClient post数据时,中文乱码
- <jackson.xml.version>2.3.2-jdk1.5</jackson.xml.version> 有误 HOT 1
- 1
- 有个问题请教下 HOT 1
- 公司的ROP经常报Perm的OOM HOT 1
- 调用上传2M以上的图片rop服务提示缺少应用键参数:appKey
- tida-rop.min.js:formatted:3630 "data-rop-extra" is not a standard json stringify
- Question: securityManager and sessionChecker
- securityManager and sessionChecker
- 作者怎么不更新了? HOT 2
- 大家好,我将开始重新维护ROP HOT 5
- 少上传了两个文件? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rop.