ES and Java 8. Does it worth the effort?

Hi ,
I wander if i should start using Java 8 with my ES cluster.

Are there any benefits using Java 8 ?
For example :
faster GC , faster Java itself .. anything ES would bebefit from Java 8 ..
etc

Please share your experience.

Georgi

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Of course is Java 8 worth the effort.

Some highlights:

Some concurrency classes like LongAdder are already included in ES.

Java 8 JVM brings also G1 GC to its full extension. G1 GC is not faster
than CMS GC, but it scales much better over multicore and reduces
stop-the-world pauses to milliseconds.

To exploit the full advantage of Java 8, ES would need a large overhaul by
rewriting inner classes to lambda style, streams, fork/join pool etc. As
long as Lucene does not switch to Java 8, the benefit is only partial.

Jörg

On Thu, Oct 30, 2014 at 9:01 PM, Georgi Ivanov georgi.r.ivanov@gmail.com
wrote:

Hi ,
I wander if i should start using Java 8 with my ES cluster.

Are there any benefits using Java 8 ?
For example :
faster GC , faster Java itself .. anything ES would bebefit from Java 8 ..
etc

Please share your experience.

Georgi

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Would love to hear from Elasticsearch about plans on moving to Java 8.

Vaidik Kapoor
vaidikkapoor.info

On 31 October 2014 03:08, joergprante@gmail.com joergprante@gmail.com
wrote:

Of course is Java 8 worth the effort.

Some highlights:

Some concurrency classes like LongAdder are already included in ES.

Java 8 JVM brings also G1 GC to its full extension. G1 GC is not faster
than CMS GC, but it scales much better over multicore and reduces
stop-the-world pauses to milliseconds.

To exploit the full advantage of Java 8, ES would need a large overhaul by
rewriting inner classes to lambda style, streams, fork/join pool etc. As
long as Lucene does not switch to Java 8, the benefit is only partial.

Jörg

On Thu, Oct 30, 2014 at 9:01 PM, Georgi Ivanov georgi.r.ivanov@gmail.com
wrote:

Hi ,
I wander if i should start using Java 8 with my ES cluster.

Are there any benefits using Java 8 ?
For example :
faster GC , faster Java itself .. anything ES would bebefit from Java 8
.. etc

Please share your experience.

Georgi

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CACWtv5mwvxGmww6kQyEtmcq9XjjghAB1LbrGaMJ2gRcF%2BFsJqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

For JVM support, see

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html

"We recommend installing the Java 8 update 20 or later, or Java 7 update 55
or later"

Jörg

On Fri, Oct 31, 2014 at 8:19 AM, Vaidik Kapoor kapoor.vaidik@gmail.com
wrote:

Would love to hear from Elasticsearch about plans on moving to Java 8.

Vaidik Kapoor
vaidikkapoor.info

On 31 October 2014 03:08, joergprante@gmail.com joergprante@gmail.com
wrote:

Of course is Java 8 worth the effort.

Some highlights:

Some concurrency classes like LongAdder are already included in ES.

Java 8 JVM brings also G1 GC to its full extension. G1 GC is not faster
than CMS GC, but it scales much better over multicore and reduces
stop-the-world pauses to milliseconds.

To exploit the full advantage of Java 8, ES would need a large overhaul
by rewriting inner classes to lambda style, streams, fork/join pool etc. As
long as Lucene does not switch to Java 8, the benefit is only partial.

Jörg

On Thu, Oct 30, 2014 at 9:01 PM, Georgi Ivanov <georgi.r.ivanov@gmail.com

wrote:

Hi ,
I wander if i should start using Java 8 with my ES cluster.

Are there any benefits using Java 8 ?
For example :
faster GC , faster Java itself .. anything ES would bebefit from Java 8
.. etc

Please share your experience.

Georgi

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CACWtv5mwvxGmww6kQyEtmcq9XjjghAB1LbrGaMJ2gRcF%2BFsJqg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CACWtv5mwvxGmww6kQyEtmcq9XjjghAB1LbrGaMJ2gRcF%2BFsJqg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEyec8zLZfipmABn88M5aFb4hyu_FjubKfdggQabXuKNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

