Re: Message-id management revisited

From: Mike Fitzpatrick <fitz-at-noao.edu>
Date: Wed, 4 Jun 2008 22:27:54 -0700


> I can think of a lot of different ways this could be addressed, with
> associated disadvantages. Amongst other possibilities:
> :
> 2. sender generates single msg-id with fixed form <client-id>-<msg-tag>
> (this was Mike's original proposal)
> - hub can avoid maintaining *essential* state, but if it wants to
> keep track of other per-message info (e.g. timestamp, checksum,
> ...) it will need to store it internally. Also need to worry
> about what happens if the sender does not follow the requirement
> for how the id is generated - better to have an interface in
> which it's impossible to do the wrong thing.

    This is still my first choice (surprised?). Because:

> 4. hub provides hub-msg-id -> sender-msg-id translation method
> - OK but slightly messy

       Should there be a lack of unanimous epiphany regarding the above argument, this would be my second choice. This simply exposes a functionality the Hub must already implement in order to handle a reply, and it's a really small number of apps that would need this as a way to get the sender-id to send a progress message. The concern then is that it opens to door to requiring similar methods to get other useful data from the id string as mentioned
above.

> 8. do nothing
> - can't transmit progress information

      Not happy with this at all -- progress dialogs are accepted as good practice
in interface design and we can't assume there is only one long-running job active
or that only one app requested it.

     Option 2 totally avoids round-trips to the hub and lets all app know what the
msgid is trying to convey; option 4 is acceptable where the number of apps needing it is low and its use in the desktop-gui environment means there's no real burden; option 8 is something we might regret one day.

Cheers,
-Mike Received on 2008-06-05Z07:28:51