vyzo
|
b3d09f9785
|
downgrade BUG log to warning
|
2022-01-18 16:42:54 +02:00 |
|
vyzo
|
9f6b01d336
|
Merge pull request #4 from libp2p/release
release v0.1.0
|
2022-01-17 13:14:31 +02:00 |
|
vyzo
|
dee6748e2e
|
release v0.1.0
|
2022-01-17 12:54:18 +02:00 |
|
vyzo
|
617d17d0f4
|
Merge pull request #1 from libp2p/implementation
Network Resource Manager Implementation
|
2022-01-17 12:51:26 +02:00 |
|
vyzo
|
7523ae4614
|
sort results in List* api methods
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
859d2061ea
|
normalize limiter constructors
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
9d5e7928e1
|
update README
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
575eadee04
|
refactor limit defaults for easy access and user manipulation
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
ddb39883f9
|
add limit config parsing unit test
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
868c93bbd7
|
add limit json config parser
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
f51ceca509
|
emit start event to trace with the limiter
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
8a60c5d336
|
short circuit write/flush if there are no pending events
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
83c13993f8
|
fix omit empty decl
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
1dc0961ae6
|
implement tracer
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
98870b0c0c
|
tracing instrumentation
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
d9e855dd69
|
fix test
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0c16aa4cd4
|
add options to NewResourceManager constructor
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
16726f1f51
|
extensions api
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
f5556bfbfe
|
add total stream and conn limit
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
27688b8bf3
|
add logging around blocked reservations/conns/streams
|
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
|
8ec4ed724f
|
fix tests
|
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
|
e1701c7189
|
rename txn to span
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
4f92b11047
|
Update README.md
Co-authored-by: raulk <raul@protocol.ai>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
572b3eb374
|
adjust default limits
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
927d2d70b5
|
adjust memory limit multipliers for the default limiters
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
d22a48d4b0
|
RIP gosigar
|
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
|
05a6764a69
|
add fluid copy constructors for limits
so that we can easily clone and adjust limits.
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
2648ba9f19
|
fix formatting
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a6a74d2b81
|
update REAMDE
|
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
|
6d519f5d2a
|
fix build tags for v1.16 toolchain
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
050afc6496
|
add appropriate build tags for dynamic limiter
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
066de7c0c9
|
refactor limiters
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
cd110100ca
|
add checks for reservation levels
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
8ff0db4341
|
fix tests
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a0dc35d9c6
|
update for reservation interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
281ac6074b
|
Update README.md
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7e0cf92e46
|
Update README.md
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
eedf0a3486
|
Update README.md
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
3825381d51
|
Update README.md
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
4082746269
|
fix tests
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7d5bd7a861
|
implement dynamic limiter
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
2f0815d6d7
|
default limiter
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a86b214300
|
fix tests
|
2022-01-17 12:33:01 +02:00 |
|