TNO / knowledge-engine

Improves interoperability between systems (i.e. devices, platforms, apps, databases) by exchanging data based on their semantics
https://knowledge-engine.eu
Apache License 2.0
33 stars 4 forks source link

Redesigning threading and ordering of messages. #183

Open Sophietje opened 3 years ago

Sophietje commented 3 years ago

In GitLab by @barry.nouwt.tno.nl on Apr 23, 2021, 09:21

Sophietje commented 3 years ago

In GitLab by @barry.nouwt.tno.nl on Apr 23, 2021, 09:23

Niet-threadsafe KBs krijgen de garantie dat de berichten in de juiste volgorde bij hem komen.

Niet ten koste van schaalbaarheid.

MetaKnowledgeBase moet dit dus gaan gebruiken (voor het verwerken van meta messages) i.p.v. de tijdelijk oplossing die in #151 nu gebruikt is (CompleteableFuture.get() in de register).

Smart Connector threading stuff:

Sophietje commented 3 years ago

In GitLab by @barry.nouwt.tno.nl on Apr 23, 2021, 09:24

marked this issue as related to #151

Sophietje commented 3 years ago

In GitLab by @barry.nouwt.tno.nl on May 7, 2021, 12:00

We should not forget to make the register functions asynchronous again after this issue has been solved (see #151).