Use cache in Type Data lookup

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

Use cache in Type Data lookup

Pawan Verma
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
Reply | Threaded
Open this post in threaded view
|

Re: Use cache in Type Data lookup

Chandan Khandelwal-4
Hi Pawan,

+1 for using cache for type data.

Kind Regards,
Chandan Khandelwal



On Tue, Jun 16, 2020 at 3:52 PM Pawan Verma <[hidden email]>
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
>
Reply | Threaded
Open this post in threaded view
|

Re: Use cache in Type Data lookup

Jacques Le Roux
Administrator
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 <[hidden email]>
> 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
>>
Reply | Threaded
Open this post in threaded view
|

Re: Use cache in Type Data lookup

Pawan Verma
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 <
[hidden email]> 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 <
> [hidden email]>
> > 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
> >>
>