Hi,
we have done a bit more testing in a proper isolated perf environment using
a Java application (added to the same repo) [1]:
JDK Java HTTP/1.1: 3166.41 / 10 = 316.641 ± 64.438 ms
JDK Java HTTP/2: 3008.88 / 10 = 300.888 ± 34.369 ms
Apache HTTP/1.1: 10916.22 / 10 = 1091.622 ± 354.572 ms
Apache
Hi Michael,
I do not think it is necessary to download ALL of them serially. H2
Server push might become a big advantage as already mentioned.
e.g. if requesting a pom, it might push the jar and its dependencies
right away with it.
THAT would probably save a lot of connections (and time).
The
Am 2020-11-05 um 16:49 schrieb Jakub Bartecek:
Hi,
I did a performance test of HTTP/2 and its comparison with HTTP/1.1 and I
would like to share my results with you.
I wrote a Python script [1] to download 100 artifacts in parallel using
asynchronous HTTP client supporting both HTTP/1.1 and
protocols, but I would not expect much
> > > advantage. Especially not if you limit yourself to one or two tcp
> > > connections per repository.
> > >
> > > Gruss
> > > Bernd
> > > --
> > > http://bernd.eckenfels.net
> > >
> &
t; Gruss
> > Bernd
> > --
> > http://bernd.eckenfels.net
> > ____
> > Von: Jakub Bartecek
> > Gesendet: Thursday, November 5, 2020 6:28:05 PM
> > An: Maven Users List
> > Betreff: Re: HTTP/2 support in Maven
&
Yes, I think it does what you expected and it downloads the whole content
of the files. :-)
I did checks on the content size and it matches.
Honestly, your numbers are smth I expected to get - a small performance
improvement (~10%). I don't know why the difference is so high on my
laptop, but
tcp
> connections per repository.
>
> Gruss
> Bernd
> --
> http://bernd.eckenfels.net
>
> Von: Jakub Bartecek
> Gesendet: Thursday, November 5, 2020 6:28:05 PM
> An: Maven Users List
> Betreff: Re: HTTP/2 support in Maven
>
>
much advantage. Especially
not if you limit yourself to one or two tcp connections per repository.
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: Jakub Bartecek
Gesendet: Thursday, November 5, 2020 6:28:05 PM
An: Maven Users List
Betreff: Re: HTTP/2 support in Maven
Hi,
I'll look at it tomorrow and try to verify it really downloads the whole
content, I did some checks on POM files and it really downloaded it.
Thanks for testing it from your machine. It's interesting to see that you
have completely different results. Honestly I'm not sure how that is
(short disclaimer: am not a python speaking person, so the change I did
above with intent to "consume response body, the artifact bytes" may not
did what I wanted :D)
ns
>>> out
>>> > that it is worth the effort, how much work does it require? I'm
>>> considering
>>> > contributing it to Maven (or someone from my team).
>>> >
>>> > If it is contributed today, when can it be in an official Maven
it turns
>> out
>> > that it is worth the effort, how much work does it require? I'm
>> considering
>> > contributing it to Maven (or someone from my team).
>> >
>> > If it is contributed today, when can it be in an official Maven release?
>&g
t; Am 2020-10-26 um 15:01 schrieb Jakub Bartecek:
> >> > On Sun, Oct 25, 2020 at 10:25 AM Michael Osipov
> >> wrote:
> >> >
> >> >> Am 2020-10-23 um 10:08 schrieb Jakub Bartecek:
> >> >>> Hello,
> >> >>> I'd like to
> wrote:
>
>> Am 2020-10-26 um 15:01 schrieb Jakub Bartecek:
>> > On Sun, Oct 25, 2020 at 10:25 AM Michael Osipov
>> wrote:
>> >
>> >> Am 2020-10-23 um 10:08 schrieb Jakub Bartecek:
>> >>> Hello,
>> >>> I'd like to
at 7:09 PM Michael Osipov wrote:
> Am 2020-10-26 um 15:01 schrieb Jakub Bartecek:
> > On Sun, Oct 25, 2020 at 10:25 AM Michael Osipov
> wrote:
> >
> >> Am 2020-10-23 um 10:08 schrieb Jakub Bartecek:
> >>> Hello,
> >>> I'd like to ask if i
Am 2020-10-26 um 15:01 schrieb Jakub Bartecek:
On Sun, Oct 25, 2020 at 10:25 AM Michael Osipov wrote:
Am 2020-10-23 um 10:08 schrieb Jakub Bartecek:
Hello,
I'd like to ask if it is possible to turn on HTTP/2 support in Maven. I
haven't found such an option.
If not: Are there any plans
On Sun, Oct 25, 2020 at 10:25 AM Michael Osipov wrote:
> Am 2020-10-23 um 10:08 schrieb Jakub Bartecek:
> > Hello,
> > I'd like to ask if it is possible to turn on HTTP/2 support in Maven. I
> > haven't found such an option.
> >
> > If not: Are t
http/2 is not available before Java 8.
ALPN and TLS 1.3 are requirements for h2.
I saw httpClient 5 implemented http/2. That's fine and that's why you may
have successfully connected tomcat with a http/2 client.
Try another application server which does not use httpClient, e.g.
OpenLiberty. You
Am 2020-10-25 um 19:09 schrieb Benjamin Marwell:
While TLS 1.3 and ALPN (and ciphers) may have been backported, I am not
aware of http2 being backported to Java 8. Even if it was, it would not be
part of EVERY JVM implementation, eg Eclipse OpenJ9.
You are talking non-sense. Don't mix lower
While TLS 1.3 and ALPN (and ciphers) may have been backported, I am not
aware of http2 being backported to Java 8. Even if it was, it would not be
part of EVERY JVM implementation, eg Eclipse OpenJ9.
On Sun, 25 Oct 2020, 09:52 Michael Osipov, wrote:
> Am 2020-10-24 um 14:25 schrieb Benjamin
Am 2020-10-23 um 10:08 schrieb Jakub Bartecek:
Hello,
I'd like to ask if it is possible to turn on HTTP/2 support in Maven. I
haven't found such an option.
If not: Are there any plans to add the support?
There is nothing to turn on and that would be unwise, something like
this should be done
Am 2020-10-24 um 14:25 schrieb Benjamin Marwell:
You need at least java 9 for http/2. Java 11 is a current LTS release which
supports h2.
Why? TLS 1.3 and ALPN have been backported to Java 8 recently.
Is there anything in the transport code preventing h2 transport?
Yes, your participation
-maven-wagon
> but this needs more tests/debug etc...
> feel free to test,m report issues, propose fix etc...
>
> On Fri, 23 Oct 2020 at 18:09, Jakub Bartecek wrote:
>
> > Hello,
> > I'd like to ask if it is possible to turn on HTTP/2 support in Maven. I
There is some effort started here
https://github.com/jetty-project/jetty-maven-wagon
but this needs more tests/debug etc...
feel free to test,m report issues, propose fix etc...
On Fri, 23 Oct 2020 at 18:09, Jakub Bartecek wrote:
> Hello,
> I'd like to ask if it is possible to turn on
>
> Hth
> Tamas
>
> On Fri, Oct 23, 2020, 10:09 Jakub Bartecek wrote:
>
> > Hello,
> > I'd like to ask if it is possible to turn on HTTP/2 support in Maven. I
> > haven't found such an option.
> >
> > If not: Are there any plans to add the support?
> >
> > Regards,
> > Kuba
> >
>
Hi
Maven itself does not care about transport being used, it is wagon or
resolver thing. And afair, there is takari okhttp transport that may do
http/2, but unsure...
Hth
Tamas
On Fri, Oct 23, 2020, 10:09 Jakub Bartecek wrote:
> Hello,
> I'd like to ask if it is possible to turn on
Hello,
I'd like to ask if it is possible to turn on HTTP/2 support in Maven. I
haven't found such an option.
If not: Are there any plans to add the support?
Regards,
Kuba
27 matches
Mail list logo