Closed
Milestone
May 6, 2024–May 24, 2024
Stabilize non-blocking RPC feature
Stabilize non-blocking RPC feature
This is a sub-milestone of %(2024Q2) - Layer 1 - Public RPC endpoint supporting average 1k RPS and a follow up milestone of %Non-blocking RPC feature as experimental.
This milestone aims to finalize the non-blocking RPC feature so that it is not leaking resource any more. To do so, we propose to wrap streamed RPCs, as proposed in %Non-Blocking RPCs Thanks to this, the leak should be tempered. However, the solution is not satisfying and may require other improvements in follow up projects.
Work breakdown
-
(ETA: 2024-05-10) Characterize and quantify the streamed RPCs to wrap-
Inventory of the streamed RPCs to forward
-
-
(ETA: 2024-05-17) Wrap streamed RPCs to avoid the Cohttp resource leak-
Implement a generic wrapper -
Use the generic wrapper on streamed RPCs -
Implement/reuse a test to confirm the fix
-
-
(ETA: 2024-05-24) Enforce streamed RPC wrapping for the future-
Enforce the wrapping for streamed RPC or write a "gentleman rule"
-
-
Benefits from the resource leak, avoiding a workaround
Loading
Loading
Loading
Loading