Skip to content

Consider low-hanging fruit for reducing usage reporting memory usage #7100

@glasser

Description

@glasser
  • Drop reference to original protobuf once encoded
  • Drop reference to encoded protobuf once compressed
  • Maybe use streaming to drop reference to compressed body once sent
  • Make it easier to set timeouts for the fetch? Might be a challenge because abortcontroller isn't necessarily supported by all potential Fetcher implementations. But we could at the very least publish eg @apollo/utils.nodeFetchWithTimeout that wraps node-fetch with a timeout. (edit: oh actually we assume signal support in Fetcher so we can just provide it as an option if we really want)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions