[infinispan-dev] persistence thread pool

Sanne Grinovero sanne at infinispan.org
Wed Sep 11 15:44:40 EDT 2013


+1 to add configuration

I'm not sure if it should be a global component. Having a single
instance would help to reuse some threads and keep the overall amount
of threads under control, but also one would not be able to cap
processing on a single store, and in some use cases if a job is
loading from one store and storing to other stores it could deadlock.

On 11 September 2013 21:33, Mircea Markus <mmarkus at redhat.com> wrote:
> Hi,
>
> With the new store API it is possible to iterate over the entries in a store in parallel. Also the purging of the expired entries happen in parallel as well.
> I' like to add a persistenceExecutor (global component) to define the thread pool that would be used for these parallel operations.
> How does that sound?
>
> Cheers,
> --
> Mircea Markus
> Infinispan lead (www.infinispan.org)
>
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


More information about the infinispan-dev mailing list