WolfScale is a suite of tools designed for seamless database replication, clustering, and load balancing, providing a robust, high-availability solution for MariaDB and MySQL. With automatic leader election and WAL-based replication, it ensures strong consistency and ease of use, streamlining server infrastructure management.
WolfScale is a powerful tool designed for creating resilient clustered server infrastructure. Originally developed as a database replication utility, it has evolved into a comprehensive suite of server clustering utilities, all encapsulated within a single, easy-to-setup Rust binary. The suite includes several key tools:
| Tool | Description | Status |
|---|---|---|
| WolfStack | A management dashboard for servers, VMs, and containers with integration for Proxmox | ✅ Available |
| WolfScale | Provides MariaDB/MySQL replication, clustering, and load balancing for high availability | ✅ Available |
| WolfDisk | A distributed filesystem that allows for disk sharing and replication across networks | ✅ Available |
| WolfNet | Enables secure private networking between machines over the internet | ✅ Available |
WolfScale – Database Replication
WolfScale delivers high-performance replication for MariaDB and MySQL databases, featuring:
- Automatic Leader Election: Ensures consistent failover with a single leader model, allowing for easier management and reducing write conflicts.
- WAL-Based Replication: Guarantees strong data consistency and allows for safe node rejoining.
- Transparent MySQL-Compatible Proxy: Facilitates operation without necessitating changes to existing applications.
Key Features of WolfScale
| Feature | Benefit |
|---|---|
| Sub-Millisecond Replication | Faster push-based replication compared to standard solutions. |
| Zero Write Conflicts | The single-leader model prevents certification failures. |
| Predictable Failover | Consistent handling of leadership based on the lowest node ID. |
| Zero-Config Discovery | Automatic node detection via UDP broadcast. |
| Built-in Load Balancer | Smooth distribution of database connections across cluster nodes. |
| Single Binary | Simplified installation with no dependencies. |
Performance Comparison
WolfScale stands out with its industry-leading replication lag:
| System | Typical Replication Lag |
|---|---|
| MySQL Async | 100ms - seconds |
| MySQL Semi-Sync | 10-50ms |
| MariaDB Galera | 10-20ms |
| WolfScale | <1ms |
Setup and Commands
WolfScale supports straightforward installation and maintenance.
Example command to set up:
curl -sSL https://raw.githubusercontent.com/wolfsoftwaresystemsltd/WolfScale/main/setup.sh | bash
Administration can be carried out using the following commands:
wolfctl list servers # View cluster status
wolfctl stats # Monitor live throughput
wolfctl migrate --from 10.0.10.111:8080 # Migrate data to a new node
wolfctl reset --force # Reset WAL and state (DESTRUCTIVE)
Additional Tools
WolfDisk – Distributed Filesystem
WolfDisk simplifies disk sharing and replication across networks, allowing servers to mount shared directories with automatic synchronization. Key benefits include:
- FUSE-Based Architecture: Compatible with any application as it mounts like a standard filesystem.
- Leader-Follower Model: Ensures strong data consistency.
- Client Mode: Access shared drives without local storage requirements.
Example setup command:
curl -sSL https://raw.githubusercontent.com/wolfsoftwaresystemsltd/WolfScale/main/wolfdisk/setup.sh | bash
WolfNet – Private Networking
WolfNet establishes secure and encrypted networking between machines via the internet, making them interconnected as if on the same local network.
Key features include:
- WireGuard-Class Crypto: Ensures secure communication through modern encryption protocols.
- Mesh Networking: Allows for direct communication between nodes, enhancing resilience.
Quick installation command:
curl -sSL https://raw.githubusercontent.com/wolfsoftwaresystemsltd/WolfScale/main/wolfnet/setup.sh | sudo bash
Each tool within the WolfScale ecosystem is designed for seamless integration, ensuring a robust infrastructure to support modern applications. Whether managing databases, shared file systems, or secure networking, WolfScale offers a reliable, high-performance solution for server clustering needs. For more information, visit the official site.
No comments yet.
Sign in to be the first to comment.