DragonflyDB Cluster - Basic 2x1x1

The Package for Memcached Cluster integrates DragonflyDB and McRouter, offering a state-of-the-art caching solution tailored for modern applications. This package is designed to maximize scalability and performance, enabling developers to deploy distributed caching layers effortlessly, reduce database load, and significantly improve response times.

Why Choose DragonflyDB Cluster - Basic 2x1x1?

  • Simplified Scalability: Deploy a highly efficient distributed caching layer with pre-configured Docker packages, reducing complexity and ensuring faster response times.
  • Intelligent Request Routing: Utilize McRouter’s advanced features, such as prefix routing, replicated pools, and failover mechanisms, for seamless cache operation.
  • Blazing-Fast Performance: Built on DragonflyDB, delivers a high-speed, fault-tolerant caching system optimized for high-demand environments.
  • Dynamic Configuration: Manage and scale your caching infrastructure with live updates, ensuring zero downtime.
  • Multi-Level Caching: Implement tiered caching for enhanced data retrieval efficiency.

Core Features

  • Optimized Caching: Route requests efficiently across multiple Memcached servers using McRouter for better load balancing and resource management.
  • Advanced Routing Logic: Configure routing policies based on prefixes, clusters, or custom requirements using McRouter’s modular routing handles.
  • Rich Monitoring Tools: Access detailed statistics and debugging tools for complete visibility into cache performance.
  • Security First: Protect data in transit with SSL support and IPv6 compatibility.
  • Multi-Threaded Architecture: Leverage multi-core systems for efficient request handling.

Easy Deployment

This package includes pre-configured Docker containers and a straightforward setup process, enabling developers to quickly build a scalable, reliable caching infrastructure.

Included in Your Offer

  • One or Two Nginx Instances: Optimized for web traffic management. (We can add an additional instance of NGINX if you already have a Reverse Proxy or a Load Balancer)
  • One PHP Instances: Pre-configured for Memcached integration.
  • Two McRouter Instances: Intelligent request routing for optimal caching
  • Two DragonFlyDB Memcached Instances: Integrated with your existing database and website. One master and one slave

Note: Each “server” refers to one Docker container. All containers can run on the same physical machine or in the cloud for performance and redundancy.


Recommended Server Specifications

For the Cluster configuration, we recommend using a cloud server instance with the following specifications:

  • Minimum RAM: 8 GB (This is the minimum requirement to run the cluster effectively for production.) We have tested the application with 4 GB of RAM, and it functions perfectly, as Docker consumes very little memory. However, to achieve maximum speed, the application requires this amount of RAM, which also depends on the quantity of cache on your server. If the RAM fills up quickly, the application’s performance will degrade rapidly, as it runs solely in RAM.
  • The data is saved both on disk, and a snapshot of the program data is created. If your server has less memory, only a single instance of DragonflyDB can be run. However, in this case, the cluster loses its significance. A single instance of DragonflyDB requires a minimum of 4 GB of RAM to run effectively.
  • Maximum RAM Supported: Each DragonflyDB instance can support up to 768 GB of RAM, enabling extensive caching capabilities. With 4 instances configured, the total RAM available will be 1536 GB. However, in a mirrored setup (replication), the effective storage capacity is halved, resulting in 758 GB of usable RAM. This configuration is cost-effective and suitable for applications with light to moderate traffic.

The DragonflyDB Cluster project is paving the way for a new generation of caching systems, delivering exceptional performance and scalability. Designed to handle demanding workloads, this advanced configuration makes it an ideal choice for large-scale applications.

The application can set a limit on the RAM that can be used. If you have unlimited memory, you can set it to manage automatically, and DragonflyDB will manage its memory based on the available memory on the server.

However, a custom cluster can be configured without limitations and can be horizontally scaled across different geographical areas or within the same data center based on your preferences. For more advanced options, this custom cluster can run in a Multi-Cloud, Multi-Cluster Kubernetes Orchestration setup with Karmada across multiple data centers and with various cloud providers globally, without any limitations.

Key Advantages

  • Unparalleled Speed: With performance that can reach up to 25x faster than traditional Memcached, DragonflyDB Cluster is designed for use cases where speed is critical.
  • Scalability: The cluster’s advanced architecture supports scaling up to 4.6 TB, offering exceptional capacity for handling massive datasets.
  • Flexibility: Adaptable to a wide range of scenarios, users can customize configurations to optimize for their specific requirements.

Handle with Care: Development Status

As a project still under development, the DragonflyDB Cluster team advises users to:

  • Test thoroughly in controlled environments before production deployment.
  • Adjust configurations to match individual use cases for optimal results.
  • Verify licenses to ensure compliance with all third-party dependencies and integrations.

Licenses

Important Notice Regarding DragonflyDB Usage

In compliance with the Dragonfly Business Source License 1.1 (BSL 1.1):

  • Permitted Use: This project involves installing and configuring DragonflyDB as part of your private caching infrastructure.
  • Prohibited Use: You cannot offer DragonflyDB as a hosted or managed service, nor provide any solution that allows third parties (other than your employees or contractors) to access or use DragonflyDB features.
  • One-Time Installation: You can only order a one-time installation for a managed solution. You need to contact the DragonflyDB team to ensure that the service fully respects the licensing terms of DragonflyDB, or you can manage it yourself.

Explore and Contribute

Learn more and become part of the journey by visiting the DragonflyDB Cluster repository on GitHub

Multiple Configurations for Diverse Needs

DragonflyDB Cluster provides several configurations to suit a variety of use cases:

  • Basic setup: for smaller-scale applications or testing environments.
  • Advanced setup: featuring three routers, three master nodes, and three slave nodes, optimized for performance, fault tolerance, and high availability. If you have a minimum of three servers available for caching, we can install a package on each of them. Each server will have one router and two instances: one DragonflyDB master and one DragonflyDB slave. Additionally, we will set up three Nginx proxy servers in front, along with a load balancer.
  • For high availability (HA), a total of six instances are required, which means you will need a minimum of six servers, each with one instance of DragonflyDB. In this case, you will have three master nodes and three slave nodes operating in a mirrored setup, so the available memory will be effectively halved.

Preconfigured packages:

For preconfigured basic packages, you can find them on the app store:

Please note that we do not offer future support for any implementation solution; this offer does not include a managed service if you require a managed solution, please contact the Dragonfly team.

Custom Installation Assistance

If you would like custom installation of this product, please contact Romulus at olariu_romeo@yahoo.it . I will be happy to help you with the installation process and ensure a smooth setup.

  • Based on the size and complexity of your project, we will provide you with a tailored pricing quote.
  • For purchasing a custom installation service, please visit the following link: DragonflyDB Cluster -Custom

After Purchase Notes

After your purchase, please provide the following information via email:

  • Server login credentials
  • An SSH key for secure access
  • Details about the project you wish to integrate

Additional Documentation

For more details, please refer to the main repository:

Disclaimer

This product is provided "as is," without any guarantees or warranties regarding its functionality, performance, or reliability. By using this product, you acknowledge that you do so at your own risk. Romulus and its contributors are not liable for any issues, damages, or losses that may arise from the use of this product. We recommend thoroughly testing the product in your own environment before deploying it in a production setting.

NOTE

This product is compatible with all versions of UNA, and has only been tested on 64-bit PC (amd64) Ubuntu 22.04 and Debian 12 server systems.

APP Diagram:

image_transcoder.php?o=sys_images_editor&h=2582&dpx=2&t=1741382891

  • Buy for $200
  • 2427
  • More
Reviews (0)
Login or Join to comment.