Re: [infinispan-dev] DefaultExecutorFactory and rejection policy

2013-03-14 Thread Radim Vansa
Blocking OOB threads is the thing we want to avoid, remember? I am used do synchronous replication, there we could hold a semaphore on requests to each node. Going down before each RPC and up after that would be pretty simple and having this mechanism in RPC layer it would block only request,

Re: [infinispan-dev] DefaultExecutorFactory and rejection policy

2013-03-14 Thread Dan Berindei
On Thu, Mar 14, 2013 at 9:32 AM, Radim Vansa rva...@redhat.com wrote: Blocking OOB threads is the thing we want to avoid, remember? Well, you have to block somewhere... I like Adrian's solution, because it's a lot better than CallerRunsPolicy: it's blocking the OOB thread until any other

[infinispan-dev] From JSR-107 list, Fwd: Do we need the ReadListener?

2013-03-14 Thread Galder Zamarreño
@Manik, thoughts? I haven't seen Infinispan cache visit listeners being used that extensively… Cheers, Begin forwarded message: From: Greg Luck gl...@gregluck.com Subject: Do we need the ReadListener? Date: March 14, 2013 12:41:57 AM GMT+01:00 To: jsr...@googlegroups.com

Re: [infinispan-dev] DefaultExecutorFactory and rejection policy

2013-03-14 Thread Radim Vansa
- Original Message - | From: Dan Berindei dan.berin...@gmail.com | To: infinispan -Dev List infinispan-dev@lists.jboss.org | Sent: Thursday, March 14, 2013 10:03:10 AM | Subject: Re: [infinispan-dev] DefaultExecutorFactory and rejection policy | | On Thu, Mar 14, 2013 at 9:32 AM, Radim