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.