weso / hercules-sync

Tools to synchronise data between the ontology files and Wikibase instance for the Hercules project at University of Murcia.
GNU General Public License v3.0
4 stars 1 forks source link

Move operations to execute to a Kafka queue #64

Open alejgh opened 4 years ago

alejgh commented 4 years ago

Thank you to @thewilly for the original idea.

The main point of this issue is to propose the addition of a Kafka queue (or similar technology, we still have to discuss the details) where the operations to execute in Wikibase will be pushed and then handled by the Wikibase adapter. Although this will add a new layer of complexity (bigger on smaller depending on the final solution details), we will also get several benefits. Some of them are:

In general, I really like the idea and I think it could benefit the system considerably.

thewillyhuman commented 4 years ago

Doesn't need to be a kafka queue nor any specific technology, just a buffer that, as you perfectly explained, decouples the generator and the consumer of operations, not only the code but also the execution. 👍