crowdrec / idomaar

CrowdRec reference framework
Apache License 2.0
32 stars 12 forks source link

Orchestrator: recommendation manager sync #42

Closed davidemalagoli closed 9 years ago

davidemalagoli commented 9 years ago

Now orchestrator stop the recommendation manager as soon as it receive the ok message from the computing env. the latter send the ok message as soon as it receive the EOF from the data topic.

The problem is that in this state the recommendation manager could not have finished to request recommendation.

We need to find a sync method that exit only if all the following:

otherwise we should avoid to use the recommendaion manager in an async way but to request recommendation directly in the flume "test" agent

davidemalagoli commented 9 years ago

perhaps the best way would be to send a zeromq message to the orchestrator as soon as the agent receive the EOF