The Observer Pattern Applied to Actor Systems: A TLA/TLC-based Implementation Analysis
The Observer Pattern Applied to Actor Systems: A TLA/TLC-based Implementation Analysis
复制标题
DOI:
10.1109/tase.2012.15
复制
发表时间:
2012-07
期刊:
影响因子:
--
通讯作者:
Rodger Burmeister;Steffen Helke
中科院分区:
文献类型:
--
作者:
Rodger Burmeister;Steffen Helke
With the increasing impact of the actor-model in programming languages, there is also an increased demand for approved solutions for recurring implementation problems. Transferring established design pattern solutions from sequential contexts to concurrent ones requires a rigorous clarification of intentional requirements and concurrency issues. Existing approaches either do not verify concurrent pattern implementations rigorously or do not address the actor model. To solve these insufficiencies we (1) specify intentional requirements using LTL-expressions and an abstract outline, and (2) transfer and verify these for a concrete, actor-based TLA description using model checking techniques. The applicability of our approach is demonstrated for a concurrent version of the well known Observer Pattern. Our work enables software engineers to build up formal requirement catalogs for sequential and concurrent design pattern implementations and to rigorously verify them at a low effort.