reTHINK-project / specs

You'll find here the full detailed specification of reTHINK Framework
Apache License 2.0
3 stars 3 forks source link

Reusage of Hyperty and Data Object URLs #6

Closed pchainho closed 7 years ago

pchainho commented 8 years ago

https://github.com/reTHINK-project/dev-runtime-core/issues/85 follow up.

In order to improve performance and avoid performing the creation / subscription process everytime there is a new session, the data object URL persisted in the Domain Registry should be reused and allocated to the object.

Also, Hyperty addresses don't have to be reallocated for every new runtime session

At the end, this means the runtime registry should:

and the Sync Manager uses the Persistence Manager to store locally all subscriptions.

Hyperty URLs reusage:

Data Object URLs reusage:

sdruesedow commented 7 years ago

This also requires extensions on the MN side, since the MNs maintain lists of allocated addresses and subscriptions which are not persistent yet.

pchainho commented 7 years ago

The runtime identifier should also be reused between different runtime sessions

pchainho commented 7 years ago

The MN subscriptions should be always persisted even without the reusage of Hyperty and Object addresses to avoid loosing subscription when the MN reboot in the middle of the runtime session