Skip to content

Compress request & response byte formatsΒ #198

@chipsenkbeil

Description

@chipsenkbeil

We read keys from a msgpack map in order. We can translate this to an array instead where we still read in order, but this will reduce the byte size of our requests and responses.

  • Requests will shrink by 2 ("id") + 7 ("payload") + an optional 6 ("header"): 9 to 15 bytes.
  • Responses will shrink by 2 ("id") + 9 ("origin_id") + 7 ("payload") + an optional 6 ("header"): 18 to 24 bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingWould require breaking changesrefactorRefactor portions of codebase

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions