[jira] Created: (OFBIZ-4098) Ability to plug a new Cache Implementation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
Ability to plug a new Cache Implementation
------------------------------------------

                 Key: OFBIZ-4098
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
             Project: OFBiz
          Issue Type: New Feature
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Philippe Mouawad


Hello,
I would like to contribute a patch to enable switching from Ofbiz native
Cache (today UtilCache) to another implementation like EhCache for example.
To avoid big code impacts, UtilCache would stay the same and delegate to the real
cache implementation this will impact less classes and big impacts
would stay in UtilCache package.

Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.

Is the format to contribute this kind of evolution also a patch ?

Thank you

Regards
Philippe
http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979117#action_12979117 ]

David E. Jones commented on OFBIZ-4098:
---------------------------------------

This is an interesting request. For Moqui (www.moqui.org) I decided to go with ehcache itself for the cache implementation. The cache interface design I started with was based on the OFBiz cache API, and most of it worked pretty well but there were a few mismatches, and quite a few things I got rid of in the cache design because ehcache just doesn't support them.

Anyway, the implementation ends up being quite simple, the cache wrapper and factory in Moqui are complete and available here:

http://moqui.svn.sourceforge.net/viewvc/moqui/trunk/moqui/framework/impl/src/org/moqui/impl/context/CacheImpl.groovy?view=markup

http://moqui.svn.sourceforge.net/viewvc/moqui/trunk/moqui/framework/impl/src/org/moqui/impl/context/CacheFacadeImpl.groovy?view=markup

Chances are it would only take a few hours to implement this in OFBiz (plus time for whatever configuration mechanism you decide on, which is messy), but you would have to leave out (effectively disable) certain features that the OFBiz UtilCache supports. For example, I never could figure out how to get soft references working in ehcache.

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979123#action_12979123 ]

Philippe Mouawad commented on OFBIZ-4098:
-----------------------------------------

Hello,
Thank you for your answer.

Here are the features I have seen until now that cannot be ported:
- Soft references as you said and associated webtools update features
- Putting null keys unless I use JSR Cache, do you know if it's an important feature ?
- The feature mentionned in Subtask (but I am not sure it is useful)


Regards
Philippe
http://www.ubik-ingenierie.com

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-4098:
------------------------------------

    Attachment: patch-4098.patch

Here is the patch that enable providing an alternative Cache implementation.

I modified only on thing in JUnit test case, I added assertSame to make it compare through equals instead of references, because UtilCache is now only a Facade to real cache.

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>         Attachments: patch-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Issue Comment Edited: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979354#action_12979354 ]

Philippe Mouawad edited comment on OFBIZ-4098 at 1/9/11 11:28 AM:
------------------------------------------------------------------

Hello,
Here is the patch that enables providing an alternative Cache implementation, setup is done in CacheManagerFactory and defaults to ofbiz.
So current behaviour is exactly the same as before but refactoring was done to ease new Implementation plugin.

I modified only on thing in JUnit test case, I added assertSame to make it compare through equals instead of references, because UtilCache is now only a Facade to real cache.
I will provide within a week EhCache implementation provided you agree with this first step.

Philippe Mouawad
http://www.ubik-ingenierie.com

      was (Author: pmouawad):
    Here is the patch that enable providing an alternative Cache implementation.

I modified only on thing in JUnit test case, I added assertSame to make it compare through equals instead of references, because UtilCache is now only a Facade to real cache.
 

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>         Attachments: patch-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Issue Comment Edited: (OFBIZ-4098) Ability to plug a new Cache Implementation

Philippe Mouawad
Hello All,
I contributed a patch for a new feature.

I don't know if it is my role to mark the issue as Resolved or is it the
Apache commiter that must do so ?

Note that I junit tested the patch so I hope you can integrated it rapidly.
Regards
Philippe


On Sun, Jan 9, 2011 at 5:28 PM, Philippe Mouawad (JIRA) <[hidden email]>wrote:

>
>    [
> https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979354#action_12979354]
>
> Philippe Mouawad edited comment on OFBIZ-4098 at 1/9/11 11:28 AM:
> ------------------------------------------------------------------
>
> Hello,
> Here is the patch that enables providing an alternative Cache
> implementation, setup is done in CacheManagerFactory and defaults to ofbiz.
> So current behaviour is exactly the same as before but refactoring was done
> to ease new Implementation plugin.
>
> I modified only on thing in JUnit test case, I added assertSame to make it
> compare through equals instead of references, because UtilCache is now only
> a Facade to real cache.
> I will provide within a week EhCache implementation provided you agree with
> this first step.
>
> Philippe Mouawad
> http://www.ubik-ingenierie.com
>
>      was (Author: pmouawad):
>    Here is the patch that enable providing an alternative Cache
> implementation.
>
> I modified only on thing in JUnit test case, I added assertSame to make it
> compare through equals instead of references, because UtilCache is now only
> a Facade to real cache.
>
> > Ability to plug a new Cache Implementation
> > ------------------------------------------
> >
> >                 Key: OFBIZ-4098
> >                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
> >             Project: OFBiz
> >          Issue Type: New Feature
> >          Components: framework
> >    Affects Versions: SVN trunk
> >            Reporter: Philippe Mouawad
> >         Attachments: patch-4098.patch
> >
> >   Original Estimate: 96h
> >  Remaining Estimate: 96h
> >
> > Hello,
> > I would like to contribute a patch to enable switching from Ofbiz native
> > Cache (today UtilCache) to another implementation like EhCache for
> example.
> > To avoid big code impacts, UtilCache would stay the same and delegate to
> the real
> > cache implementation this will impact less classes and big impacts
> > would stay in UtilCache package.
> > Ability to plug another implementation like EhCache for example would
> enable easily plugin with Terracota for example which on big Web Site gives
> much performance enhancements.
> > Is the format to contribute this kind of evolution also a patch ?
> > Thank you
> > Regards
> > Philippe
> > http://www.ubik-ingenierie.com
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


--
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Issue Comment Edited: (OFBIZ-4098) Ability to plug a new Cache Implementation

Erwan de FERRIERES
Le 09/01/2011 17:31, Philippe Mouawad a écrit :
> Hello All,
> I contributed a patch for a new feature.
>
> I don't know if it is my role to mark the issue as Resolved or is it the
> Apache commiter that must do so ?
>

Hi Philippe,

the committer who will take care of your patch will mark the issue as
resolved and closed.

BTW, there is a formatting issue with your patch, and all the lines
messed up for the .classpath file.

Cheers,

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-4098:
------------------------------------

    Attachment:     (was: patch-4098.patch)

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Issue Comment Edited: (OFBIZ-4098) Ability to plug a new Cache Implementation

Philippe Mouawad
In reply to this post by Erwan de FERRIERES
Hello,
I resubmitted the patch, please tell me if it's OK for you.
Can it be related to the fact I work on MacBook ?

Regards
Philippe

On Sun, Jan 9, 2011 at 5:42 PM, Erwan de FERRIERES <
[hidden email]> wrote:

> Le 09/01/2011 17:31, Philippe Mouawad a écrit :
>
>  Hello All,
>> I contributed a patch for a new feature.
>>
>> I don't know if it is my role to mark the issue as Resolved or is it the
>> Apache commiter that must do so ?
>>
>>
> Hi Philippe,
>
> the committer who will take care of your patch will mark the issue as
> resolved and closed.
>
> BTW, there is a formatting issue with your patch, and all the lines messed
> up for the .classpath file.
>
> Cheers,
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>



--
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-4098:
------------------------------------

    Attachment: ofbiz-4098.patch

With issue on classpath formatting  fixed I hope.

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>         Attachments: ofbiz-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-4098:
------------------------------------

    Attachment:     (was: ofbiz-4098.patch)

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-4098:
------------------------------------

    Attachment: ofbiz-4098.patch

The good version.

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>         Attachments: ofbiz-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979370#action_12979370 ]

Adrian Crum commented on OFBIZ-4098:
------------------------------------

Instead of creating an interface called ICache and having UtilCache implement that interface, I wonder if it would be better to make UtilCache the interface and have a concrete class (UtilCacheImpl?) implement it. Third-party code that uses UtilCache will have to recompile, but the change would move us in the direction of programming to an interface-based API.

Just a suggestion.


> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>         Attachments: ofbiz-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Issue Comment Edited: (OFBIZ-4098) Ability to plug a new Cache Implementation

Erwan de FERRIERES
In reply to this post by Philippe Mouawad
Le 09/01/2011 17:49, Philippe Mouawad a écrit :

> Hello,
> I resubmitted the patch, please tell me if it's OK for you.
> Can it be related to the fact I work on MacBook ?
>
> Regards
> Philippe
>
> On Sun, Jan 9, 2011 at 5:42 PM, Erwan de FERRIERES<
> [hidden email]>  wrote:
>
>> Le 09/01/2011 17:31, Philippe Mouawad a écrit :
>>
>>   Hello All,
>>> I contributed a patch for a new feature.
>>>
>>> I don't know if it is my role to mark the issue as Resolved or is it the
>>> Apache commiter that must do so ?
>>>
>>>
>> Hi Philippe,
>>
>> the committer who will take care of your patch will mark the issue as
>> resolved and closed.
>>
>> BTW, there is a formatting issue with your patch, and all the lines messed
>> up for the .classpath file.
>>
>> Cheers,
>>
>> --
>> Erwan de FERRIERES
>> www.nereide.biz
>>
>
>
>
looks nice now. I'm betting it's just a misconfiguration of your IDE.
You still can check it here :
https://cwiki.apache.org/OFBADMIN/coding-conventions.html

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979371#action_12979371 ]

Philippe Mouawad commented on OFBIZ-4098:
-----------------------------------------

Yes It would be better but it would impact thousands of Ofbiz classes.
Had I started it from scratch I would have done it as you suggest but now it is too impacting.

Thank you
Regards
Philippe

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>         Attachments: ofbiz-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037087#comment-13037087 ]

Philippe Mouawad commented on OFBIZ-4098:
-----------------------------------------

Hello,
Are there any remarks regarding this work.

Thank you
Regards
Philippe

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>         Attachments: ofbiz-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (OFBIZ-4098) Ability to plug a new Cache Implementation

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-4098:
--------------------------------------

    Assignee: Jacques Le Roux
   

> Ability to plug a new Cache Implementation
> ------------------------------------------
>
>                 Key: OFBIZ-4098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4098
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Philippe Mouawad
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-4098.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable easily plugin with Terracota for example which on big Web Site gives much performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira