Skip to content

Port spawn_blocking idea to all SDK methods that do significant non-network work #242

Open
@skeet70

Description

In #241 we discovered that our cryptography and other heavy work done in futures leads to blocking easier/faster network calls under load. To fix decrypt_document we moved heavy work into tokio::spawn_blocking to offload it to a threadpool separate from the one that deals with "normal" futures. We should be doing the same (or similar) everywhere that we do blocking work.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions