Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/sentence-per-line.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Sentence per line

on:
pull_request:
branches: ["main"]
paths:
- "content/blog/**"
- ".github/workflows/sentence-per-line.yml"

permissions:
contents: read
pull-requests: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4

# Only the files a PR changes, so one post that slips through doesn't fail every later PR.
- name: Check one sentence per line
uses: madolson/sentence-per-line@a8a3ecebed791b3087fd6e0b94af1224f8cd1a20 # v1.0.0
with:
paths: content/blog
scope: changed-files
annotation-level: error
39 changes: 27 additions & 12 deletions content/blog/2024-06-27-using-bitnami-valkey-chart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ featured_image = "/assets/media/featured/random-01.webp"

+++

> **Due to changes in the [Bitnami catalog](https://github.com/bitnami/charts/issues/35164)**, the contents of this blog post are, as of September 2025, likely out-of-date and the helm chart **does not represent an operational best practice** without a subscription. This post is preserved for historical reference only. You can track work towards a project-provided Helm chart at [valkey-io/valkey#2371](https://github.com/valkey-io/valkey/issues/2371).
> **Due to changes in the [Bitnami catalog](https://github.com/bitnami/charts/issues/35164)**, the contents of this blog post are, as of September 2025, likely out-of-date and the helm chart **does not represent an operational best practice** without a subscription.
> This post is preserved for historical reference only.
> You can track work towards a project-provided Helm chart at [valkey-io/valkey#2371](https://github.com/valkey-io/valkey/issues/2371).

Valkey is a high-performance key/value datastore that supports workloads such as caching, and message queues, supporting many data types including strings, numbers, hashes, bitmaps, and more. Valkey can run in standalone or cluster mode for replication and high availability.
Valkey is a high-performance key/value datastore that supports workloads such as caching, and message queues, supporting many data types including strings, numbers, hashes, bitmaps, and more.
Valkey can run in standalone or cluster mode for replication and high availability.

[Bitnami](https://bitnami.com/) offers a number of secure, up-to-date, and easy to deploy charts for a number of popular open source applications.

Expand All @@ -26,7 +29,8 @@ This blog will serve as a walkthrough on how you can deploy and use the [Bitnami

Before starting the deployment, make sure that you have the following prerequisites:
- An operational Kubernetes cluster.
- An installed and configured kubectl CLI and Helm v3.x package manager. If you need help with these steps, check our article “[Learn how to install kubectl and Helm v3.x.](https://docs.bitnami.com/kubernetes/get-started-kubernetes#step-3-install-kubectl-command-line)”
- An installed and configured kubectl CLI and Helm v3.x package manager.
If you need help with these steps, check our article “[Learn how to install kubectl and Helm v3.x.](https://docs.bitnami.com/kubernetes/get-started-kubernetes#step-3-install-kubectl-command-line)”
- Optional: Access to [VMware Tanzu Application Catalog](https://app-catalog.vmware.com/catalog).

# Deploying the Bitnami package for the Valkey Helm chart
Expand All @@ -35,7 +39,8 @@ The sections below describe the steps to configure the deployment, get and deplo

## Getting and deploying the Bitnami package for Valkey Helm chart

You can deploy the [community](https://github.com/bitnami/charts/blob/main/LICENSE.md) Bitnami-packaged Valkey Helm chart from the open source Bitnami Application Catalog. Alternatively, if you have access to an enterprise Tanzu Application Catalog instance, it can also be deployed from there.
You can deploy the [community](https://github.com/bitnami/charts/blob/main/LICENSE.md) Bitnami-packaged Valkey Helm chart from the open source Bitnami Application Catalog.
Alternatively, if you have access to an enterprise Tanzu Application Catalog instance, it can also be deployed from there.

### Deploying the open source version of the chart through Bitnami Application Catalog

Expand All @@ -48,11 +53,15 @@ $ helm install myvalkey oci://registry-1.docker.io/bitnamicharts/valkey --set au

### Deploying the enterprise version of the chart through Tanzu Application Catalog

The following steps describe navigating the Tanzu Application Catalog and getting the instructions to deploy Valkey in your cluster. This example shows a Valkey chart built using Ubuntu 22 as the base OS image, but feel free to customize the chart depending on your needs.
The following steps describe navigating the Tanzu Application Catalog and getting the instructions to deploy Valkey in your cluster.
This example shows a Valkey chart built using Ubuntu 22 as the base OS image, but feel free to customize the chart depending on your needs.

1. Navigate to [app-catalog.vmware.com](https://app-catalog.vmware.com) and sign in to your catalog with your VMware account.
![Tanzu Library](images/using-bitnami-valkey-chart_1.png)
3. In the My Applications section, search for Valkey and request it for your catalog. It is supported by Photon, Ubuntu, RHEL UBI, and Debian Linux distributions. On the next screen, you will find the instructions for deploying the chart on your cluster. Make sure that your cluster is up and running.
3. In the My Applications section, search for Valkey and request it for your catalog.
It is supported by Photon, Ubuntu, RHEL UBI, and Debian Linux distributions.
On the next screen, you will find the instructions for deploying the chart on your cluster.
Make sure that your cluster is up and running.
4. Execute **kubectl cluster-info**, then run the commands you will find in the Consume your Helm chart section.

![Tanzu Application Catalog](images/using-bitnami-valkey-chart_2.png)
Expand Down Expand Up @@ -101,7 +110,8 @@ myvalkey-master:6379> get test_key

## Using a Python environment

The next example explains how to connect to Valkey using a Python script. To run the script, first, it is needed to provide a Python environment and install Python’s Redis package.
The next example explains how to connect to Valkey using a Python script.
To run the script, first, it is needed to provide a Python environment and install Python’s Redis package.

```bash
$ kubectl run -it python-redis --image=bitnami/python -- bash
Expand Down Expand Up @@ -147,7 +157,8 @@ b'bar'

## Using Valkey as a cache for WordPress

Valkey can also work as an object cache for a WordPress deployment. The following steps will show you how to set up this scenario.
Valkey can also work as an object cache for a WordPress deployment.
The following steps will show you how to set up this scenario.

First, it is needed to create the configuration for the WordPress deployment, in this case, Valkey’s parameters and the user credential for the site administrator are set.

Expand Down Expand Up @@ -180,16 +191,20 @@ service/mywp-wordpress LoadBalancer 10.100.136.181 192.168.49.50 80:31116/TCP,

Using the external IP, browse to the admin page and log in using the previously set credentials.

You will be able to see the WordPress administrator UI where you can search for `Redis Object Cache` plugin, and then install and activate it. After enabling it, wait for some metrics to appear:
You will be able to see the WordPress administrator UI where you can search for `Redis Object Cache` plugin, and then install and activate it.
After enabling it, wait for some metrics to appear:

![Redis Object Cache Metrics](images/using-bitnami-valkey-chart_4.png)

This is only a drop in the bucket of what can be done with Valkey. Thereafter you could easily integrate Valkey into your projects.
This is only a drop in the bucket of what can be done with Valkey.
Thereafter you could easily integrate Valkey into your projects.

# Support and resources

The Bitnami package for Valkey is available in both the community version, through the [Bitnami GitHub repository](https://github.com/bitnami/charts/tree/main/bitnami/valkey/#installing-the-chart), as well as the enterprise version, [Tanzu Application Catalog](https://app-catalog.vmware.com/catalog/f1242d16-218e-4773-8856-adcb2b2006e9/branch/1542f88a-71c4-42ed-b79c-89bd2063ac9a). Learn more about the differences between these two catalogs in this [blog post](https://tanzu.vmware.com/content/blog/open-source-vs-enterprise-edition-of-vmware-bitnami-application-catalog).
The Bitnami package for Valkey is available in both the community version, through the [Bitnami GitHub repository](https://github.com/bitnami/charts/tree/main/bitnami/valkey/#installing-the-chart), as well as the enterprise version, [Tanzu Application Catalog](https://app-catalog.vmware.com/catalog/f1242d16-218e-4773-8856-adcb2b2006e9/branch/1542f88a-71c4-42ed-b79c-89bd2063ac9a).
Learn more about the differences between these two catalogs in this [blog post](https://tanzu.vmware.com/content/blog/open-source-vs-enterprise-edition-of-vmware-bitnami-application-catalog).

To solve the problems you may have with the Bitnami community packages—including deployment support, operational support, and bug fixes—please open an issue in the Bitnami [Helm charts](https://github.com/bitnami/charts) or [containers](https://github.com/bitnami/containers) GitHub repositories. Also, if you want to contribute to the catalog, feel free to send us a [pull request](https://github.com/bitnami/containers/pulls), and the team will check it and guide you in the process for a successful merge.
To solve the problems you may have with the Bitnami community packages—including deployment support, operational support, and bug fixes—please open an issue in the Bitnami [Helm charts](https://github.com/bitnami/charts) or [containers](https://github.com/bitnami/containers) GitHub repositories.
Also, if you want to contribute to the catalog, feel free to send us a [pull request](https://github.com/bitnami/containers/pulls), and the team will check it and guide you in the process for a successful merge.

If you are interested in learning more about the Tanzu Application Catalog in general, check out the [product webpage](https://tanzu.vmware.com/application-catalog).
6 changes: 4 additions & 2 deletions content/blog/2024-07-07-unlock-one-million-rps.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ featured_image = "/assets/media/featured/random-01.webp"
Valkey 8.0, set for release in September 2024, will bring major performance enhancements through a variety of improvements including a new multi-threaded architecture.
This update aims to significantly boost throughput and reduce latency across various hardware configurations.
Read on to learn more about the new innovative I/O threading implementation and its impact on performance and efficiency.
This post is the first in a two-part series. The next post will dive into the new prefetch mechanism and its impact on performance.
This post is the first in a two-part series.
The next post will dive into the new prefetch mechanism and its impact on performance.

### Our Commitment to performance and efficiency
At AWS, we have hundreds of thousands of customers using Amazon ElastiCache and Amazon MemoryDB.
Expand Down Expand Up @@ -83,7 +84,8 @@ Therefore, we decided to offload `epoll_wait` execution to the I/O threads in th
I/O threads never sleep on `epoll`, and whenever there are pending I/O operations or commands to be executed, `epoll_wait` calls are scheduled to the I/O threads by the main thread.
In all other cases, the main thread executes the `epoll_wait` with the waiting time as in the original Valkey implementation

In addition, before executing commands, the main thread performs a new procedure, prefetch-commands-keys, which aims to reduce the number of external memory accesses needed when executing the commands on the main dictionary. A detailed explanation of the technique used in that procedure will be described in our next blog
In addition, before executing commands, the main thread performs a new procedure, prefetch-commands-keys, which aims to reduce the number of external memory accesses needed when executing the commands on the main dictionary.
A detailed explanation of the technique used in that procedure will be described in our next blog

### Testing and Availability
The enhanced performance will be available for testing in the first release candidate of Valkey, available today.
42 changes: 28 additions & 14 deletions content/blog/2024-07-31-valkey-8-0-0-rc1.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,21 @@ featured_image = "/assets/media/featured/random-07.webp"

The Valkey community is proud to unveil the first release candidate of Valkey 8.0,
a major update designed to enhance performance, reliability, and observability
for all Valkey installations. In this blog, we'll dive a bit deeper into each of these
for all Valkey installations.
In this blog, we'll dive a bit deeper into each of these
areas and talk about the exciting features we've built for this release.

## Performance

Valkey 8.0 features significant improvements to the existing I/O threading system,
allowing the main thread and I/O threads to operate concurrently. This release also
allowing the main thread and I/O threads to operate concurrently.
This release also
includes a number of improvements to offload work to the I/O threads and introduces
efficient batching of commands. Altogether, Valkey 8.0 is designed to handle up to
efficient batching of commands.
Altogether, Valkey 8.0 is designed to handle up to
1.2 million Queries Per Second (QPS) on AWS's r7g platform, compared to the previous
limit of 380K QPS. We'll dive deeper into these numbers in an upcoming blog.
limit of 380K QPS.
We'll dive deeper into these numbers in an upcoming blog.

NOTE: Not all improvements are available in the release candidate, but they will
be available in the GA release of Valkey 8.0.
Expand All @@ -57,16 +61,20 @@ Valkey 8.0 improves reliability and minimizes disruptions with the following
enhancements:

- **Automatic Failover for Empty Shards**: New shards that start empty, owning
no slots, now benefit from automatic failover. This ensures high availability
no slots, now benefit from automatic failover.
This ensures high availability
from the start of the scaling process.
- **Replication of Slot Migration States**: All `CLUSTER SETSLOT` commands are
now replicated synchronously to replicas before execution on the primary. This
now replicated synchronously to replicas before execution on the primary.
This
reduces the chance of unavailability if the primary fails, as the replicas have
the most up-to-date information about the state of the shard. New replicas also
the most up-to-date information about the state of the shard.
New replicas also
automatically inherit the state from the primary without additional input from
an operator.
- **Slot Migration State Recovery**: In the event of a failover, Valkey 8.0 automatically
updates the slot migration states on source and target nodes. This ensures requests
updates the slot migration states on source and target nodes.
This ensures requests
are continuously routed to the correct primary in the target shard, maintaining
cluster integrity and availability.

Expand All @@ -87,7 +95,8 @@ the replica backlog to be transferred simultaneously, accelerating synchronizati
client queries and improving overall responsiveness.

Performance tests show improvements in write latency during sync, and in scenarios
with heavy read commands, the sync time can be cut by up to 50%. This translates
with heavy read commands, the sync time can be cut by up to 50%.
This translates
to a more responsive system, even during synchronization.

For more details on these improvements, you can refer to [#60](https://github.com/valkey-io/valkey/pull/60).
Expand Down Expand Up @@ -116,13 +125,15 @@ For more details on these improvements, you can refer to [#712](https://github.c
Valkey 8.0 introduces two new improvements that reduce the memory overhead of keys,
allowing users to store more data without any application changes.
The first change is that keys are now embedded in the main dictionary, eliminating separate
key pointers and significantly reducing memory overhead. This results in a 9-10%
key pointers and significantly reducing memory overhead.
This results in a 9-10%
reduction in overall memory usage for scenarios with 16-byte keys and 8 or 16-byte
values, along with performance improvements.

This release also introduces a new per-slot dictionary for Valkey cluster, which
replaces a linked list that used to allow operator to list out all the keys in
a slot for slot-migration. The new architecture splits the main dictionary by slot,
a slot for slot-migration.
The new architecture splits the main dictionary by slot,
reducing the memory overhead by 16 bytes per key-value pair without degrading performance.

For more details on these improvements, you can refer to [#541](https://github.com/valkey-io/valkey/pull/541)
Expand All @@ -147,11 +158,14 @@ and [Redis#11695](https://github.com/redis/redis/pull/11695).
## Conclusion

Valkey 8.0 is a major update that offers improved performance, reliability, and
observability. Whether you are an experienced Valkey/Redis user or exploring
observability.
Whether you are an experienced Valkey/Redis user or exploring
it for the first time, this release provides significant advancements in in-memory
data storage. You can try out these enhancements today by downloading from
data storage.
You can try out these enhancements today by downloading from
[source](https://github.com/valkey-io/valkey/releases/tag/8.0.0-rc1) or using one
of our [container images](https://hub.docker.com/r/valkey/valkey). We would love
of our [container images](https://hub.docker.com/r/valkey/valkey).
We would love
to hear your thoughts on these new features and what you hope to see in the
future from the Valkey project.

Expand Down
Loading
Loading