[M] Change in ...osmo-s1gw[master]: s1gw_metrics: add histograms for gen_sctp:send/3 delay
27 Mar
2025
27 Mar
'25
7:33 p.m.
Attention is currently required from: fixeria, laforge. pespin has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/39666?usp=email ) Change subject: s1gw_metrics: add histograms for gen_sctp:send/3 delay ...................................................................... Patch Set 4: (1 comment) Patchset: PS3: > > Can't gen_sctp:send be used in some sort of non-blocking way? […] I'd go for something like: * Use non_block_send, if send() fails, append the msg to a queue, and if queue was empty put some sort of timer that triggers each 100ms. * When timer triggers, try re-sending all of the msgs in queue until it fails, then prepend the msg to the queue and rearm timer * If path to call send() is called from some user and we are in "waiting-to-be-unblocked" mode (queue is not empty) try to first submit all msgs into the queue. -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/39666?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: erlang/osmo-s1gw Gerrit-Branch: master Gerrit-Change-Id: I7633a6e6182bda3fca4e7562e2b780b2b9f9708f Gerrit-Change-Number: 39666 Gerrit-PatchSet: 4 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-CC: pespin <pespin@sysmocom.de> Gerrit-Attention: laforge <laforge@osmocom.org> Gerrit-Attention: fixeria <vyanitskiy@sysmocom.de> Gerrit-Comment-Date: Thu, 27 Mar 2025 19:33:15 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: fixeria <vyanitskiy@sysmocom.de> Comment-In-Reply-To: pespin <pespin@sysmocom.de>
601
Age (days ago)
601
Last active (days ago)
0 comments
1 participants
participants (1)
-
pespin