Skip to content

Implement frame fragmentation #6

Closed

Description

No description provided.

Activity

  1. yschimke commented on Aug 25, 2016

    @yschimke
    Member

    https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md#fragmentation-and-reassembly

    I believe the intent here is frame fragmentation at the ReactiveSocket level, above any transport DuplexConnection fragmentation. Because http/2 and tcp can break a large serialized frame into smaller payloads, we are currently not forced to fragment anything less than 2GB.

    But really we want fragmentation to support two other cases

    1. not needing to hold an IOBuf with gigs of data while reading off the network.
    2. being able to to interleave streams with smaller data sizes and avoid head of line blocking.

    Specifically it should be possible for a client to start processing the first 4kb of a response, before the server has started sending the last 4kb.

  2. phoad commented on May 31, 2018

    @phoad
    Member

    Frame fragmentation feature is already added.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions