<div dir="ltr"><div>Hi,</div><div><br></div><div>When I testing the RTSP server live555MediaServer then I faced slow performance. On one core of the CPU with a clock speed of about 3.2 Gz it is possible to process only about 140 client connections. The search for information on the mailing lists indicated the following ways of optimization:</div><div>1. Develop own TaskScheduler. I tried using the epoll library, but I ran into the problem that the epoll does not support regular files (and I need to stream files via RTSP), so I had to use the select to process read events from the file and didn't achieve any performance improvements.</div><div>2. Improve DelayQueue. Can anyone share the code?</div><div><br></div><div>Can someone suggest more ways to improve performance and share the code?</div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small">С уважением, Константин Шпинёв</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small">ООО "Майкроимпульс"</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small">раб.: +7 (499) 647-49-78</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small"><div>моб.: +7 (906) 844-57-66</div><div>skype: ksot1k<br><a href="http://www.microimpuls.com/" target="_blank" style="color:rgb(17,85,204)">www.microimpuls.com</a></div></div></div></div></div>