design patterns for telecom software hard multithreading problems
在马丁·福勒的《企业应用程序体系结构模式》一书中,他在第2页写道:"在某些方面,企业应用程序比电信软件容易得多——我们没有非常困难的多线程问题……"
有人知道这些"非常困难的多线程问题"和解决方案的总结吗,比如著名的GoF设计模式书?
这是波萨的书。但这些书可能过于笼统和基本。更多以领域为中心的例子将是这个问题后面的内容。
(P)检查Joe Armstrong's Thesis from 2003:(p)(P)Making reliable distributed systems in the presence of software errors.(p)(P)Armstrong designed the software for a high-speed network switching device during his time at Ericsson.It was implemented in Erlang,which was specifically designed to provide highly reliable and highly concurrent applications.(p)(P)在这些情况下,我提出了关于Erlang语言信息系统和开放电信平台图书馆的理解设计决定。He also make some suggestions about how to design application modules for such application s-This part comes closest to your'design pattern',although not in the detail you're accustomed to after reading gof's design pattern s.(p)(P)这不是一本最新的书,但他从未发表过关于应如何应用的非议性结论。(p)
演员(P)The actor model an architectural pattern where a system is made up of a set of loosely-coupled actors that interact through message passing.(p)布尔奇1(P)这一系统的一个优点是,失败的宣传减少了,而且个人行为者的影响也变得更加强大。(p)(P)编程语言的开发是专门为电话转接和支持演员模型而设计的。(p)国家机器(P)A pattern that is common in real-time&;embbedded software engineering are State machines.State machines can be implemented on top of actors,but also provide a mechanism to represent complex States and associated behavior.(p)(P)Finite State Machines(FSM)are a possibility,but they quickly start to get large and difficult to maintain because of State explosion.A more expressive formasm that solves this problem are hiearchical State machines(HSM)as originally developed by David Harel.(p)(P)A more recent implementation of the same seminations that fits object-oriented design is the uml State machine,see section 15 of the Uml Specification.这一定义是国家机器的模型,以其执行周报作为补充。(p)