Findwise / Hydra

Distributed processing framework for search solutions
http://findwise.github.io/Hydra
Other
81 stars 47 forks source link

Subscription model #272

Open Nycander opened 11 years ago

Nycander commented 11 years ago

Stages should register their queries for subscription instead of polling Hydra core with queries.

This would enable a more streamlined message flow where hydra core is in control. It would also enable other backends to be implemented (such as message brokers).

remen commented 11 years ago

:+1:

laserval commented 10 years ago

When implementing this, we have to consider how the result of the processing is transmitted back to the core. With the HTTP transport (RemotePipeline), I'm not sure which is the best approach:

In the first case, the Core can easily handle timeouts and document state changes just by checking the response from the stage.