
Tech
Building an Embedded Raft SDK for Existing Node.js Services
Sometimes an application needs Raft semantics, but it does not need another general-purpose
distributed system.
An existing scheduler, control plane, metadata service, or coordination service may already have its
own domain model and API. What it lacks is a safe way for several instances to elect a leader, agree
on an ordered command stream, and apply that stream to local state.
The usual choices are not always comfortable:
implement Raft inside the application;
redesign the appl...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to