Membuka halaman seterusnya.
Memaparkan bab seterusnya…
Psst… sesuaikan cara membaca Anda.
Fon dan tema tersedia di Tampilan. Keselesaan mata anda juga penting.
Memaparkan bab seterusnya…
A method of replicating a service by having deterministic replicas process the same ordered inputs and produce corresponding states and outputs.
Menyemak sokongan bacaan suara pada pelayar ini…
Bacaan ini kini tersedia dalam bahasa Inggeris. Antara muka menggunakan bahasa pilihan anda.
Baca teks asal bahasa Inggeris →In computer science, state machine replication (SMR) or state machine approach is a general method for implementing a fault-tolerant service by replicating servers and coordinating client interactions with server replicas. The approach also provides a framework for understanding and designing replication management protocols.
In terms of clients and services, each service comprises one or more servers and exports operations that clients invoke by making requests. Although using a single, centralized server is the simplest way to implement a service, the resulting service can only be as fault tolerant as the processor executing that server. If this level of fault tolerance is unacceptable, then multiple servers that fail independently can be used.
Usually, replicas of a single server are executed on separate processors of a distributed system, and protocols are used to coordinate client interactions with these replicas.
A State Machine begins at the State labeled Start. Each Input received is passed through the transition and output function to produce a new State and an Output. The State is held stable until a new Input is received, while the Output is communicated to the appropriate receiver.
This discussion requires a State Machine to be deterministic: multiple copies of the same State Machine begin in the Start state, and receiving the same Inputs in the same order will arrive at the same State having generated the same Outputs.
Typically, systems based on State Machine Replication voluntarily restrict their implementations to use finite-state machines to simplify error recovery.
Dipilih dan diformat ulang daripada State machine replication, oleh para kontributornya, dengan lesen CC BY-SA 4.0. Semakan 1375989403. Bahagian dan format telah diringkas; semakan berpaut menyediakan konteks lengkap dan sejarah penyumbang. Teks rujukan ini tetap menggunakan lesen yang sama. Pautan rujukan tambahannya diimport daripada semakan tersebut dan belum disemak secara bebas di sini.