IKANOW / Aleph2

The IKANOW v2 meta-database and analytics platform
Apache License 2.0
2 stars 1 forks source link

Control messaging as a trigger for analytic jobs #85

Open Alex-Ikanow opened 8 years ago

Alex-Ikanow commented 8 years ago

Two different use cases:

I'd rather not use Akka because I still don't trust their clustering (thought it's much improved from 2.5+), Kafka is certainly an option, and/or ZK

So we'd add a "signalling" message to the context APIs, which would check security (you'd need write access)

In the first case you'd want a centralized queue that Akka/DIM sat on. In the second case you'd want the job itself to have its own queue.

Kafka is a bit of a blunt instrument, but it does have the advantage that there are lots of open source clients to send messages across it (eg Logstash)

Alex-Ikanow commented 8 years ago

(Not directly related but thinking out loud on the subject of triggers, if someone specifies a file trigger then perhaps instead of being polled directly, that could get added to some some file watcher actor)