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

Preload data to memory #190

Open
tshemsedinov opened this issue Sep 2, 2018 · 0 comments
Open

Preload data to memory #190

tshemsedinov opened this issue Sep 2, 2018 · 0 comments

Comments

@tshemsedinov
Copy link
Member

  • On application server and globalstorage startup we need to load data from persistent storage to memory
  • First of all we will load Category with field Family in ('Registry', 'Dictionary', 'History') and each node should select entities with Id is masked by current server bitmask.
  • If Family in ('Registry', 'History') we will load entities that satisfies LocalId % NodeCount === gs.nodeIndex to corresponding nodes
  • If Family === 'Dictionary' we will load all entities to all nodes
  • All other categories will be related to Registry or Dictionary as a detail (in master-detail / one-to-many relation) so all details should be loaded to the same node (process) where master loaded
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