Re: [hibernate-dev] Hiberante OGM Infinispan Remote dialect - Execute the command queue as a single Infispan Remote Server Task

2018-02-06 Thread Radim Vansa
On 02/06/2018 02:55 PM, Sanne Grinovero wrote: > Thanks for starting this, great ideas. > > We should start exploring such options but I am thinking of some more > limitations that we'll have to overcome. To keep the discussion from > getting hopelessly complex, let's try to clarify the purpose: >

Re: [hibernate-dev] Hiberante OGM Infinispan Remote dialect - Execute the command queue as a single Infispan Remote Server Task

2018-02-06 Thread Sanne Grinovero
Thanks for starting this, great ideas. We should start exploring such options but I am thinking of some more limitations that we'll have to overcome. To keep the discussion from getting hopelessly complex, let's try to clarify the purpose: The goal is to solve two problems which are strongly

Re: [hibernate-dev] Hiberante OGM Infinispan Remote dialect - Execute the command queue as a single Infispan Remote Server Task

2018-02-05 Thread Fabio Massimo Ercoli
Hi Radim, thank you for the alternative, it is very interesting. I've to study deeply the feature :P Fabio On Mon, Feb 5, 2018 at 9:53 AM, Radim Vansa wrote: > Hi Fabio, > > thinking about the cons, Hot Rod can intelligently pick the server where > should a given key

Re: [hibernate-dev] Hiberante OGM Infinispan Remote dialect - Execute the command queue as a single Infispan Remote Server Task

2018-02-05 Thread Radim Vansa
Hi Fabio, thinking about the cons, Hot Rod can intelligently pick the server where should a given key reside, to reduce the number of hops (therefore, latency). RemoteCache does not expose any way to route according to some key; feel free to file a feature request in Infinispan JIRA. Note

[hibernate-dev] Hiberante OGM Infinispan Remote dialect - Execute the command queue as a single Infispan Remote Server Task

2018-02-02 Thread Fabio Massimo Ercoli
I'm Fabio, nice to meet you. Speaking of the current implementation of the Infinispan remote dialect of Hibernate OGM, working on issue OGM-1206 and talking with Davide I noticed that the unit of work commands are executed (flushed to datastore) at the end of the transaction itself. In particular