Voting Farm:一个用于软件投票的分布式类
The Voting Farm: A Distributed Class for Software Voting
摘要:
本文档描述了一类实现用于EPX或类似消息传递多线程环境的分布式软件投票机制的C函数。这样的工具可以用于例如建立恢复器官,即,NMR(即,N模块冗余)系统。为了描述这个工具,我们开始定义它的基本构建块,即voter。一个投票者被定义为一个软件模块,它连接到一个用户模块和一群被安排成一个集团的投票者。通过类中的函数,用户模块能够:创建投票农场的静态“图片”,这是建立集团所需的;实例化本地投票者;向该投票者发送输入或控制消息。除了当地选民之外,不需要任何对话者。其他用户模块应该在机器的其他节点上创建一致的图片和投票者实例,并一致地管理其本地中介的任务。关于集团的建立和投票者之间的消息交换的所有技术细节对用户模块是完全透明的。下面将讨论VotingFarm类的基本功能,即如何设置“被动场”,或尚未激活的投票场的非活动拓扑表示;如何启动投票场;如何控制场。
英文摘要:
This document describes a class of C functions implementing a distributed software voting mechanism for EPX or similar message passing multi-threaded environments. Such a tool may be used for example, to set up a restoring organ, i.e., an NMR (i.e., N-module redundant) system with N voters. In order to describe the tool we start defining its basic building block, the voter. A voter is defined as a software module connected to one user module and to a farm of fellow voters arranged into a clique. By means of the functions in the class the user module is able: to create a static "picture" of the voting farm, needed for the set up of the clique; to instantiate the local voter; to send input or control messages to that voter. No interlocutor is needed other than the local voter. The other user modules are supposed to create coherent pictures and instances of voters on other nodes of the machine and to manage consistently the task of their local intermediary. All technicalities concerning the set up of the clique and the exchange of messages between the voters are completely transparent to the user module. In the following the basic functionalities of the VotingFarm class will be discussed, namely how to set up a "passive farm", or a non-alive topological representation of a yet-to-be-activated voting farm; how to initiate the voting farm; how to control the farm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。