Quantcast

[infinispan-dev] Interesting article - "A New High Throughput Java Executor Service"

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[infinispan-dev] Interesting article - "A New High Throughput Java Executor Service"

Sebastian Laskawiec
Just stumbled upon - https://dzone.com/articles/a-new-high-throughput-java-executor-service

Project's web page: http://executorservice.org/

Maybe that's something we could experiment with?

Thanks
Sebastian

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [infinispan-dev] Interesting article - "A New High Throughput Java Executor Service"

Bela Ban
I already ran an experiment, replacing the default executor we have in
JGroups. The result was abysmally slow and the executor used a LOT of
CPU, bringing things almost to a standstill.

Looking at the code, they're using a lot of busy waiting/spinning

On 26/09/16 13:31, Sebastian Laskawiec wrote:

> Just stumbled upon -
> https://dzone.com/articles/a-new-high-throughput-java-executor-service
>
> Project's web page: http://executorservice.org/
> Sources: https://github.com/vmlens/executor-service
>
> Maybe that's something we could experiment with?
>
> Thanks
> Sebastian
>
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>

--
Bela Ban, JGroups lead (http://www.jgroups.org)

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [infinispan-dev] Interesting article - "A New High Throughput Java Executor Service"

Sebastian Laskawiec
Ouch :( The article looked promising :D

Thanks a lot for checking!

On Mon, Sep 26, 2016 at 1:34 PM, Bela Ban <[hidden email]> wrote:
I already ran an experiment, replacing the default executor we have in
JGroups. The result was abysmally slow and the executor used a LOT of
CPU, bringing things almost to a standstill.

Looking at the code, they're using a lot of busy waiting/spinning

On 26/09/16 13:31, Sebastian Laskawiec wrote:
> Just stumbled upon -
> https://dzone.com/articles/a-new-high-throughput-java-executor-service
>
> Project's web page: http://executorservice.org/
> Sources: https://github.com/vmlens/executor-service
>
> Maybe that's something we could experiment with?
>
> Thanks
> Sebastian
>
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>

--
Bela Ban, JGroups lead (http://www.jgroups.org)

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [infinispan-dev] Interesting article - "A New High Throughput Java Executor Service"

Bela Ban
That should not prevent you from running your own tests. Maybe that
software was created with a different use case in mind...

On 27/09/16 11:35, Sebastian Laskawiec wrote:

> Ouch :( The article looked promising :D
>
> Thanks a lot for checking!
>
> On Mon, Sep 26, 2016 at 1:34 PM, Bela Ban <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I already ran an experiment, replacing the default executor we have in
>     JGroups. The result was abysmally slow and the executor used a LOT of
>     CPU, bringing things almost to a standstill.
>
>     Looking at the code, they're using a lot of busy waiting/spinning
>
>     On 26/09/16 13:31, Sebastian Laskawiec wrote:
>      > Just stumbled upon -
>      >
>     https://dzone.com/articles/a-new-high-throughput-java-executor-service
>     <https://dzone.com/articles/a-new-high-throughput-java-executor-service>
>      >
>      > Project's web page: http://executorservice.org/
>      > Sources: https://github.com/vmlens/executor-service
>     <https://github.com/vmlens/executor-service>
>      >
>      > Maybe that's something we could experiment with?
>      >
>      > Thanks
>      > Sebastian
>      >
>      >
>      > _______________________________________________
>      > infinispan-dev mailing list
>      > [hidden email]
>     <mailto:[hidden email]>
>      > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>     <https://lists.jboss.org/mailman/listinfo/infinispan-dev>
>      >
>
>     --
>     Bela Ban, JGroups lead (http://www.jgroups.org)
>
>     _______________________________________________
>     infinispan-dev mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://lists.jboss.org/mailman/listinfo/infinispan-dev
>     <https://lists.jboss.org/mailman/listinfo/infinispan-dev>
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>

--
Bela Ban, JGroups lead (http://www.jgroups.org)

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [infinispan-dev] Interesting article - "A New High Throughput Java Executor Service"

Gustavo Fernandes-2

The doc clearly states that "The tradeoff is that latency is much higher than that of the standard JDK executor service", and looking at the benchmarks, it's a 10x penalty.

Gustavo


On 27 Sep 2016 10:38, "Bela Ban" <[hidden email]> wrote:
That should not prevent you from running your own tests. Maybe that
software was created with a different use case in mind...

On 27/09/16 11:35, Sebastian Laskawiec wrote:
> Ouch :( The article looked promising :D
>
> Thanks a lot for checking!
>
> On Mon, Sep 26, 2016 at 1:34 PM, Bela Ban <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I already ran an experiment, replacing the default executor we have in
>     JGroups. The result was abysmally slow and the executor used a LOT of
>     CPU, bringing things almost to a standstill.
>
>     Looking at the code, they're using a lot of busy waiting/spinning
>
>     On 26/09/16 13:31, Sebastian Laskawiec wrote:
>      > Just stumbled upon -
>      >
>     https://dzone.com/articles/a-new-high-throughput-java-executor-service
>     <https://dzone.com/articles/a-new-high-throughput-java-executor-service>
>      >
>      > Project's web page: http://executorservice.org/
>      > Sources: https://github.com/vmlens/executor-service
>     <https://github.com/vmlens/executor-service>
>      >
>      > Maybe that's something we could experiment with?
>      >
>      > Thanks
>      > Sebastian
>      >
>      >
>      > _______________________________________________
>      > infinispan-dev mailing list
>      > [hidden email]
>     <mailto:[hidden email]>
>      > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>     <https://lists.jboss.org/mailman/listinfo/infinispan-dev>
>      >
>
>     --
>     Bela Ban, JGroups lead (http://www.jgroups.org)
>
>     _______________________________________________
>     infinispan-dev mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://lists.jboss.org/mailman/listinfo/infinispan-dev
>     <https://lists.jboss.org/mailman/listinfo/infinispan-dev>
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>

--
Bela Ban, JGroups lead (http://www.jgroups.org)

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Loading...