Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Cache updates should be realized only via observation to ensure distribution over the cluster.
Schema of the implementation for page commenting based on observation

First code changes have been commited.
In cache module MAGNOLIA-2616@jira:

...

  • Implementation of the flush policy that is able to detect page that needs to be flushed based on new comments being added.
  • Registration of the above policy on the startup of the module

Class diagram of current implementation:
Image Added

Pending

  • peer review
  • what might still change
    • is some method naming, and
    • probably final location for the code related to flushing the page in the policy. Since this is rather generic, it might be moved to either cache or advanced cache module to expose functionality to the others who might be interested in using it.
    • initialization of the flush policy ... still undecided whether it is really business of the commenting module to register this or whether cache module should take care.
    • configuration - is it enough that there is only this one policy that can be used with commenting, or is there a real chance that we or someone else might ever want to replace it with something else in some case.