CERL 谈谈“BoostASIO、Erlang与服务器编程”.pptVIP

  • 3
  • 0
  • 约3.88千字
  • 约 28页
  • 2017-06-14 发布于江西
  • 举报

CERL 谈谈“BoostASIO、Erlang与服务器编程”.ppt

CERL 谈谈“BoostASIO、Erlang与服务器编程”

问题的实质 Light-weight processes这两个问题的实质在于,在一些复杂逻辑中,Process内部其实还是避免不了对ASIO状态机的需求。 CERL 谈谈“Boost.ASIO、Erlang与服务器编程” 许式伟 xushiweizh@ 2009年9月 内容提要 服务器编程模型 A simple server Boost ASIO Light-weight processes 什么是 Erlang Style Concurrency? 基于 Actor / Message passing Light-weight processes 我之于Erlang Style Concurrency的不同观点 CERL CERL 2.0 CERL Vision 服务器编程模型 A simple server Boost ASIO Light-weight processes A simple server Listen (ip, port); Loop: Accept Read a request; Handle the request: … (maybe) Post requests to other servers and wait the responses; … Write response; Problem of simple servers IO并发程度不够 Po

文档评论(0)

1亿VIP精品文档

相关文档