-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review thoughts #1
Comments
WIP thoughts: I'm working on reviewing the repository. I have not reviewed everything yet. I will track my thoughts as they come here. Actionable takeaways should be tracked in dedicated issues / PRs.
|
Should be added using middleware as per #1.
From some discussion: probably fine to replace the |
I'm working on reviewing the repository. I have not reviewed everything yet. I will track my thoughts as they come here. Actionable takeaways should be tracked in dedicated issues / PRs.
NewTransport
It seems that
NewTransport
is aService
of transports. Perhaps this should be represented as an "trait alias" similar toMakeService
. Naming wise, right now we haveMakeService
, so perhaps this could beMakeTransport
?pipeline::Client
max_in_flight
be removed? This should be possible to implement as a middleware.VecDeque
of requests needed? Can these be sent directly to the transport without buffering?pipeline::client::Maker
Should this be named
MakeClient
?pipeline::Server
Same as with
Client
, could some fields / logic be removed in favor of using middleware to implement that logic?Examples
It would be nice to have a client / server example using a basic line protocol so we can see how the entire stack fits together w/ Tokio and codec / framed.
The text was updated successfully, but these errors were encountered: