.net - Pushing messages to clients from a server-side application? -


I have a JavaScript-based client that is currently selecting a .NET web service for new content. During the polling work ... I am not happy with this approach because I am using system resources and I am making an overhead when there is no change to get.

My question is how do I inform my customer that new content is displayed for it? I am open on any additional technologies, with whom I have to implement this solution.

First of all, the way to go to vote is to do it with flash or silverlight or comet Can you open a TCP connection for notifications? A webpage can not automatically open sockets, so there is no way to directly inform web clients.

[edit] But it seems that, how many clients can hold a TCP connection per one server at a time? For a large system, you will run faster than available sockets because 65k ports are available.
How many concurrent connection handles to your server depends on your hardware resources If you have enough memory and CPU, then you should be able to handle ~ 100k and probably more. But if each request uses a database or any other resource on TCP / IP, then you may be limited to the number of IPs available up to (65k). You should also have a push request against a different domain, because a browser normally caps into two parallel connections per domain, so you will not interfere with normal page loading.

Using voting in combination with the cache Front server is a good solution. You can argue on the server, which updates the cache per customer, reduces the load for each survey. To update the cache, you can update the cache, which has been signed / polished in minutes in minutes to update the cache. And implementing the bridge for me is easier than bridge, technology.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -