ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Darlington <stephen.darling...@gridgain.com>
Subject Re: Using GraalVM instead of standard JVM
Date Wed, 06 May 2020 17:09:56 GMT
I’ve been playing around with it. I’ve was really impressed that I could run JavaScript
on Ignite with comparatively little code:

https://github.com/sdarlington/ignite-graalvm <https://github.com/sdarlington/ignite-graalvm>

I’ve not been looking at performance, though.

Regards,
Stephen

> On 6 May 2020, at 17:52, Denis Magda <dmagda@apache.org> wrote:
> 
> I'll leave this reference here so that we have a better understanding of
> why it's worthwhile to support GraalVM:
> https://blogs.oracle.com/graalvm/apache-spark
> —lightning-fast-on-graalvm-enterprise
> 
> Spark benefits from running on GraalVM, so should we. Apart from memory
> usage and performance advantages, this JVM can execute Python code. With
> that, we can enable compute APIs support for Python.
> 
> -
> Denis
> 
> 
> On Sun, May 13, 2018 at 12:23 PM Sven Beauprez <sven.beauprez@theglue.com>
> wrote:
> 
>> Thnx all for the feedback.
>> 
>> Looking forward to the results of such a test run.
>> 
>> Regards,
>> 
>> Sven
>> 
>> 
>> 
>> SVEN BEAUPREZ
>> 
>> L e a d   A r c h i t e c t
>> 
>> 
>> 
>> De Kleetlaan 5, B-1831 Diegem
>> 
>> www.theglue.com <http://www.theglue.com/>
>> On 10/05/2018, 17:44, "Petr Ivanov" <mr.weider@gmail.com> wrote:
>> 
>>    File the ticket and specify priority — and I will start researching.
>> 
>>    For test runs — we can have a copy of current test project and run
>> some tests in different VMs (as you rightly remarked — right after JDK9
>> task is complete).
>> 
>> 
>> 
>> 
>>> On 10 May 2018, at 18:34, Dmitry Pavlov <dpavlov.spb@gmail.com>
>> wrote:
>>> 
>>> Hi Peter,
>>> 
>>> It seems it is one more argument to implement selectable VM for
>> existing run-all chain instead of creating one more.
>>> 
>>> Would it be easy to add one more option once JDK 9 run is ready?
>>> 
>>> Sincerely,
>>> Dmitriy Pavlov
>>> 
>>> чт, 10 мая 2018 г. в 15:58, Dmitriy Setrakyan <dsetrakyan@apache.org
>> <mailto:dsetrakyan@apache.org>>:
>>> Would be nice to have a TC run on Graal, just to have an
>> understanding
>>> whether we support it or not.
>>> 
>>> D.
>>> 
>>> On Wed, May 9, 2018 at 4:28 PM, Denis Magda <dmagda@apache.org
>> <mailto:dmagda@apache.org>> wrote:
>>> 
>>>> The performance might become better just by replacing HotSpot with
>> Graal,
>>>> but something suggests me that Ignite has to be adopted for this
>> JVM (as
>>>> well as for Azul VM) to get more benefits. Probably, someone will
>> get
>>>> interested and pick this task up.
>>>> 
>>>> What stands out is that the Graal folks also see this VM as an
>> opportunity
>>>> to run custom code on a database side like Oracle or MySQL:
>>>> https://oracle.github.io/oracle-db-mle/ <
>> https://oracle.github.io/oracle-db-mle/> It's a sort of their response to
>>>> compute grid functionality of data grids and Hadoop ecosystem.
>>>> 
>>>> --
>>>> Denis
>>>> 
>>>> On Wed, May 9, 2018 at 5:23 AM, sbeaupre <
>> sven.beauprez@theglue.com <mailto:sven.beauprez@theglue.com>>
>>>> wrote:
>>>> 
>>>>> This is just a thought that came out of a discussion with
>> Dimitry this
>>>>> morning. Recently Oracle has released GraalVM 1.0 after many
>> years of
>>>>> research and development, as a replacement for standard JVM.
>>>>> 
>>>>> It should come with huge improvements on several areas
>> (interesting for
>>>>> ignite: AOT, native compilation, remove object allocation in
>> many cases,
>>>>> ...)
>>>>> 
>>>>> Any interest from GG in this? Do you guys think it would give
>> ignite a
>>>>> performance boost (haven't tested it myself, just checking if it
>> is
>>>>> worthwhile in the first place, probably low on our prio list).
>>>>> 
>>>>> More info:
>>>>> - GraalVM for Java:
>>>>>        http://www.graalvm.org/docs/why-graal/#for-java-programs
>> <http://www.graalvm.org/docs/why-graal/#for-java-programs>
>>>>> - Twitter is running GraalVM in production for a while now:
>>>>>        https://www.youtube.com/watch?v=pR5NDkIZBOA <
>> https://www.youtube.com/watch?v=pR5NDkIZBOA>
>>>>> - Getting started:
>>>>>        http://www.graalvm.org/docs/getting-started/ <
>> http://www.graalvm.org/docs/getting-started/>
>>>>> 
>>>>> regards,
>>>>> 
>>>>> Sven
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Sent from:
>> http://apache-ignite-developers.2346864.n4.nabble.com/ <
>> http://apache-ignite-developers.2346864.n4.nabble.com/>
>>>>> 
>>>> 
>> 
>> 
>> 
>> 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message