Home / Companies / SurrealDB / Blog / Post Details
Content Deep Dive

Clustered SurrealDB for 1.0.0-beta9

Blog post from SurrealDB

Post Details
Company
Date Published
Author
Hugh Kaznowski
Word Count
1,781
Language
English
Hacker News Points
-
Summary

The blog post provides a comprehensive guide on setting up a distributed SurrealDB cluster using a TiKV cluster architecture to enhance scalability and reliability for data operations. By leveraging different Key-Value storage engines like RocksDB for single deployment and TiKV or FoundationDB for distributed storage, the setup aims to improve data read and write operations while maintaining operations during node failures. The tutorial outlines the use of LXC, a lightweight Linux container system, to simulate fully-fledged computing nodes, emphasizing that this setup, which simplifies deployment using SSH and a known password, is not recommended for production due to security concerns. The process involves configuring and launching multiple TiKV and PD instances, deploying SurrealDB nodes, and balancing the connections across the PD node pool to ensure minimal disruption and data integrity in case of node failures. The guide concludes with a demonstration of executing basic SQL operations using SurrealDB and encourages further exploration of its scalability and application.