users@grizzly.java.net

Re: Delivery Guarantee Mechanism for Comet(d)

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 20 Oct 2008 09:05:54 -0700

Salut,

Phil Syme wrote:
> Thank you for the links, which were helpful.
>
>
>
> http://weblogs.java.net/blog/jfarcand/archive/2007/03/new_adventures_1.html
>
> So before I jump into code snippet, does that help you to start? I
> can certainly gives concrete example if you want :-)
>
> Concrete examples would be very helpful, or even pseudocode. For
> example, would a delivery guarantee mechanism involve client acks?


OK this week I'm in California for some talks so I might be slow to
respond. To answer you question, the ACK is usually send back when the
connection get suspended. Hence all write always happens after the ack
has been successfully send. So you don't have control over that part.

After the response has been suspended, you have control over all write
operations. I will try to spend some time today to sent a example of how
you can throttle and aggregate messages, and how you can make sure it
delivered on time and ordered.

A+

-- Jeanfrancois


>
> --Phil