Re: [jgroups-users] RPC Timing Out
Questions/problems related to using JGroups <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <E8918F7C66E85B4A926C4C3ED29AD7FA4FFF814E@sacmail1> |
All, Apologies for following up to my own inquiry.. one more point/question: It appears that only one RPC can be responded to at a time. For example, if we call GiantResponseRPC from host A to host B and from another thread call SmallResponseRPC to the same host, we will not receive a response to the latter until the response to the former is received. Is that expected? Regards, Neal From: Questions/problems related to using JGroups [mailto:[email protected]] Sent: Tuesday, June 14, 2016 2:47 PM To: [email protected] Subject: [jgroups-users] RPC Timing Out Hello all, We have some RPCs that return fairly significant amounts of data. As a result, those calls can be prone to time out. In order to combat that issue we have, on 3.0.2, added code that sends messages up the stack to keep the RPC from timing out. We could reimplement that on 3.6.9, but before we do so we wanted to make sure there is not a "more standard" way to solve the issue. Note that we do not want to set an "extra-long" timeout, as failures do occur. Rather we would want to be notified as soon as reasonable of said failure. Ideally we would set a fairly short timeout - perhaps 5 seconds - and as long as the host continues to receive FRAGments of the response we could bubble a keep alive up the stack. Thoughts and advice are appreciated. Regards, Neal ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381 _______________________________________________ javagroups-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/javagroups-users