You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Thomas Mueller <mu...@adobe.com> on 2013/02/27 15:40:25 UTC

Hooks / validators with multiple oak-core instances using the same backend storage

Hi,

I have a question about the hooks / validators in oak-core: let's assume multiple oak-core instances use the same backend storage, do the hooks / validators also see changes made within other oak-core instances? If yes, does it scale? I mean, let's assume we have 100 cluster nodes, would each cluster node validate each change made by all other cluster nodes?

Regards,
Thomas


Re: Hooks / validators with multiple oak-core instances using the same backend storage

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Feb 27, 2013 at 4:40 PM, Thomas Mueller <mu...@adobe.com> wrote:
> I have a question about the hooks / validators in oak-core: let's assume multiple
> oak-core instances use the same backend storage, do the hooks / validators also
> see changes made within other oak-core instances? If yes, does it scale? I mean,
> let's assume we have 100 cluster nodes, would each cluster node validate each
> change made by all other cluster nodes?

No, a hook only looks at a commit *before* it gets sent to the
underlying MicroKernel and thus shared with the rest of the cluster.

BR,

Jukka Zitting