Commit Graph

238 Commits

Author SHA1 Message Date
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
vyzo
7ea1d27783 update for memory status indicator 2022-01-17 12:33:01 +02:00
vyzo
15f545fca2 REAMDE 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
c9931b243f fix tests 2022-01-17 12:33:01 +02:00
vyzo
aed2c69d3c unexport implementation types 2022-01-17 12:33:01 +02:00
vyzo
efb7e9a713 fix tests 2022-01-17 12:33:01 +02:00
vyzo
3973696b28 manage fds together with connss 2022-01-17 12:33:01 +02:00
vyzo
a6f536861c embed resources to avoid pointer indirection 2022-01-17 12:33:01 +02:00
vyzo
7429488edb use network.ErrResource* 2022-01-17 12:33:01 +02:00
vyzo
e5049999aa Update scope.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-01-17 12:33:01 +02:00
vyzo
5a572dc460 Update scope.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-01-17 12:33:01 +02:00
vyzo
2894975557 alias the interface errors instead of redefining them 2022-01-17 12:33:01 +02:00
vyzo
d70507ffbb fix tests 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
666b27cd07 unexport resources 2022-01-17 12:33:01 +02:00
vyzo
1ea897ee4d remove unneded casts 2022-01-17 12:33:01 +02:00
vyzo
b126e3b71e fix typo
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-01-17 12:33:01 +02:00
vyzo
c3b6ce61b7 resource manager test, fix bugz 2022-01-17 12:33:01 +02:00
vyzo
55dfd14ea6 more resource scope tests, fix bug 2022-01-17 12:33:01 +02:00
vyzo
9bbf094c22 add resource scope DAG test 2022-01-17 12:33:01 +02:00
vyzo
5cf9c9fc9a moar txn tests 2022-01-17 12:33:01 +02:00
vyzo
9eac0610ff basic txn test, fix bugz 2022-01-17 12:33:01 +02:00
vyzo
e33821dae4 basic resource scope tests 2022-01-17 12:33:01 +02:00