Re: LOCAL cache serializes the entries?

2015-11-09 Thread Dmitriy Setrakyan
..@apache.org > > Date: Sat, 7 Nov 2015 00:32:37 -0800 > > Subject: Re: LOCAL cache serializes the entries? > > To: dev@ignite.apache.org > > > > On Fri, Nov 6, 2015 at 7:44 AM, Andrey Kornev > > wrote: > > > > > > > > This design is unfo

RE: LOCAL cache serializes the entries?

2015-11-07 Thread Andrey Kornev
a.org/wiki/Principle_of_least_astonishment). Regards Andrey > From: dsetrak...@apache.org > Date: Sat, 7 Nov 2015 00:32:37 -0800 > Subject: Re: LOCAL cache serializes the entries? > To: dev@ignite.apache.org > > On Fri, Nov 6, 2015 at 7:44 AM, Andrey Kornev > wrote: > > > > > Th

Re: LOCAL cache serializes the entries?

2015-11-07 Thread Dmitriy Setrakyan
On Fri, Nov 6, 2015 at 7:44 AM, Andrey Kornev wrote: > > This design is unfortunate, but I understand the reason. My issue is not > with performance impact of serialization, but with having to make my > key/value serializable which is not always possible nor desirable. Andrey, as you aware, in

RE: LOCAL cache serializes the entries?

2015-11-06 Thread Andrey Kornev
ache.org > Date: Thu, 5 Nov 2015 17:34:28 -0800 > Subject: Re: LOCAL cache serializes the entries? > To: dev@ignite.apache.org > > On Thu, Nov 5, 2015 at 6:44 AM, Andrey Kornev > wrote: > > > Hello, > > > > It seems that even if the cache is configured as LO

Re: LOCAL cache serializes the entries?

2015-11-05 Thread Dmitriy Setrakyan
On Thu, Nov 5, 2015 at 6:44 AM, Andrey Kornev wrote: > Hello, > > It seems that even if the cache is configured as LOCAL, the entries are > nevertheless stored in serialized form. If that's the case, could someone > explain the reasons? > Andrey, JCache has pass-by-value semantics by default, wh

LOCAL cache serializes the entries?

2015-11-05 Thread Andrey Kornev
Hello, It seems that even if the cache is configured as LOCAL, the entries are nevertheless stored in serialized form. If that's the case, could someone explain the reasons? Regards Andrey