Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONDRIAN-PACINO: Make external segment cache faster, safer, more scal…
…able by adopting the actor model more strictly. Requests to query/update the segment index are handled by an actor (dedicated thread). But requests to execute SQL or to query an external cache -- which can take a long time -- cannot be executed from within that thread. They are either farmed out to a worker (and a future returned to the caller if necessary), or thrown back to the calling thread to execute. SegmentConverter exists as a moderately-acceptable hack to deal with the fact that a lot of context from the RolapStar or CellRequest is required to convert a SegmentHeader to a Segment. See my notes in SegmentCacheManager for what should be done about this in the longer term. Implement PartiallySortedSet.remove, and fix a couple of bugs. Make the monitor aware of the external cache. Add validation-api.jar (package javax.validation.constraints). We can start using annotations to declare that parameters and results are never-null, etc. [git-p4: depot-paths = "//open/mondrian-release/pacino/": change = 14868]
- Loading branch information
1 parent
baee022
commit e37e448
Showing
57 changed files
with
3,805 additions
and
2,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.