Hey i have done some gprof Test with 35 users in 1 Room sending Audio Video Datachannel (positions) to each ( every user is publisher and subscriber)
it works pretty well on a dual core Server with loop_index set to 4
i woulder if there is space for more optimisation in
41.94 2.47 2.47 1262038 1.96 2.44 janus_ice_outgoing_traffic_handle
21.39 3.73 1.26 janus_ice_outgoing_traffic_prepare
You can check if performances improve involving the recently merged support for helper threads in the VideoRoom, which basically acts a bit like loops do in the core for media in the plugin (with a few differences, but it’s to give you an idea).