Joystream / Joystream/joystream

Question: HTTP/2 for Argus & Colossus

Open
#3,808 5 comments 0 reactions 2 assignees View on GitHub

@Lezek123 is already working on this.

Since May 29, 2022.

argus colossus question
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Background

We have been discussing various improvements we can make to our infrastructure to make it more performant, and in this context it came up that we currently are using HTTP/1.1, which has much more limited support for simultaneously requesting assets compared to 2.0, which is very important for app screens where you have lots of images for example

Screenshot 2022-05-29 at 13 58 56

To be specific, here is some context from a relevant discussion on the difference between 1.1 and 2

https://stackoverflow.com/questions/36835972/is-the-per-host-connection-limit-raised-with-http-2

Browsers impose a per-domain limit of 6-8 connections when using HTTP/1.1, depending on the browser implementation. This allows at most 6-8 concurrent requests per domain.

With HTTP/2, browsers open only 1 connection per domain. However, thanks to the multiplexing feature of the HTTP/2 protocol, the number of concurrent requests per domain is not limited to 6-8, but it is virtually unlimited.

Question

  • How would we introduce HTTP/2.0 in Argus & Colossus?
  • What would be a good man hours estimate for an experienced Argus & Colossus dev, and likewise for a newcomer.
  • Could a newcomer do this? e.g. from the community.
  • @kdembler asks I'm not sure if this will actually be Argus/Colossus and not just the proxy setup, like nginx or caddy.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.