Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize connector functionality #362

Closed
SanderMertens opened this issue Oct 1, 2015 · 1 comment
Closed

Generalize connector functionality #362

SanderMertens opened this issue Oct 1, 2015 · 1 comment

Comments

@SanderMertens
Copy link
Member

Now that there are a couple of corto connectors, idioms emerge as to how they are best written. These must be captures in a reusable component that would ease writing new, high quality connectors.

This component shall be called a replicator. A replicator should at least provide the following functionality:

  • Forward declare, define, update and delete events
  • Take into account ownership (don't forward objects for which process is not the owner on same medium)
  • Forward method calls to appropriate owner
  • Selection of which objects are replicated (out)
  • Mount point where synchronized objects are being stored (in)

Additionally it can provide:

  • Support for threading
  • Support for polling vs. event based for corto store
  • Support for polling vs. event based for medium
  • Control polling frequencies
  • Control tolerance (how long can a medium be disconnected)
  • Support for suspending objects (delegate storing object to medium)
  • Support for resuming objects (restore object from medium into store, requires hook in resolve function)
  • Automate dependency serialization (note that for cross-replicator dependencies to work, dependency admin must be a singleton)
@SanderMertens SanderMertens added this to the alpha 0.2.0 milestone Oct 1, 2015
SanderMertens added a commit that referenced this issue Oct 3, 2015
Fix bug with respect to passing sequences to a function, and a bug in
the parser that did not correctly generate updatebegin/updateend pairs.
@SanderMertens SanderMertens modified the milestones: alpha 0.3.0, alpha 0.2.0 Oct 7, 2015
@SanderMertens
Copy link
Member Author

The following features are implemented for replicators (from the description):

  • Forward declare, define, update and delete events
  • Take into account ownership (don't forward objects for which process is not the owner on same medium)
  • Forward method calls to appropriate owner [BETA]
  • Selection of which objects are replicated (out) [BETA]
  • Mount point where synchronized objects are being stored (in)

Subsequent issues will address the remaining features.

@SanderMertens SanderMertens modified the milestone: 1.0.0 beta Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant