就喜欢看这样的东西...
This is so juicy I couldn’t resist blogging about it. 37Signals sysadmin and my good friend Mark Imbriaco replaced the Campfire chat room handler, originally written in C, with an Erlang version. The results?
283. As in 283 lines of Erlang code in toto.
1500. The Erlang poller handles 1200 - 1500 requests per second.
2.8. Average request time in milliseconds.
240. Number of requests, in millions, served since it went into production last friday.
恩,和我遇到的情况差不多呵呵.
几百行代码,分布式架构,几十K/s请求,没有内存泄漏,系统长久运行...
原文:
[url]http://www.37signals.com/svn/posts/1728-nuts-bolts-campfire-loves-erlang[/url]
[url]http://weblog.hypotheticalabs.com/?p=490[/url]
This is so juicy I couldn’t resist blogging about it. 37Signals sysadmin and my good friend Mark Imbriaco replaced the Campfire chat room handler, originally written in C, with an Erlang version. The results?
283. As in 283 lines of Erlang code in toto.
1500. The Erlang poller handles 1200 - 1500 requests per second.
2.8. Average request time in milliseconds.
240. Number of requests, in millions, served since it went into production last friday.
恩,和我遇到的情况差不多呵呵.
几百行代码,分布式架构,几十K/s请求,没有内存泄漏,系统长久运行...
原文:
[url]http://www.37signals.com/svn/posts/1728-nuts-bolts-campfire-loves-erlang[/url]
[url]http://weblog.hypotheticalabs.com/?p=490[/url]
37Signals的系统管理员Mark Imbria将原本用C语言编写的Campfire聊天室处理器替换为Erlang版本,结果代码量大幅减少至283行,并且能够处理每秒1200到1500个请求,平均请求时间为2.8毫秒。自上线以来已处理了数百万次请求。
374

被折叠的 条评论
为什么被折叠?



