Redis for dynamic plugins.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Redis for dynamic plugins.

hpaks23@gmail.com
Hello,

I am trying to find out if redis implementation can be done for dynamic plugins in dotcms? I came across implementation for static plugin but not for dynamic.

Static plugin : https://github.com/dotCMS/plugin-dotcms-redis

More information on this is appreciated.

Thank you!!

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/fc557aed-4fa5-4351-8f7f-c93c716437e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Redis for dynamic plugins.

Maarten Daalder
I'm sure you can write a dynamic plugin that uses Redis, but I sincerely doubt you could (easily) replace the entire caching layer via a dynamic plugin.

On Wednesday, 6 December 2017 14:38:10 UTC+1, [hidden email] wrote:
Hello,

I am trying to find out if redis implementation can be done for dynamic plugins in dotcms? I came across implementation for static plugin but not for dynamic.

Static plugin : <a href="https://github.com/dotCMS/plugin-dotcms-redis" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;">https://github.com/dotCMS/plugin-dotcms-redis

More information on this is appreciated.

Thank you!!

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7d0931dd-f71f-4298-83dd-396db4537d2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Redis for dynamic plugins.

hpaks23@gmail.com
Is there like a sample dynamic plugin i can reference to?( or any documentation would be very helpful. This is my 1st time working with Redis.)

On Wednesday, December 6, 2017 at 7:44:22 AM UTC-6, Maarten Daalder wrote:
I'm sure you can write a dynamic plugin that uses Redis, but I sincerely doubt you could (easily) replace the entire caching layer via a dynamic plugin.

On Wednesday, 6 December 2017 14:38:10 UTC+1, [hidden email] wrote:
Hello,

I am trying to find out if redis implementation can be done for dynamic plugins in dotcms? I came across implementation for static plugin but not for dynamic.

Static plugin : <a href="https://github.com/dotCMS/plugin-dotcms-redis" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;">https://github.com/dotCMS/plugin-dotcms-redis

More information on this is appreciated.

Thank you!!

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/15559a5e-d3c9-42f4-8dd7-899371f96c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Redis for dynamic plugins.

Maarten Daalder
I don't have a sample Redis plugin. But you can start with either the servlet example of the jax-rs example and build from there using the client documentation:
https://github.com/xetorthio/jedis

On Wednesday, 6 December 2017 14:59:13 UTC+1, [hidden email] wrote:
Is there like a sample dynamic plugin i can reference to?( or any documentation would be very helpful. This is my 1st time working with Redis.)

On Wednesday, December 6, 2017 at 7:44:22 AM UTC-6, Maarten Daalder wrote:
I'm sure you can write a dynamic plugin that uses Redis, but I sincerely doubt you could (easily) replace the entire caching layer via a dynamic plugin.

On Wednesday, 6 December 2017 14:38:10 UTC+1, [hidden email] wrote:
Hello,

I am trying to find out if redis implementation can be done for dynamic plugins in dotcms? I came across implementation for static plugin but not for dynamic.

Static plugin : <a href="https://github.com/dotCMS/plugin-dotcms-redis" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;">https://github.com/dotCMS/plugin-dotcms-redis

More information on this is appreciated.

Thank you!!

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/9fb54d52-69b4-4d28-917f-8f55e0dae4af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Redis for dynamic plugins.

Jason Tesser-2
The current issue with doing this in OSGi is the config for the cache provider chain. ie... cache.CACHE-REGION-NAME.chain=CACHE-PROVIDER-CLASS-1,CACHE-PROVIDER-CLASS-2, ..

Read here for more

We have yet implemented the method to add a cache provider at runtime 

On Wed, Dec 6, 2017 at 10:01 AM Maarten Daalder <[hidden email]> wrote:
I don't have a sample Redis plugin. But you can start with either the servlet example of the jax-rs example and build from there using the client documentation:

