Author: Kumar, D.
Paper Title Page
WPO029 Implementation of the Distributed Alarm System for the Particle Accelerator FAIR Using an Actor Concurrent Programming Model and the Concept of an Agent 102
 
  • D. Kumar, G.G. Gašperšic, M. Pleško
    Cosylab, Ljubljana, Slovenia
  • R. Huhmann, S. Krepp
    GSI, Darmstadt, Germany
 
  The Alarm System is a software system that enables operators to identify and locate conditions which indicate hardware and software components malfunctioning or nearby malfunctioning. The FAIR Alarm System is being constructed as a Slovenian in-kind contribution to FAIR project. The purpose of the paper is to show how to simplify the development of a highly available distributed alarm system for the particle accelerator FAIR using a concurrent programming model based on actors and on the concept of an agent. The agents separate the distribution of the alarm status signals to the clients from the processing of the alarm signals. The logical communication between an alarm client and an agent is between an actor in the alarm client and an actor in the agent. These two remote actors exchange messages through Java MOM. The following will be addressed: the tree-like hierarchy of actors that are used for the fault tolerance communication between an agent and an alarm client; a custom message protocol used by the actors; the message system and corresponding technical implications; and details of software components that were developed using the Akka programming library.