检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]并行与分布处理国家重点实验室,湖南长沙410073
出 处:《计算机工程与科学》2008年第12期142-145,共4页Computer Engineering & Science
基 金:国家973计划资助项目(2005CB321800)
摘 要:分布式系统的程序设计模式主要包括多线程模式和事件驱动模式,其中事件驱动模式占据了主导地位。本文讨论了这两种模式的不足,以及Coroutine模式相对它们的优点,并认为Coroutine模式是最适合分布式系统的程序设计模式。本文在此基础上提出了Libresync,它是一个基于Coroutine模式的分布式系统基础支持库。它既能给应用开发带来非常清晰的控制流程,又具有很高的灵活性和表达力,性能也能满足大多数需求。Programming patterns for distributed systems mainly includes multi-threaded and event-driven patterns, and the event-driven pattern is the major one. This paper, however, discusses their disadvantages, and the Coroutine pattern's advantages over them. We think Coroutine is the most suitable pattern for distributed system programming. And we present Libresyne, a Coroutine-based supporting library for distributed systems, which brings us clear control flow, high flexibility and expressiveness. The performance of Libresync is also reasonably good enough for most purposes.
关 键 词:分布式系统 并发 多线程 事件驱动 Coroutine
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.70