I created a little test in the sandbox page...
This result is encouraging !
It means that the rate of ping-pong between the HTTaP server and the browser can reach 72 per second.
Of course I cheated :
- There was no real workload, I just requested /?ping and didn't even bother checking the reply.
- The test is on the same computer, on a multi-processor system, so there is no network latency at all.
But it's always good to check the higher bound, right ? It confirms that it's possible to create useful interactive systems despite the serialised link.
Note however some of the untold features :
- The test can run without interference from other clients, even in another tab.
- The test can run along with other operations (such as the PING button) thanks to the queueing semaphore.
As usual : check the latest version in the files section.
The rate drops to 25/s on a DSL line with a ping time of 20ms so this is coherent...