We upgraded to Java 8 OpenJDK a few weeks ago - no problems seen so far.

D

On Friday, 31 October 2014 08:39:39 UTC, Jörg Prante wrote:

For JVM support, see

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html

"We recommend installing the Java 8 update 20 or later, or Java 7 update
55 or later"

Jörg

On Fri, Oct 31, 2014 at 8:19 AM, Vaidik Kapoor <kapoor...@gmail.com
<javascript:>> wrote:

Would love to hear from Elasticsearch about plans on moving to Java 8.

Vaidik Kapoor
vaidikkapoor.info

On 31 October 2014 03:08, joerg...@gmail.com <javascript:> <
joerg...@gmail.com <javascript:>> wrote:

Of course is Java 8 worth the effort.

Some highlights:

Some concurrency classes like LongAdder are already included in ES.

Java 8 JVM brings also G1 GC to its full extension. G1 GC is not faster
than CMS GC, but it scales much better over multicore and reduces
stop-the-world pauses to milliseconds.

To exploit the full advantage of Java 8, ES would need a large overhaul
by rewriting inner classes to lambda style, streams, fork/join pool etc. As
long as Lucene does not switch to Java 8, the benefit is only partial.

Jörg

On Thu, Oct 30, 2014 at 9:01 PM, Georgi Ivanov <georgi....@gmail.com
<javascript:>> wrote:

Hi ,
I wander if i should start using Java 8 with my ES cluster.

Are there any benefits using Java 8 ?
For example :
faster GC , faster Java itself .. anything ES would bebefit from Java 8
.. etc

Please share your experience.

Georgi

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CACWtv5mwvxGmww6kQyEtmcq9XjjghAB1LbrGaMJ2gRcF%2BFsJqg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CACWtv5mwvxGmww6kQyEtmcq9XjjghAB1LbrGaMJ2gRcF%2BFsJqg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a04b814e-307c-46ba-aff3-fed79da04f09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Didn't see that, thanks for mentioning it though!

On 31 October 2014 19:39, joergprante@gmail.com joergprante@gmail.com
wrote:

For JVM support, see

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html

"We recommend installing the Java 8 update 20 or later, or Java 7 update
55 or later"

Jörg

On Fri, Oct 31, 2014 at 8:19 AM, Vaidik Kapoor kapoor.vaidik@gmail.com
wrote:

Would love to hear from Elasticsearch about plans on moving to Java 8.

Vaidik Kapoor
vaidikkapoor.info

On 31 October 2014 03:08, joergprante@gmail.com joergprante@gmail.com
wrote:

Of course is Java 8 worth the effort.

Some highlights:

Some concurrency classes like LongAdder are already included in ES.

Java 8 JVM brings also G1 GC to its full extension. G1 GC is not faster
than CMS GC, but it scales much better over multicore and reduces
stop-the-world pauses to milliseconds.

To exploit the full advantage of Java 8, ES would need a large overhaul
by rewriting inner classes to lambda style, streams, fork/join pool etc. As
long as Lucene does not switch to Java 8, the benefit is only partial.

Jörg

On Thu, Oct 30, 2014 at 9:01 PM, Georgi Ivanov <
georgi.r.ivanov@gmail.com> wrote:

Hi ,
I wander if i should start using Java 8 with my ES cluster.

Are there any benefits using Java 8 ?
For example :
faster GC , faster Java itself .. anything ES would bebefit from Java 8
.. etc

Please share your experience.

Georgi

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CACWtv5mwvxGmww6kQyEtmcq9XjjghAB1LbrGaMJ2gRcF%2BFsJqg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CACWtv5mwvxGmww6kQyEtmcq9XjjghAB1LbrGaMJ2gRcF%2BFsJqg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEyec8zLZfipmABn88M5aFb4hyu_FjubKfdggQabXuKNQ%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEyec8zLZfipmABn88M5aFb4hyu_FjubKfdggQabXuKNQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZk7R4ybxwKFBqO55WD%2BREDzP6pYdUhZNpa85nXfcQVikw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.