project8 / dripline

Slow controls for medium scale physics experiments based on AMQP centralized messaging
http://www.project8.org/dripline
1 stars 0 forks source link

All requests should result in an "immediate" reply #158

Open laroque opened 8 years ago

laroque commented 8 years ago

It is hard to know exactly what "immediate" even means here, but a good rule of thumb might be that anything that requires a non-default timeout is too slow. If an action will take longer than a couple of seconds, the behavior should not be send a request and wait for a reply. It should instead be send a request which triggers the start of the action, poll to see if the action is done at whatever interval, the retrieve the result once it is finished. It is fine if dragonfly or something else implements this as a single command line action, but the service behavior should be changed.

Motivations include: