IIS中的Comet编程 [英] Comet Programming in IIS

查看:99
本文介绍了IIS中的Comet编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据说不建议将IIS用于Comet编程。如果这是真的,那么其他Web服务器如何能够通过IIS处理这个问题。那么其他网络服务器又做了什么呢?它们允许它们向外扩展。

It is said that IIS is not recommended for Comet programming. If that is true, how is it that other web servers are able to handle this vis a vis IIS. So what is it that other web servers do additionally which allows them to scale out.

推荐答案

出于某种原因,这个神话仍然存在周围。当然可以使用IIS执行此操作,如我们的基于IIS的彗星服务器,WebSync 中所示。

For some reason, this myth is still around. It's certainly possibly to do this with IIS, as demonstrated in our IIS-based comet server, WebSync.

这个神话是从标准的ASPX页面开始的(如果你保持打开状态,那么大概会有100个左右的请求排在最后)。使用异步页面和处理程序(使用更低的内存并且几乎没有CPU空闲)会更好,而且,通过一些巧妙的工作,可以扩展,甚至可以扩展许多其他彗星解决方案。

The myth started with standard ASPX pages (which, if you hold open, will crap out around maybe 100 or so requests tops). It got better with async pages and handlers (which idle using much lower memory and virtually no CPU), and, with some clever working, can scale as well as, if not better than, many other comet solutions.

这篇关于IIS中的Comet编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