Re:A Node.js speed dilemma: AJAX or Socket.IO?
by jugglinmike on Friday October 26, 2012 @10:07AM
(#4702188)
The OP doesn't mention expected client count, but the number of concurrent connections is a crucial factor that these tests overlook.
I'm currently doing some Socket.io stress testing, and it's clear that XHR-polling is significantly harder on the CPU for the reasons you've mentioned. This detail is lost in the noise for single-client tests, but it will become increasingly relevant as more clients connect.
I'm currently doing some Socket.io stress testing, and it's clear that XHR-polling is significantly harder on the CPU for the reasons you've mentioned. This detail is lost in the noise for single-client tests, but it will become increasingly relevant as more clients connect.