Marten Seemann
|
100309ee2e
|
fix shadowing of service name (#37)
|
2022-06-03 13:42:58 +02:00 |
|
vyzo
|
55f8c59909
|
add Allow metrics
|
2022-02-14 17:20:12 +02:00 |
|
vyzo
|
8a85c1fbce
|
blocked memory reservation metrics
|
2022-02-12 13:59:46 +02:00 |
|
vyzo
|
019fe3da54
|
simplify metrics method names
|
2022-02-12 13:52:47 +02:00 |
|
vyzo
|
6d91069894
|
metrics collection support
|
2022-02-11 18:26:23 +02:00 |
|
vyzo
|
961bd2b66e
|
avoid the nil is not nil footgun
|
2022-02-03 08:51:08 +02:00 |
|
vyzo
|
139296e625
|
make protocols and peers sticky when setting their limit
this is typically a user action, so prevent them from being garbage collected
and losing their limit.
|
2022-01-19 11:09:32 +02:00 |
|
vyzo
|
98870b0c0c
|
tracing instrumentation
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0c16aa4cd4
|
add options to NewResourceManager constructor
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
12fcd1d521
|
log, don't panic on resource release bugs
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
5d609db2bc
|
rename constraints to edges
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
90d7e860a0
|
introduce per protocol peer limits, don't transfer resources out of protocol when setting the service
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
488f08cb1d
|
add test for per service peer limits
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
5487b6bdac
|
add support for per service peer limits
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a5e4e5a670
|
move resource from protocol to service when a service for a stream is set
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7bc4ce25f2
|
named scopes for better errors to aid debugging resource allocation failures
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a0dc35d9c6
|
update for reservation interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7ea1d27783
|
update for memory status indicator
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
92edf5f224
|
update for interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
bf44d21414
|
proper mutex hat
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
aed2c69d3c
|
unexport implementation types
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
3973696b28
|
manage fds together with connss
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
1d5f0c9ad2
|
update for interface changes; RIP buffers.
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
c3b6ce61b7
|
resource manager test, fix bugz
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
79d15fa18c
|
consolidate Rerve/ReleaseForChild in aggregate method
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
6427759aab
|
some cleanup for rcmgr scopes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
62105f3a71
|
consistent ref counting
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
efe5e36d58
|
update implementation for interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a42700a439
|
make connection/stream Done idempotent
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0b5b506b8c
|
move ref counting to resource scopes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
71b70cd48b
|
implement scope viewers
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
3422b8cbde
|
add ResourceManager constructor and peer/protocol scope gc
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
cff880ac60
|
flesh out resource manager
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
b85397384b
|
only count fds if the connection actually uses an fd
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
e07aba016b
|
stream service cannot be set before peer
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
39e351882b
|
fix brainfart
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0ca5ac15d9
|
flesh out concrete scopes
|
2022-01-17 12:33:01 +02:00 |
|