Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-16-2008
masti masti is offline
Registered User
 
Name: Tomasz Masternak
Organization: AGH University of Science And Technology
Project: Final thesis. Teleconsultations
 
Join Date: Mar 2008
Posts: 1
AMI calls and congestion

Hi,
I have a question about asynchronous calls over TCP. Is there any possibility for asynchronous call to block. I am thinking about congestion situations. Does ICE controll (in any way) client's sending rate and blocks in case of congestion (or maybe when transport layer buffer is full as is with oneway invocations).
Resuming is there any way to tell that there is a congestion? Finally, does ami invocation works as oneway in the sence that message is immediatelly written into transport layer buffer or is it buffered somewhere in ICE runtime.


Thanks for help.
Tom.

Last edited by masti : 03-16-2008 at 07:03 PM.
Reply With Quote
  #2 (permalink)  
Old 03-16-2008
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,061
With Ice 3.2.1 AMI requests can block if the transport blocks. We've written about this many times in the past in our newsletter, and you can read this related FAQ http://www.zeroc.com/faq/onewaysBlock.html.

Starting with Ice 3.3 this restriction will be removed and AMI & async oneway calls will never block the caller. There will be no Ice provided flow-control, however. If the application queues AMI or oneway messages indefinitely then it will eventually exhaust all memory. It is up to the application to ensure that this does not occur through appropriate use of the Ice provided callbacks.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
AMI or not AMI depending on slice args? stepancheg Help Center 2 02-26-2008 04:00 PM
On TimeoutExceptions with AMI calls stephan Help Center 3 10-28-2006 04:57 AM
Muticast calls bogyom Help Center 2 10-12-2006 07:38 PM
Delay of OneWay-Calls wgwolf Help Center 1 11-10-2005 09:24 PM
Timeouts on AMI calls? mathewm Help Center 5 09-11-2003 11:58 AM


All times are GMT -4. The time now is 09:55 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.