mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
18ca61d29b
* feat(namespaces): Initial support for multi-tenant #3050 This PR introduces a way to create multiple, separate and isolated namespaces in Dragonfly. Each user can be associated with a single namespace, and will not be able to interact with other namespaces. This is still experimental, and lacks some important features, such as: * Replication and RDB saving completely ignores non-default namespaces * Defrag and statistics either use the default namespace or all namespaces without separation To associate a user with a namespace, use the `ACL` command with the `TENANT:<namespace>` flag: ``` ACL SETUSER user TENANT:namespace1 ON >user_pass +@all ~* ``` For more examples and up to date info check `tests/dragonfly/acl_family_test.py` - specifically the `test_namespaces` function. |
||
---|---|---|
.. | ||
quick-start | ||
bgsave_memusage.svg | ||
build-from-source.md | ||
coordinator.excalidraw | ||
dashsegment.svg | ||
dashtable.md | ||
dashtable.svg | ||
db.svg | ||
dense_set.excalidraw | ||
dense_set.md | ||
dense_set.svg | ||
df-share-nothing.md | ||
differences.md | ||
faq.md | ||
memcached_benchmark.md | ||
memory_bgsave.tsv | ||
namespaces.md | ||
rdbsave.excalidraw | ||
rdbsave.md | ||
README.md | ||
thread-per-core.excalidraw | ||
throughput.svg | ||
transaction.md |
Quick Start
The easiest way to get started with Dragonfly is with Docker.
Deployment Method
First, choose a deployment method.
If you are new to Dragonfly, we recommend the DragonflyDB Docker Quick Start Guide
Other options: