You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Pawan Verma <pa...@hotwaxsystems.com> on 2020/06/16 10:21:29 UTC
Use cache in Type Data lookup
Hello Devs,
Greetings for the day!
Using cache while fetching data from Type entity is a good practice as Type
data is permanent in the system. We've already implemented this practice
proficiently in our code base but some lookups failed to do so.
My proposal here is to use a cache for all the Type Data Lookups. If we are
unanimous for this improvement, I'll log a Jira for this.
Please let me know your thoughts on this. Thanks!
--
Thanks & Regards
Pawan Verma
Technical Consultant
*HotWax Systems*
*Enterprise open source experts*
http://www.hotwaxsystems.com
Re: Use cache in Type Data lookup
Posted by Pawan Verma <pa...@hotwaxsystems.com>.
Thanks, Chandan and Jacques for the response.
I've created a Jira for that:
https://issues.apache.org/jira/browse/OFBIZ-11865
--
Thanks & Regards
Pawan Verma
Technical Consultant
*HotWax Systems*
*Enterprise open source experts*
http://www.hotwaxsystems.com
On Sat, Jun 27, 2020 at 8:04 PM Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> Hi Pawan, All,
>
> Lazy consensus prevails when no answers ;)
>
> Jacques
>
> Le 27/06/2020 à 14:57, Chandan Khandelwal a écrit :
> > Hi Pawan,
> >
> > +1 for using cache for type data.
> >
> > Kind Regards,
> > Chandan Khandelwal
> >
> >
> >
> > On Tue, Jun 16, 2020 at 3:52 PM Pawan Verma <
> pawan.verma@hotwaxsystems.com>
> > wrote:
> >
> >> Hello Devs,
> >>
> >> Greetings for the day!
> >>
> >> Using cache while fetching data from Type entity is a good practice as
> Type
> >> data is permanent in the system. We've already implemented this practice
> >> proficiently in our code base but some lookups failed to do so.
> >>
> >> My proposal here is to use a cache for all the Type Data Lookups. If we
> are
> >> unanimous for this improvement, I'll log a Jira for this.
> >>
> >> Please let me know your thoughts on this. Thanks!
> >>
> >> --
> >> Thanks & Regards
> >> Pawan Verma
> >> Technical Consultant
> >> *HotWax Systems*
> >> *Enterprise open source experts*
> >> http://www.hotwaxsystems.com
> >>
>
Re: Use cache in Type Data lookup
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Pawan, All,
Lazy consensus prevails when no answers ;)
Jacques
Le 27/06/2020 à 14:57, Chandan Khandelwal a écrit :
> Hi Pawan,
>
> +1 for using cache for type data.
>
> Kind Regards,
> Chandan Khandelwal
>
>
>
> On Tue, Jun 16, 2020 at 3:52 PM Pawan Verma <pa...@hotwaxsystems.com>
> wrote:
>
>> Hello Devs,
>>
>> Greetings for the day!
>>
>> Using cache while fetching data from Type entity is a good practice as Type
>> data is permanent in the system. We've already implemented this practice
>> proficiently in our code base but some lookups failed to do so.
>>
>> My proposal here is to use a cache for all the Type Data Lookups. If we are
>> unanimous for this improvement, I'll log a Jira for this.
>>
>> Please let me know your thoughts on this. Thanks!
>>
>> --
>> Thanks & Regards
>> Pawan Verma
>> Technical Consultant
>> *HotWax Systems*
>> *Enterprise open source experts*
>> http://www.hotwaxsystems.com
>>
Re: Use cache in Type Data lookup
Posted by Chandan Khandelwal <ch...@hotwaxsystems.com>.
Hi Pawan,
+1 for using cache for type data.
Kind Regards,
Chandan Khandelwal
On Tue, Jun 16, 2020 at 3:52 PM Pawan Verma <pa...@hotwaxsystems.com>
wrote:
> Hello Devs,
>
> Greetings for the day!
>
> Using cache while fetching data from Type entity is a good practice as Type
> data is permanent in the system. We've already implemented this practice
> proficiently in our code base but some lookups failed to do so.
>
> My proposal here is to use a cache for all the Type Data Lookups. If we are
> unanimous for this improvement, I'll log a Jira for this.
>
> Please let me know your thoughts on this. Thanks!
>
> --
> Thanks & Regards
> Pawan Verma
> Technical Consultant
> *HotWax Systems*
> *Enterprise open source experts*
> http://www.hotwaxsystems.com
>