Skip to content

http2: refactoring heads up #16624

Closed
Closed

Description

@jasnell

@mcollina @addaleax @apapirovski @sebdeckers @nodejs/http2 ... just a general heads up... I'm in the process of a sizable internal refactoring of the http2 C/C++ internals. It's a combination of long standing clean up, a number of necessary performance optimizations to reduce the number of memcpy's, and a cleanup of some of the internal buffering code. The internals are going to look quite a bit different by the time I'm done on this. It will likely take me a day or two.

Activity

  1. addaleax commented on Oct 30, 2017

    @addaleax
    Member

    btw, #16461 is pretty much good to go, I’ll kick off CI in a bit & land if it comes back green, so it might be helpful to work off that :)

  2. jasnell commented on Oct 30, 2017

    @jasnell
    MemberAuthor

    Dang... forgot about that one and I'm already a fair bit down the road. Ok, let me know once that it landed and I'll rebase around it. Much of the changes I'm looking at will actually supersede much of that one as I am moving quite a few pieces around.

  3. addaleax commented on Oct 30, 2017

    @addaleax
    Member

    @jasnell done!

  4. added
    http2Issues and PRs related to the http2 subsystem.
    on Oct 30, 2017
  5. jasnell commented on Nov 1, 2017

    @jasnell
    MemberAuthor

    After going through this for a few days, the changes I had in mind are just too significant of a change right now. There are also a few things that still need to be figured out in order to pull it off appropriately. I'm going to take a step back and figure out a more incremental approach.

  6. grantila commented on Nov 1, 2017

    @grantila

    @jasnell keep #11552 in mind, please have a look at my comment about being able to detach http sockets. Since #16256, we can (re-)attach a socket to http1 or http2, but we might need to also provide a head buffer when constructing an Http2Session for "http1 upgrade" to work.

  7. apapirovski commented on Nov 1, 2017

    @apapirovski
    Contributor

    @jasnell Is there any other work in progress other than the PRs? I'm planning to take a look at some of the C++ code this week but don't want us to step on each other's toes.

  8. jasnell commented on Nov 2, 2017

    @jasnell
    MemberAuthor
  9. addaleax commented on Nov 28, 2017

    @addaleax
    Member

    @jasnell What's the status on this one? :)

  10. jasnell commented on Nov 28, 2017

    @jasnell
    MemberAuthor

    In progress. Decided to split over multiple PRs. I've opened several up to this point, preparing another now.

  11. jasnell commented on Jan 8, 2018

    @jasnell
    MemberAuthor

    This was done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    http2Issues and PRs related to the http2 subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions