Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-19 Thread Galder Zamarreño
Hi all, Dan and I had a chat to clarify some of these topics on IRC: > On 16 Jun 2015, at 14:36, Dan Berindei wrote: > > Hey Galder > > I have finally read the proto8 code, and it looks quite good. > > I do have some concerns about how the lambdas will interact with > distribution, because no

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-16 Thread Dan Berindei
Hey Galder I have finally read the proto8 code, and it looks quite good. I do have some concerns about how the lambdas will interact with distribution, because not every node performs conditional updates the same way (at least not without total order): 1. In non-transactional caches, we will ret

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-15 Thread Galder Zamarreño
> On 10 Jun 2015, at 04:08, William Burns wrote: > > > > On Tue, Jun 9, 2015 at 2:12 AM Galder Zamarreño wrote: > > > On 8 Jun 2015, at 10:57, Radim Vansa wrote: > > > > On 06/08/2015 10:41 AM, Dan Berindei wrote: > >> On Mon, Jun 8, 2015 at 10:37 AM, Galder Zamarreño > >> wrote: > O

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-09 Thread William Burns
On Tue, Jun 9, 2015 at 2:12 AM Galder Zamarreño wrote: > > > On 8 Jun 2015, at 10:57, Radim Vansa wrote: > > > > On 06/08/2015 10:41 AM, Dan Berindei wrote: > >> On Mon, Jun 8, 2015 at 10:37 AM, Galder Zamarreño > wrote: > On 5 Jun 2015, at 14:15, Radim Vansa wrote: > > Is the m

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-08 Thread Galder Zamarreño
> On 8 Jun 2015, at 10:57, Radim Vansa wrote: > > On 06/08/2015 10:41 AM, Dan Berindei wrote: >> On Mon, Jun 8, 2015 at 10:37 AM, Galder Zamarreño wrote: On 5 Jun 2015, at 14:15, Radim Vansa wrote: Is the marshalling comparison really fair? The lambda-table-based approach

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-08 Thread Radim Vansa
On 06/08/2015 10:41 AM, Dan Berindei wrote: > On Mon, Jun 8, 2015 at 10:37 AM, Galder Zamarreño wrote: >>> On 5 Jun 2015, at 14:15, Radim Vansa wrote: >>> >>> Is the marshalling comparison really fair? The lambda-table-based >>> approach removes the need for serializing the class definition, but

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-08 Thread Dan Berindei
On Mon, Jun 8, 2015 at 10:37 AM, Galder Zamarreño wrote: > >> On 5 Jun 2015, at 14:15, Radim Vansa wrote: >> >> Is the marshalling comparison really fair? The lambda-table-based >> approach removes the need for serializing the class definition, but in >> practice - is the class definition always

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-08 Thread Galder Zamarreño
> On 5 Jun 2015, at 14:15, Radim Vansa wrote: > > Is the marshalling comparison really fair? The lambda-table-based > approach removes the need for serializing the class definition, but in > practice - is the class definition always send around with each RPC? ^ We've extensively added Infinis

Re: [infinispan-dev] Cache Java 8 API proposal - 2nd draft

2015-06-05 Thread Radim Vansa
Is the marshalling comparison really fair? The lambda-table-based approach removes the need for serializing the class definition, but in practice - is the class definition always send around with each RPC? If it is so, it seems like a serious flaw of the current codebase, and not something occu