Skip to content

HTTPS Connection reuse from Spin worker #2444

@dlozina

Description

@dlozina

Hi all,
I am looking into possibly having two outbound HTTPS calls from my Spin worker or Webasembly module in general to the same server and reusing the connection.
It would be beneficial so we don't have to do a handshake to the server again, and requests over the network would be faster for that use-case.
If I understood correctly, there is no technical reason why we can't support connection reuse with wasi-http, I have not found a good code example of the implementation for that use case.
Is this something that is planned to be implemented in Spin? Could you please point me to some examples that cover this use case?
Thank you!

Metadata

Metadata

Assignees

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