This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Network Resource Manager interface #229
Network Resource Manager interface #229
Changes from 40 commits
cfce3f5
044fbea
193ee25
2afdeee
46cbcfe
d4cfc93
586f1d0
b3f9e1d
35ec4fd
081233f
5767cbb
aeb9233
d997bbb
8f759d3
dcef937
c52807c
76a25c9
25d4931
deb1c16
1f5a414
6400bea
3357752
d99bef0
c452665
219e9bc
3ecf62c
535c095
caacd96
a5d2e41
b948cd7
48c94b6
5fcc7b6
625a159
f205ca6
31b6a33
59c3e97
f4f1520
d2ff788
d1a82f1
541324d
cafe95a
84d55d3
d9136f0
2192774
005b84b
9d473a8
0c1046c
0391e67
d3d9ac7
140d0ed
7a1c47e
e2bac5c
4bfde8e
68e492f
953320f
06aa6f9
6b8d8bf
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does service deal with transient connections too? How does hole punching figure into this (e.g. when secondary connections associated with the service are made)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the service does not deal with conns at all, it only deals with streams.
Conns are really shared resources, so there isn't much of a point to have them owned by a service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Under what kinds of situations are we expecting an error here? Is this just room for growth in case anything comes up, or do we have some in mind?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We currently error if the scope has been closed. But it's good to have room for growth too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have any examples of how we think we might want to use these interfaces? We should start with some toy applications before we spend too much time on these APIs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The most basic hooks will be inside the transport and muxer implementations.
We need to cater to both them, at the bowels of the stack, and higher level users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add testable examples to the godocs? https://go.dev/blog/examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How (if at all) are we planning to deal with these in the context of relayed or DCUtR connections?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you mean here? Relayed connections are just a virtual connection on top of some other connection and don't use fds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do count them however in stat.