-
Notifications
You must be signed in to change notification settings - Fork 13
Implements two stage Caching for ExecutionManager. Hard references, b… #3760
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
base: develop
Are you sure you want to change the base?
Conversation
…ut timed. And untimed SoftReferences. This should help us fail earlier in congested scenarios, but also keep new results around for longer in contended situations.
c3287fc
to
8733cbf
Compare
backend/src/main/java/com/bakdata/conquery/models/config/QueryConfig.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/com/bakdata/conquery/models/query/ExecutionManager.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/com/bakdata/conquery/models/query/ExecutionManager.java
Outdated
Show resolved
Hide resolved
@JsonIgnore | ||
@ValidationMethod(message = "SoftResultCache is required to be soft.") | ||
public boolean isSoftSpecSoft() { | ||
return softResultCacheSpec.contains("softValues"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wenn du Caffeine nutzt kannst du auch @ValidCaffeineSpec()
nehmen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sieht gut aus. Nur der SoftValue check kann noch vereinfacht werden.
backend/src/main/java/com/bakdata/conquery/models/config/QueryConfig.java
Outdated
Show resolved
Hide resolved
…Config.java Co-authored-by: MT <[email protected]>
Ich muss hier noch die Namen anpassen sehe ich gerade |
…ut timed. And untimed SoftReferences. This should help us fail earlier in congested scenarios, but also keep new results around for longer in contended situations.