posted on 2010-03-01, 00:00authored byDavid Garlan, Serge Khersonsky, Jung Soo Kim
While publish-subscribe systems have good engineering properties,
they are difficult to reason about and to test. Model checking
such systems is an attractive alternative. However, in practice coming
up with an appropriate state model for a pub-sub system can be a difficult
and error-prone task. In this paper we address this problem by
describing a generic pub-sub model checking framework. The key feature
of this framework is a reusable, parameterized state machine model
that captures pub-sub run-time event management and dispatch policy.
Generation of models for specific pub-sub systems is then handled
by a translation tool that accepts as input a set of pub-sub component
descriptions together with a set of pub-sub properties, and maps them
into the framework where they can be checked using off-the-shelf model
checking tools.