Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-19 Thread Mircea Markus
On 15 Jul 2011, at 18:17, Vladimir Blagojevic wrote: > Mircea, > > I applaud the effort and your experiment! Having said that I think we have to > engineer a much more plumbing for more complicated cases, e.g map/reduce > (marshalling results, classloading etc etc). I am more and more convince

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-19 Thread Mircea Markus
On 15 Jul 2011, at 18:06, Manik Surtani wrote: > I think this is fine as a wiki page, and let users extend/hack in this > functionality for now, but IMO we need to properly engineer distributed XA > over Hot Rod (with a tx broker, etc. as we designed some months back). +1. I've added an wiki[1]

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Vladimir Blagojevic
Mircea, I applaud the effort and your experiment! Having said that I think we have to engineer a much more plumbing for more complicated cases, e.g map/reduce (marshalling results, classloading etc etc). I am more and more convinced nowadays that all of this plumbing is better provided by AS

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Manik Surtani
I think this is fine as a wiki page, and let users extend/hack in this functionality for now, but IMO we need to properly engineer distributed XA over Hot Rod (with a tx broker, etc. as we designed some months back). It's good that we have detailed this prototype, but I would say put it up on t

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Mircea Markus
On 15 Jul 2011, at 13:10, Sanne Grinovero wrote: > Hi, > in the case of Lucene Queries my main concern is about how to a) properly > serialize the query b) how to stream the resusts back, possibly having some > pagination / flow control. > If you want we can have a look together to see wether t

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Navin Surtani
> Hi, > in the case of Lucene Queries my main concern is about how to a) > properly serialize the query b) how to stream the resusts back, > possibly having some pagination / flow control. > I didn't look into hotrod sources, but I was not assuming the hard > part would to make it possible to s

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Sanne Grinovero
Hi, in the case of Lucene Queries my main concern is about how to a) properly serialize the query b) how to stream the resusts back, possibly having some pagination / flow control. I didn't look into hotrod sources, but I was not assuming the hard part would to make it possible to send some new com

[infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Mircea Markus
Hi, As there is a high community demand for having these operations in place, and most of these are targeted for post 5.1 releases, I thought about a workaround for having this functionality in place. I hijacked Hotrod's put operation and added a custom interceptor, so that if a certain object