Skip to content

Stream requests and not buffer on invoke service method. #3103

@denis111

Description

@denis111

In what area(s)?

/area runtime

/area operator
/area placement
/area docs
/area test-and-release

Describe the proposal

Dapr should stream requests (and responses) and not buffer when invoking remote service. Use cases: sending large file to another service (request), receiving large file or result set from service (response).

I know that there's MaxRequestBodySize (here's related issue dapr/cli#699) but large request bodies should be handled by streaming them directly to the destination service and not buffering requests in memory. I'm not sure how responses are handled by Dapr but I suppose that the same way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues and PRs without response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions