Hi,
I don't see, how websocket could not be helpful to you in this situation. Afaik, you can think of websocket as regular sockets over http. You " ... seem to think that websocket incurs more overhead as it constantly polls and keeps-alive the connection compared to a chunked http response." - but the polling is rather in case of a fallback-transport. And keeping alive the connection is not an issue, as long as you send data anyway (no difference here compared to 'chunked').
Now, given the fact, that you want to issue an ajax-call, I have to assume that you are going to process the response in JavaScript - either directly or indirectly letting for example JQuery handle the response. Then it's tricky to process a response in parts (where you could profit from chunked), compared to processing it onCompletion.
With socket.io, sending and receiving messages bidirectionally, is easy and implementable in a easy-to-read/understand way. So, you could use socket.io and send messages with more information on a subject as the server receives that information himself and register handler on these messages in the client/JS/Browser
--
You received this message because you are subscribed to the Google Groups "Socket.IO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to socket_io+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Socket.IO" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/socket_io/-Bh57euk7ww/unsubscribe.
To unsubscribe from this group and all its topics, send an email to socket_io+...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Socket.IO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to socket_io+...@googlegroups.com.