Re: JAR-based code deployment

2020-10-05 Thread Ilya Kasnacheev
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.kuliche...@gmail.com>:

> Ilya,
>
> Please see below.
>
> -Val
>
> On Fri, Sep 25, 2020 at 1:54 AM Ilya Kasnacheev 
> 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.kuliche...@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

2020-10-02 Thread Valentin Kulichenko
Ilya,

Please see below.

-Val

On Fri, Sep 25, 2020 at 1:54 AM Ilya Kasnacheev 
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.kuliche...@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

2020-09-25 Thread Taras Ledkov

Hi,

Great idea, but some points are not clear for me:
- Redeploy and versioning. Does it mean that several versions of the 
code will be prohibited?
- Will there be any additional requirements for the content of the JAR? 
Metadata, security etc.

If yes, then maybe we should talk about Ignte ARchive (IAR) likes WAR.

On 25.09.2020 4:42, Valentin Kulichenko wrote:

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


--
Taras Ledkov
Mail-To: tled...@gridgain.com



Re: JAR-based code deployment

2020-09-25 Thread Ilya Kasnacheev
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 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.

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

Regards,
-- 
Ilya Kasnacheev


пт, 25 сент. 2020 г. в 04:43, Valentin Kulichenko <
valentin.kuliche...@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
>


JAR-based code deployment

2020-09-24 Thread Valentin Kulichenko
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