One Dragonfly Instance, Ten Workloads: How ACL Database Selectors Work
Blog post from Dragonfly
Dragonfly's ACL database selectors offer a solution for running multiple isolated workloads on a single instance, eliminating the need for separate Redis instances per application. This approach allows teams to consolidate multiple Redis instances into one, reducing infrastructure overhead and improving resource utilization through Dragonfly's multi-threaded architecture. ACL database selectors use a token system that assigns logical databases to specific users, ensuring logical isolation and security enforcement without requiring changes to application code. While this method provides logical boundaries and efficient resource utilization, it does not offer complete resource isolation, meaning that workloads share the same CPU, memory, and network resources, potentially leading to competition under extreme loads. This makes it ideal for small-to-medium workloads that do not require hardware-level isolation, with full support available in Dragonfly Cloud for easy setup and management.