Skip to main content

High Availability

From the release v1.0.0 and onwards, Parseable supports a distributed, high-availability mode for production use cases where downtime is not an option. The distributed setup is designed to provide fault tolerance and high availability for log ingestion.

Distributed setup consists of multiple Parseable ingestion server, a query server and a S3 (or other object store) bucket. The cluster is managed by a leader server, doubling up as the query server.

Query (and leader) server uses the metadata stored in the object store to query the data. The query server uses Parseable manifest file and the Parquet footers in tandem to ensure that the data is read in fewest possible object store API calls.

Architecture

Parseable distributed mode is based on a completely decoupled design, with clear segregation between the compute and storage. Different components like ingestor and querier are on independent paths, and can be scaled independently.

Each ingestor creates its own set of metadata files and data files - storing these files to a (internally) well known location within the object storage system. This allows for a simple, clean path to scale ingestors as workloads increase. Similarly, this allows for clean scaling down of ingestors when workloads decrease. You can even scale ingestors to zero, and the system will continue to operate normally.

Query server primarily serves as a reader server, barring few metadata files that it writes to the object store. This allows for a clean separation of concerns, and allows for the query server to be scaled vertically as needed. Query server also maintains a lazy list of ingestors that are currently active, and uses this list to query the data.

Parseable distributed cluster

Migration from Standalone to Distributed

If you're already running Parseable in standalone mode, and want to migrate to distributed mode, you can start the Parseable server(s) in distributed mode and the server will automatically migrate the metadata and other relevant manifest files to the distributed mode. There is no additional step involved.

Please note that this is a one way and one time process. It is not possible to move from a distributed deployment to a standalone deployment.

Pending features

There are a few features that are not yet available in distributed mode. These will be added in future releases.

  • Live querying from all the staging data in all the ingestors. Currently the query server queries all the data that is already pushed to the object store.
  • Caching of data in ingestors while ingestion.
  • Alerting is not yet supported in distributed mode. We're working on a way to provide alerts in distributed mode as well.
  • Live tail support is not yet available for distributed mode.

Get Updates from Parseable

Subscribe to keep up with latest news, updates and new features on Parseable