You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Valentin Kulichenko <va...@gmail.com> on 2020/10/02 19:33:31 UTC

Re: JAR-based code deployment

Ilya,

Please see below.

-Val

On Fri, Sep 25, 2020 at 1:54 AM Ilya Kasnacheev <il...@gmail.com>
wrote:

> Hello!
>
> I don't like reliance on ignitectl utility. It should be available but it
> should be accompanied by some Java API in my opinion.
>

I think there will be an API, but that's more about the design of the tool,
which I believe should be unified. I'm going to create a separate IEP and a
separate discussion for this.


>
> I don't understand how to peer deploy my code if I run a client from my
> IDE, along with all dependencies. I think that easy-to-develop is crucial
> for any product.
>

What is the ideal process in your view?


>
> I also think this is a drawback compared to e.g. existing
> PeerAssemblyLoading in .Net.
>

In which way? Can you please clarify? Generally speaking, I think .Net
assemblies should be deployed in the same way as JAR files.


>
> Regards,
> --
> Ilya Kasnacheev
>
>
> пт, 25 сент. 2020 г. в 04:43, Valentin Kulichenko <
> valentin.kulichenko@gmail.com>:
>
> > Igniters,
> >
> > During the meetup dedicated to Ignite 3.0 [1], one of the items I've
> > mentioned was JAR based code deployment, as an alternative to peer class
> > loading and other mechanisms for code deployment.
> >
> > As promised, I've started drafting the IEP for this change [2]. Please
> let
> > me know your thoughts.
> >
> > [1]
> >
> >
> https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+3.0#ApacheIgnite3.0-Meetups
> > [2]
> >
> >
> https://cwiki.apache.org/confluence/display/IGNITE/IEP-59%3A+JAR-based+code+deployment
> >
> > -Val
> >
>

Re: JAR-based code deployment

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Currently, peer assembly loading is believed to load .dlls (an equivalent
of jar) in full, but it will still trace dependencies between those.

Ideally, I need to say "please deploy this class with all dependencies into
cluster" from my client node. However, at that point, it's no longer
obvious why it should be explicit.

I think that the peer class loading we have is important and we should not
get rid of it. It's a pretty unique selling point of Apache Ignite.

Maybe we should conduct some user census to figure out whether people
really use it (in development, in production). Then we can approach them
and ask if the new one will cover their use cases.

Regards,
-- 
Ilya Kasnacheev


пт, 2 окт. 2020 г. в 22:33, Valentin Kulichenko <
valentin.kulichenko@gmail.com>:

> Ilya,
>
> Please see below.
>
> -Val
>
> On Fri, Sep 25, 2020 at 1:54 AM Ilya Kasnacheev <il...@gmail.com>
> wrote:
>
>> Hello!
>>
>> I don't like reliance on ignitectl utility. It should be available but it
>> should be accompanied by some Java API in my opinion.
>>
>
> I think there will be an API, but that's more about the design of the
> tool, which I believe should be unified. I'm going to create a separate IEP
> and a separate discussion for this.
>
>
>>
>> I don't understand how to peer deploy my code if I run a client from my
>> IDE, along with all dependencies. I think that easy-to-develop is crucial
>> for any product.
>>
>
> What is the ideal process in your view?
>
>
>>
>> I also think this is a drawback compared to e.g. existing
>> PeerAssemblyLoading in .Net.
>>
>
> In which way? Can you please clarify? Generally speaking, I think .Net
> assemblies should be deployed in the same way as JAR files.
>
>
>>
>> Regards,
>> --
>> Ilya Kasnacheev
>>
>>
>> пт, 25 сент. 2020 г. в 04:43, Valentin Kulichenko <
>> valentin.kulichenko@gmail.com>:
>>
>> > Igniters,
>> >
>> > During the meetup dedicated to Ignite 3.0 [1], one of the items I've
>> > mentioned was JAR based code deployment, as an alternative to peer class
>> > loading and other mechanisms for code deployment.
>> >
>> > As promised, I've started drafting the IEP for this change [2]. Please
>> let
>> > me know your thoughts.
>> >
>> > [1]
>> >
>> >
>> https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+3.0#ApacheIgnite3.0-Meetups
>> > [2]
>> >
>> >
>> https://cwiki.apache.org/confluence/display/IGNITE/IEP-59%3A+JAR-based+code+deployment
>> >
>> > -Val
>> >
>>
>