Skip to content

Commit cd75194

Browse files
authored
valkey (#235)
1 parent 51f7434 commit cd75194

File tree

6 files changed

+492
-54
lines changed

6 files changed

+492
-54
lines changed

apps/docs/content/homepage.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ export const containers = [
4444
export const databases = [
4545
{ name: "PostgreSQL", link: "/postgresql/overview", icon: <Icons.postgresql/> },
4646
{ name: "MariaDB", link: "/mariadb/overview", icon: <Icons.mariadb/> },
47-
{ name: "KeyDB", link: "/keydb/overview", icon: <Icons.keydb/> },
47+
{ name: "Valkey", link: "/valkey/overview", icon: <Icons.valkey/> },
4848
{ name: "Elasticsearch", link: "/elasticsearch/overview", icon: <Icons.elasticsearch/> },
4949
{ name: "Typesense", link: "/typesense/overview", icon: <Icons.typesense/> },
5050
{ name: "Meilisearch", link: "/meilisearch/overview", icon: <Icons.meilisearch/> },
5151
{ name: "Qdrant", link: "/qdrant/overview", icon: <Icons.qdrant/> },
52-
{ name: "Valkey", icon: <Icons.valkey/> },
52+
{ name: "KeyDB", link: "/keydb/overview", icon: <Icons.keydb/> },
5353
{ name: "Kafka", icon: <Icons.kafka/> },
5454
{ name: "NATS", icon: <Icons.nats/> },
5555
]

apps/docs/content/valkey/overview.mdx

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Valkey
3+
desc: Production-ready Valkey on Zerops platform with managed infrastructure and automatic security configuration. Deploy and run your in-memory data store with zero operational overhead.
4+
---
5+
6+
import UnorderedList from '@site/src/components/UnorderedList';
7+
import UnorderedCodeList from '@site/src/components/UnorderedCodeList';
8+
import data from '@site/static/data.json';
9+
10+
Valkey is a powerful, open-source alternative to Redis, offering full compatibility with Redis clients while providing an independent development path focused on community-driven innovation. Deploy and manage Valkey on Zerops' fully managed infrastructure to get instant access to high-performance in-memory data storage.
11+
12+
:::tip
13+
Valkey is our recommended Redis alternative as KeyDB's development has slowed significantly in recent times.
14+
:::
15+
16+
## Supported Versions
17+
18+
Currently supported Valkey versions:
19+
<UnorderedList data={data.valkey.readable}/>
20+
21+
Import configuration version:
22+
<UnorderedCodeList data={data.valkey.import}/>
23+
24+
## Service Configuration
25+
26+
Zerops offers Valkey in two deployment configurations to meet different availability requirements.
27+
28+
## Deployment Options
29+
30+
### Non-HA Setup
31+
- Single node deployment on port `6379` (non-TLS) and `6380` (TLS)
32+
- No backup mechanism beyond Zerops infrastructure reliability
33+
- Data persists unless the hardware node fails
34+
- Suitable for development or non-critical workloads
35+
36+
### HA (High Availability) Setup
37+
38+
Our HA implementation uses a unique approach to ensure high availability while maintaining compatibility with all Redis clients:
39+
40+
- 3-node configuration (1 master + 2 replicas)
41+
- Access ports:
42+
- `6379` - read/write operations (non-TLS, routed to master)
43+
- `6380` - read/write operations over TLS (routed to master)
44+
- `7000` - read-only operations (non-TLS)
45+
- `7001` - read-only operations over TLS
46+
- Implementation details:
47+
- All nodes are configured identically and listen on standard ports
48+
- First node in the cluster is designated as the master
49+
- On replica nodes, ports `6379`/`6380` traffic is forwarded to the master
50+
- Ports `7000`/`7001` are mapped locally to each node for direct replica access
51+
- When a master fails, a replica is promoted and routing is updated automatically
52+
- DNS entries are updated for seamless client connection
53+
- This implementation provides traffic forwarding to master (not natively supported by Valkey)
54+
55+
:::note
56+
Be aware that replica data may lag slightly behind the master due to asynchronous replication.
57+
:::
58+
59+
## Learn More
60+
61+
- [Official Valkey Documentation](https://valkey.io/docs) - Comprehensive guide to Valkey features
62+
63+
## Support
64+
65+
For advanced configurations or custom requirements:
66+
- Join our [Discord community](https://discord.gg/zerops)
67+
- Contact support via [email](mailto:support@zerops.io)

apps/docs/sidebars.js

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -363,13 +363,13 @@ module.exports = {
363363
className: 'homepage-sidebar-item service-sidebar-item',
364364
},
365365
{
366-
type: 'ref',
367-
id: 'keydb/overview',
368-
label: 'KeyDB (Redis)',
366+
type: "ref",
367+
id: "valkey/overview",
368+
label: "Valkey (Redis)",
369369
customProps: {
370-
sidebar_icon: 'keydb',
370+
sidebar_icon: "valkey",
371371
},
372-
className: 'homepage-sidebar-item service-sidebar-item',
372+
className: "homepage-sidebar-item service-sidebar-item",
373373
},
374374
{
375375
type: "ref",
@@ -407,15 +407,15 @@ module.exports = {
407407
},
408408
className: "homepage-sidebar-item service-sidebar-item",
409409
},
410-
// {
411-
// type: "ref",
412-
// id: "valkey/overview",
413-
// label: "Valkey",
414-
// customProps: {
415-
// sidebar_icon: "valkey",
416-
// },
417-
// className: "homepage-sidebar-item service-sidebar-item",
418-
// },
410+
{
411+
type: 'ref',
412+
id: 'keydb/overview',
413+
label: 'KeyDB',
414+
customProps: {
415+
sidebar_icon: 'keydb',
416+
},
417+
className: 'homepage-sidebar-item service-sidebar-item',
418+
},
419419
// {
420420
// type: "ref",
421421
// id: "kafka/overview",
@@ -2234,6 +2234,26 @@ module.exports = {
22342234
},
22352235
},
22362236
],
2237+
valkey: [
2238+
{
2239+
type: 'ref',
2240+
id: 'homepage',
2241+
label: 'Back to home',
2242+
customProps: {
2243+
sidebar_is_back_link: true,
2244+
sidebar_icon: 'back-arrow',
2245+
},
2246+
},
2247+
{
2248+
type: 'doc',
2249+
id: 'valkey/overview',
2250+
label: 'Zerops Valkey Service',
2251+
customProps: {
2252+
sidebar_is_title: true,
2253+
sidebar_icon: 'valkey',
2254+
},
2255+
},
2256+
],
22372257
qdrant: [
22382258
{
22392259
type: 'ref',

0 commit comments

Comments
 (0)