On Wednesday, 6 December 2017 14:59:13 UTC+1, [hidden email] wrote:
Is there like a sample dynamic plugin i can reference to?( or any documentation would be very helpful. This is my 1st time working with Redis.)

On Wednesday, December 6, 2017 at 7:44:22 AM UTC-6, Maarten Daalder wrote:
I'm sure you can write a dynamic plugin that uses Redis, but I sincerely doubt you could (easily) replace the entire caching layer via a dynamic plugin.

On Wednesday, 6 December 2017 14:38:10 UTC+1, [hidden email] wrote:
Hello,

I am trying to find out if redis implementation can be done for dynamic plugins in dotcms? I came across implementation for static plugin but not for dynamic.


More information on this is appreciated.

Thank you!!

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/9fb54d52-69b4-4d28-917f-8f55e0dae4af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GPLLyUxE80_0WZ9mWBRhXtFavxGSzLdMOY_73mFhtTpAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Redis for dynamic plugins.

hpaks23@gmail.com
Thank you!! 

On Wednesday, December 6, 2017 at 9:55:39 AM UTC-6, LORDs_diakonos wrote:
The current issue with doing this in OSGi is the config for the cache provider chain. ie... cache.CACHE-REGION-NAME.chain=CACHE-PROVIDER-CLASS-1,CACHE-PROVIDER-CLASS-2, ..

Read here for more
<a href="https://dotcms.com/docs/latest/cache-chaining" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdotcms.com%2Fdocs%2Flatest%2Fcache-chaining\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG07nLhlYd4FvvpwYzdbrYJmVBrWg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdotcms.com%2Fdocs%2Flatest%2Fcache-chaining\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG07nLhlYd4FvvpwYzdbrYJmVBrWg&#39;;return true;">https://dotcms.com/docs/latest/cache-chaining

We have yet implemented the method to add a cache provider at runtime 

On Wed, Dec 6, 2017 at 10:01 AM Maarten Daalder <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="_eRKMDOOCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">maarten...@...> wrote:
I don't have a sample Redis plugin. But you can start with either the servlet example of the jax-rs example and build from there using the client documentation:
<a href="https://github.com/xetorthio/jedis" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fxetorthio%2Fjedis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEeN07LoTXhEVlXdEYzZHDVFUjfMw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fxetorthio%2Fjedis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEeN07LoTXhEVlXdEYzZHDVFUjfMw&#39;;return true;">https://github.com/xetorthio/jedis

On Wednesday, 6 December 2017 14:59:13 UTC+1, [hidden email] wrote:
Is there like a sample dynamic plugin i can reference to?( or any documentation would be very helpful. This is my 1st time working with Redis.)

On Wednesday, December 6, 2017 at 7:44:22 AM UTC-6, Maarten Daalder wrote:
I'm sure you can write a dynamic plugin that uses Redis, but I sincerely doubt you could (easily) replace the entire caching layer via a dynamic plugin.

On Wednesday, 6 December 2017 14:38:10 UTC+1, [hidden email] wrote:
Hello,

I am trying to find out if redis implementation can be done for dynamic plugins in dotcms? I came across implementation for static plugin but not for dynamic.

Static plugin : <a href="https://github.com/dotCMS/plugin-dotcms-redis" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FdotCMS%2Fplugin-dotcms-redis\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGWze-f_Pu9P_5ueF40aqhJ8PfGqw&#39;;return true;">https://github.com/dotCMS/plugin-dotcms-redis

More information on this is appreciated.

Thank you!!

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="_eRKMDOOCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="_eRKMDOOCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/9fb54d52-69b4-4d28-917f-8f55e0dae4af%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/9fb54d52-69b4-4d28-917f-8f55e0dae4af%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/9fb54d52-69b4-4d28-917f-8f55e0dae4af%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/dotcms/9fb54d52-69b4-4d28-917f-8f55e0dae4af%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/445015f7-ad9e-4402-b276-f911b4d2df0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.