|
|
|
|||||
|
One-way communication buffer overflow?
Hello again,
It has been a while, but that is good. We really love Ice and have been using it successfully for a couple of years. My question is theorectical. We have been using Ice to pump data from a C++ to Java service. The C++ service is always on Unix; the Java on Unix or Windows. Occasionally, our C++ process will block when sending the data. Although we are now investigating specifics, we were wondering what happens if when using one-way protocol, the local transport, as described in your manual below, fills its buffer -- i.e. will this cause the client to block until the buffer has more room? "For a oneway invocation, the client-side run time hands the invocation to the local transport, and the invocation completes on the client side as soon as the local transport has buffered the invocation. The actual invocation is then sent asynchronously by the operating system." Thanks for any help, Brian |
|
||||||
|
Hi Brian,
This is correct, a client sending oneways can block when its TCP/IP buffer becomes full. See the FAQ in Connections 2 . This typically occurs when the server can't keep up with the client: all its threads are busy and it does not pick up quickly enough messages from the client. Cheers, Bernard |
|
|||||
|
Thanks for the quick reply Bernard.
I know that Ice provides the MaxMessageSize property, but is there an interface for setting the underlying TCP/IP socket buffer size -- e.g if we wanted to increase it? Do you know the default sizes for Unix and Windows? What are the implications of increasing this buffer size? Feel free to direct me to other sources of info as you did below. Thanks again, Brian Quote:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Communication problems between Glacier2 router & PermissionVerifier & SessionManager | Nis Baggesen | Help Center | 22 | 02-07-2006 09:12 AM |
| ICE1.3 Tcp Communication Problem | chaosun | Help Center | 13 | 12-03-2004 11:20 PM |
| Visual Basic two-way communication with Java | msciarra | Help Center | 3 | 12-01-2004 03:33 PM |
| single stream for two-way communication? | vukicevic | Help Center | 2 | 05-19-2003 04:17 PM |