Skip to content
Snippets Groups Projects
  1. Jun 03, 2015
  2. Jun 01, 2015
  3. May 28, 2015
  4. May 27, 2015
  5. May 26, 2015
    • Christoph Thelen's avatar
      Merge branch 'caching-fixes' into 'master' · 97a0aaa1
      Christoph Thelen authored
      Caching fixes
      
      This PR fixes some caching bugs:
      
      * Cached methods have been called locally inside of `CouchDBDao`. The caching proxy was bypassed in these cases. All public methods (even those not involved in caching) are now called on the proxy instance. The here provided implementation is not optimal since it goes against SoC but can serve as a temporary fix. A better solution might involve AspectJ's weaving.
      
      * A wrong key for cache eviction has been used for `NewAnswerEvent` in `CacheBuster`.
      
      See merge request !2
      97a0aaa1
    • Christoph Thelen's avatar
      Merge branch 'cacheevict-optimization' into 'master' · 03dd73c9
      Christoph Thelen authored
      CacheEvict optimization
      
      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](https://github.com/thm-projects/arsnova-backend/pull/16). But for now it should massively increase the effectiveness of answer statistics caching.
      
      See merge request !1
      03dd73c9
  6. May 25, 2015
  7. May 24, 2015
  8. May 23, 2015
  9. May 20, 2015
  10. May 18, 2015
  11. May 13, 2015
  12. May 12, 2015
  13. May 11, 2015
  14. May 04, 2015
  15. May 02, 2015
  16. Apr 29, 2015