Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Privacy
    • Imprint
    • Contact
    • Login methods
  • Sign in
  • ARSnova Backend ARSnova Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ARSnovaARSnova
  • ARSnova BackendARSnova Backend
  • Merge requests
  • !1
The source project of this merge request has been removed.

CacheEvict optimization

Merged Daniel Gerhardt requested to merge (removed):cacheevict-optimization into master May 25, 2015
  • Overview 0
  • Pipelines 0
  • Changes

Currently, in a lot of places the whole cache is cleared when only a single entry changes. Even completely unrelated caches are sometimes unnecessarily cleared.

This PR adds key and condition elements to the annotations and replaces the allEntries element where possible.

There is still room for additional optimizations but these require some refactoring. For now, the related code locations have been commented on to keep track of them.

The last commit of this PR might be obsoleted later by GH16. But for now it should massively increase the effectiveness of answer statistics caching.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cacheevict-optimization