facebook-erlang

Facebook采用Erlang开发了聊天室服务,该服务包括一个用于记录聊天消息的子系统(使用C++实现)和一个epoll驱动的Web服务器(使用Erlang实现),后者能够将在线用户的对话保存在内存中并服务于长轮询HTTP请求。这两个子系统均进行了集群和分区,以提高可靠性和确保高效故障转移。
facebook新开发的聊天室用erlang来实现分布式...
http://www.facebook.com/notes.php?id=9445547199
For Facebook Chat, we rolled our own subsystem for logging chat messages (in C++) as well as an epoll-driven web server (in Erlang) that holds online users' conversations in-memory and serves the long-polled HTTP requests. Both subsystems are clustered and partitioned for reliability and efficient failover. Why Erlang? In short, because the problem domain fits Erlang like a glove. Erlang is a functional concurrency-oriented language with extremely low-weight user-space "processes", share-nothing message-passing semantics, built-in distribution, and a "crash and recover" philosophy proven by two decades of deployment on large soft-realtime production systems.

erlang用在大规模用户使用的服务器端还是挺有前途的...

--------------
chenjinlai
2008-05-15

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值