[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Messaging Questions

Hash: SHA1

I've been thinking about some of the edge cases we need to address in
messaging. These may be addressed already, I just wanted to how we're
handling things.

- - What happens if a message is put on the queue for an agent, but the
agent never comes online to pick it up? Do they expire? We'll need some
sort of reaper to time out the request in the server database so it
doesn't perpetually look like it's in progress.

- - What happens if an agent picks up a message but never replies? Same
thing here, we'll need a reaper to mark requests as timed out or in this
case, that the agent never replied.

- - Is there anything in the reply that validates that it came from the
correct agent? For instance, I send package install request 1234 to
agent A, but agent B for some reason replies that 1234 was completed.

- - This one affects just about all of the previous: what happens if a
consumer re-registers? Will it reuse the same queue as it previously
did? If not, when does that queue get deleted? What happens if that
re-registration happens while the agent is doing a task before it
replies, will it confuse the server that the reply came from a
"different" consumer?

- - Are replies back to the server guaranteed delivery as well? I'm
thinking of the situation where the server is offline when the agent
finishes doing its business.

- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]