TCL中类似于事件的C10K的服务器开发状态是什么? [英] What is the state of C10K-like event-based server development in TCL?

查看:166
本文介绍了TCL中类似于事件的C10K的服务器开发状态是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TCL是一种很好的简单的编程语言,但似乎没有获得信誉和/或尊重它。值得。我在一九九五年在大学学习,并且及时忘记了最近才再次绊倒。我主要感兴趣的是TCL开发基于TCP的网络服务以及Web开发。



已经提到TCL使网络编程变得简单。然而,TCL似乎使​​用了覆盖下的select(),它不符合Web规模(参见 C10K问题)。我搜索了libevent,libev,raw epoll / kqueue的支持,但我看不到太多。



你知道任何现代(缺少一个更好的术语)TCL写的基于事件的网络服务?您是否有任何针对TCL服务器开发的指针,提示或最佳实践?



谢谢!

解决方案

去年有关comp.lang.tcl的讨论,似乎状态是:核心团队正在考虑:



http://groups.google .com / group / comp.lang.tcl / browse_frm / thread / ce3a82f8a13d35fa / f57cea952ab69ecd



对于Web服务器, AOLserver ,它实现了 poll()。当然,您也可以在Apache下运行mod_tcl / rivet / websh。


TCL is a nice simple programming language, but does not seem to get the credit and/or respect it deserves. I learned it back in 1995 in college and promptly forgot about it only to stumble upon it again recently. I am mostly interested TCL for developing TCP-based network services as well as for web development.

It has been mentioned that TCL makes network programming simple. However, it seems that TCL uses select() under the covers which does not scale well with "web scale" in mind (see the C10K problem). I have searched for support for libevent, libev, raw epoll/kqueue but I don't see much.

Do you know of any "modern" (for lack of a better term) event-based network services written in TCL? Do you have any pointers, tips, or best practices for TCL-based server development?

Thanks!

解决方案

There's discussion of this on comp.lang.tcl last year and it appears that the status is: "The core team is thinking about it":

http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/ce3a82f8a13d35fa/f57cea952ab69ecd

For web servers there is AOLserver which implements poll() under the covers. Of course, you can also run mod_tcl/rivet/websh under Apache.

这篇关于TCL中类似于事件的C10K的服务器开发状态是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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