Skip to content

Subscription I/O #1292

@Jake-Shadle

Description

@Jake-Shadle

Once #1291 is completed, the next step is actually transporting the serialized subscription events. Corrosion only supports streaming HTTP/2 bodies, and the HTTP server implementation is tightly coupled with their agent, so we could either reimplement our own HTTP server implementation since we already have one, or possibly add support to corrosion to make it easier to work with as a library.

IMO a better option is to avoid HTTP/2 altogether, as #1271 already adds support for quinn streams, so making the quinn server implementation also support subscriptions via individual quinn streams means the I/O for transactions and subscriptions can be in one place and IMO easier to read and understand, but this is totally up for discussion.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions