[jitsi-dev] Packet loss discussion


#1

Hi all,

The bug report that brian was talking about
https://github.com/jitsi/jitsi-videobridge/issues/236

What i was trying to say in the conference is that when i profile the JVB
with https://github.com/RichardWarburton/honest-profiler, top functions are
locks related.

Many of the queues or synchronised structure that i've seen are over
locking, over waking up, or misusing locks,
for exemple:
https://github.com/jitsi/ice4j/pull/63/files#diff-a6030b752558702f81981d889656982fL83
we were waking up too much (this has been merged)

https://github.com/jitsi/ice4j/pull/64/files#diff-0b706421960e73f843893db378847ed8L170
we are using ArrayBlockingQueue and some synchronised on top of it, so we
take 2 locks each time instead of one

I'm not saying it will solve any problems but as i see it it can only
improve performance and can be a good start for other queues in jitsi*
https://github.com/jitsi/ice4j/pull/64

Regards
Etienne