- Jun 03, 2015
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Requesting partial lists would interfere with Spring caching so pagination is handled by the newly introduced PaginationListDecorator in the controllers. This additionally allows to determine the total count of items (independent from pagination parameters) which is not possible with CouchDB.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- Jun 01, 2015
-
-
Christoph Thelen authored
-
Christoph Thelen authored
-
- May 28, 2015
-
-
Christoph Thelen authored
-
- May 27, 2015
-
-
Christoph Thelen authored
-
Christoph Thelen authored
-
Andreas Gärtner authored
The mentioned method is also changed to only retrieve http header informations instead of whole URI content.
-
- May 26, 2015
-
-
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
-
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
-
- May 25, 2015
-
-
Daniel Gerhardt authored
Added TODOs to keep track of methods still evicting the whole answers cache for future improvements. Additional refactoring is necessary to implement these.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Direct method calls bypass the caching proxy if AspectJ weaving is not configured.
-
Daniel Gerhardt authored
Test was broken by 7d530139.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Removed unused schemas and updated the remaining for Spring 4.1.
-
- May 24, 2015
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- May 23, 2015
-
-
Andreas Gärtner authored
-
- May 20, 2015
-
-
Andreas Gärtner authored
-
Andreas Gärtner authored
-
- May 18, 2015
-
-
Christoph Thelen authored
At least caching of learning progress responses did not work since commit a59eb75f on March, 6th. While the exact origin of this problem is unclear, it seemed like Spring was creating more than one databaseDao bean. One of these beans had no working caching annotations.
-
Andreas Gärtner authored
-
- May 13, 2015
-
-
Andreas Gärtner authored
-
Andreas Gärtner authored
-
- May 12, 2015
-
-
Andreas Gärtner authored
-
Andreas Gärtner authored
-
- May 11, 2015
-
-
Christoph Thelen authored
-
Christoph Thelen authored
These events add more detail about what specific action just happened.
-
Christoph Thelen authored
Unlock is a better representation because this event only occurs when multiple questions are published. 'New' should only be used when questions are created.
-