Question

I'm studying about implementing Comet in my application. I got that for each request there should be an open connection between client and server. No suppose in my application I have 10 requests (push data from server to client), and I have just 10 users online, now I should have 100 (10*10) open connections between client and server. Is it OK? It doesn't have any performance issue?

Was it helpful?

Solution

With Comet or with web sockets, you would have one connection open between each user and each server. You can then send multiple requests across the one connection.

So, for 10 users, your server would have 10 connections (one for each user).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top