Skip to content

Preload data to memory #190

@tshemsedinov

Description

@tshemsedinov
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions