# Module cloudi_service_quorum

- Description
- Function Index
- Function Details

### CloudI Quorum Service

Using this service can provide Byzantine fault tolerance for any other services.

Copyright © 2013-2019 Michael Truog

Version: 1.8.0 Nov 28 2019 16:04:53 ------------------------------------------------------------------------

Behaviours: `cloudi_service`.

Authors: Michael Truog (`mjtruog at protonmail dot com`).

## Description

### CloudI Quorum Service

Using this service can provide Byzantine fault tolerance for any other services. The service prefix is used to accept any service requests that match the prefix, while the suffix is used to achieve the configured number of service request responses (i.e., quorum: the minimum number of services able to process a service request to achieve the same response). If quorum is met, the agreed upon response is returned. Otherwise, the service request to this service will timeout (i.e., receive no response).

## Function Index

cloudi_service_handle_info/3 |
cloudi_service_handle_request/11 |
cloudi_service_init/4 |
cloudi_service_terminate/3 |

## Function Details

### cloudi_service_handle_info/3

`cloudi_service_handle_info(Return_async_active, State, Dispatcher) -> any()`

### cloudi_service_handle_request/11

`cloudi_service_handle_request(RequestType, Name, Pattern, RequestInfo, Request, Timeout, Priority, TransId, SrcPid, State, Dispatcher) -> any()`

### cloudi_service_init/4

`cloudi_service_init(Args, Prefix, Timeout, Dispatcher) -> any()`

### cloudi_service_terminate/3

`cloudi_service_terminate(Reason, Timeout, State) -> any()`

Generated by EDoc