Open hugy718 opened 2 years ago
One more thing. If a cube is updated and it has been cached inside CoolModel, then the old version is directly returned when requested. Needs additional checking to load the latest version.
@liuchangshiye please solve this problem together with @NLGithubWP
The CoolModel class is currently serve to keep various readstores in memory without loading the the actual chunk data. It looks like a caching layer, then there are a few issue to address.
currentCube
, so it can serve the cohort of a cube at one time. This is not necessary. Multiple workers should be able to concurrently request for cohorts under different cubes with only necessary synchronization