Hi
I'm using RTC and the results have been great.
I'm trying to make my application work well over poor networks, say where the 'ping' time to the server is 250 milliseconds. This has caused my to look at the subject of keep alives.
My finding have been that with a good network application performance is great and keep alives make no noticeable difference. However, with a 'poor' network, say as you get with 3G mobile adapters, it makes a great difference to how the application performs.
A great article about Keep Alives is here:
http://virtualthreads.blogspot.com/2006/01/tuning-apache-part-1.htmlI'm using RTC client and RTC server, BUT the RTC server is hidden behind Apache which is acting as a reverse proxy server (the main reason for this is that there are other web applications installed on the box, and all need to work through port 443).
What seems to be happening with the RTC client is that if you fire two requests off in quick succession to the server, the second one will be performed on another connection to the server - meaning all the overhead of round trips is incurred, and two keep alive threads (instead of one) are used on the server. These resources are finite, and as I only need 1, I'd like to use 1.
I'm observing this through Apache's own server-status pages, which show you how it's keep alive threads are being allocated to clients.
My RTC client is single-threaded. The Multi-threaded flag on the client is false. Auto-connect is true.
My question is simple, after all that pre-amble. How do I work best with Keep Alives in RTC?