TagCache might use remove on put anit-pattern
Not 100% sure, I haven't had enough coffee this morning to unwind what is happening, but it looks to me like the TagInodeCacheImpl is removing on a put:
https://github.com/dotCMS/core/blob/master-3.6/src/com/dotmarketing/tag/business/TagInodeCacheImpl.java#L55
What this can do in a cluster is cause the servers to ping-pong one putting and sending invalidations to the others, then the other having to put and sending invalidations to the first.
I'll look later but I think this is working
On Fri, Jun 3, 2016, 8:02 AM Will Ezell [email protected] wrote:
Not 100% sure, I haven't had enough coffee this morning to unwind what is happening, but it looks to me like the TagInodeCacheImpl is removing on a put:
https://github.com/dotCMS/core/blob/master-3.6/src/com/dotmarketing/tag/business/TagInodeCacheImpl.java#L55
What this can do in a cluster is cause the servers to ping-pong one putting and sending invalidations to the others, then the other having to put and sending invalidations to the first.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dotCMS/core/issues/9174, or mute the thread https://github.com/notifications/unsubscribe/ABfteCvxUIj0l5SdZMIYppSK_osondetks5qIBfkgaJpZM4Itdwm .
Agreed