From 8200705a0ceb303b9ab492dbe93e18292cf0ec76 Mon Sep 17 00:00:00 2001 From: martinrvisser Date: Thu, 12 Sep 2024 20:54:29 +0100 Subject: [PATCH 1/9] New participants workflow New agreed text for participants page. Signed-off-by: martinrvisser --- content/participants.md | 8 ++++ sass/_valkey.scss | 48 ++++++++++++++++++++ static/img/percona.svg | 1 + templates/default.html | 1 + templates/includes/participants-buttons.html | 6 +++ templates/participants.html | 13 ++++++ 6 files changed, 77 insertions(+) create mode 100644 content/participants.md create mode 100644 static/img/percona.svg create mode 100644 templates/includes/participants-buttons.html create mode 100644 templates/participants.html diff --git a/content/participants.md b/content/participants.md new file mode 100644 index 0000000..3fa050d --- /dev/null +++ b/content/participants.md @@ -0,0 +1,8 @@ +--- +template: participants.html +title: Participate with Valkey +--- + +# Valkey Participants + +The Valkey project participants are a diverse group of organizations that have come together to maintain and contribute to the project. Valkey participants are more than vendors, they are dedicated to continuously strengthening the long-term health and viability of this project so that everyone can benefit from it. Since its inception Valkey has enjoyed steady adoption demonstrating the industry's desire for an open, community-driven database solution. We look forward to seeing our list of participants grow as more companies work on our project. \ No newline at end of file diff --git a/sass/_valkey.scss b/sass/_valkey.scss index 40bacf0..1f55a0b 100644 --- a/sass/_valkey.scss +++ b/sass/_valkey.scss @@ -462,6 +462,54 @@ aside { } } +.participants-container { + @include sans-serif; + background-color: #4CAF50; /* Green background */ + border: none; + color: white; + padding: 15px 32px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; + margin: 4px 2px; + cursor: pointer; + border-radius: 4px; +} + +#participants-buttons { + display: inline-block; + vertical-align: middle; + + :after { + content: 'Become a participant'; + display: block; + clear: both; + } + + > div { + position: relative; + height: 24px; + width: 164px; + float: left; + text-align: center; + + > svg { + height: 16px; + fill: $background-darkest; + margin-top: 10px; + } + } + > div:hover { + cursor: pointer; + } + > div.new-participants:hover > svg {fill: #3B5998;} + > div.new-participants > svg { + height: 18px; + margin-top: 9px; + } +} + .author-social-media { ul { list-style-type: none; diff --git a/static/img/percona.svg b/static/img/percona.svg new file mode 100644 index 0000000..abba095 --- /dev/null +++ b/static/img/percona.svg @@ -0,0 +1 @@ +percona_logo.svg \ No newline at end of file diff --git a/templates/default.html b/templates/default.html index 3d28f86..869dc1c 100644 --- a/templates/default.html +++ b/templates/default.html @@ -27,6 +27,7 @@ diff --git a/templates/includes/participants-buttons.html b/templates/includes/participants-buttons.html new file mode 100644 index 0000000..adddd21 --- /dev/null +++ b/templates/includes/participants-buttons.html @@ -0,0 +1,6 @@ +{# adapted to Zola #} +{% set pageurl = page.permalink | urlencode%} +
+
+
+
\ No newline at end of file diff --git a/templates/participants.html b/templates/participants.html new file mode 100644 index 0000000..55be2c0 --- /dev/null +++ b/templates/participants.html @@ -0,0 +1,13 @@ +{% extends "right-aside.html" %} +{% block subhead_content%} +{% endblock subhead_content%} + +{% block main_content %} +{{ page.content | safe }} + +{% include "includes/participants-buttons.html" %} + + +{% endblock main_content %} \ No newline at end of file From 8bfbbe5cea18369c6d10e6b7e6932475e6a809f8 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Sun, 15 Sep 2024 05:24:53 -0600 Subject: [PATCH 2/9] moves listing static to data file Signed-off-by: Kyle J. Davis --- _data/participants.yml | 5 +++++ templates/participants.html | 13 ++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 _data/participants.yml diff --git a/_data/participants.yml b/_data/participants.yml new file mode 100644 index 0000000..36676bf --- /dev/null +++ b/_data/participants.yml @@ -0,0 +1,5 @@ +- name: Percona + link: https://learn.percona.com/percona-support-for-valkey + image: + path: /img/percona.svg + alt: Percona Logo diff --git a/templates/participants.html b/templates/participants.html index 55be2c0..b334580 100644 --- a/templates/participants.html +++ b/templates/participants.html @@ -6,8 +6,15 @@ {{ page.content | safe }} {% include "includes/participants-buttons.html" %} - +{% set participants = load_data(path="/_data/participants.yml") %} +
+ {% for participant in participants %} +
+ +
+ {% endfor %} +
{% endblock main_content %} \ No newline at end of file From 08503037a23e71f09a742fbcec89af68691ed633 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Mon, 25 Nov 2024 11:49:14 -0700 Subject: [PATCH 3/9] added custom frontmatter for topics, override for about/history Signed-off-by: Kyle J. Davis --- build/custom-frontmatter/topics/history.toml | 5 +++++ build/init-topics.sh | 9 ++++++++- content/about.md | 11 ----------- 3 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 build/custom-frontmatter/topics/history.toml delete mode 100644 content/about.md diff --git a/build/custom-frontmatter/topics/history.toml b/build/custom-frontmatter/topics/history.toml new file mode 100644 index 0000000..bf70241 --- /dev/null +++ b/build/custom-frontmatter/topics/history.toml @@ -0,0 +1,5 @@ +# Custom front matter +aliases = [ + "/docs/topics/history/", + "/about/" +] diff --git a/build/init-topics.sh b/build/init-topics.sh index d2e083c..4f0073e 100755 --- a/build/init-topics.sh +++ b/build/init-topics.sh @@ -29,8 +29,14 @@ for fname in $(find $1 -maxdepth 1 -iname "*.md") do base=${fname##*/} topic=${base%.*} + if [[ "$topic" != "index" ]]; then - cat << EOF > "./content/topics/$topic.md" + if [ -f "./build/custom-frontmatter/topics/$topic.toml" ]; then + echo "+++" >> "./content/topics/$topic.md" + cat "./build/custom-frontmatter/topics/$topic.toml" >> "./content/topics/$topic.md" + echo "+++" >> "./content/topics/$topic.md" + else + cat << EOF > "./content/topics/$topic.md" +++ # This is a generated stub file. # To edit the content see /topic/$topic.md in the 'valkey-doc' repo @@ -38,6 +44,7 @@ aliases = ["/docs/topics/$topic/"] +++ EOF fi +fi done echo "Topic stub files created at content/topics." diff --git a/content/about.md b/content/about.md deleted file mode 100644 index ec08528..0000000 --- a/content/about.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -template: fullwidth.html -title: Connect with Valkey ---- - -# History of Valkey - -Valkey is an open source continuation of Redis, created in March 2024 following Redis's shift to a non-open source license. -This initiative was led by Madelyn Olson, a notable figure in the Redis community and a former core maintainer at AWS, along with other contributors who sought to preserve the original open source ethos of Redis. -The transition garnered substantial backing from leading tech corporations including AWS, Google, Oracle, Ericsson, and Snap, with the Linux Foundation stepping in to provide a stable platform for this new direction. -Amidst the landscape of Redis alternatives, Valkey stands out with strong support from cloud services providers, positioning it as a promising solution for future open source database needs. From f1c74da4046a6333a13b267255ec6ec4e3671f69 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Mon, 25 Nov 2024 15:28:43 -0700 Subject: [PATCH 4/9] allows for /command/GET/ Signed-off-by: Kyle J. Davis --- build/init-commands.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/init-commands.sh b/build/init-commands.sh index 74888bd..05de1ff 100755 --- a/build/init-commands.sh +++ b/build/init-commands.sh @@ -31,12 +31,14 @@ for fname in $(find $1 -maxdepth 1 -iname "*.md") do base=${fname##*/} command=${base%.*} + command_upper=$(awk '{ print toupper($0) }' <<< $command) if [[ "$command" != "index" ]]; then cat << EOF > "./content/commands/$command.md" +++ # This is a generated stub file. # To edit the command description see /commands/$command.md in the 'valkey-doc' repo # The command metadata is generated from /src/$command.json in the 'valkey' repo +aliases = ["/commands/$command_upper/"] +++ EOF fi From e2e0596e678590f4e99dc5439fcf655663f2d60c Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Thu, 28 Nov 2024 13:38:28 -0700 Subject: [PATCH 5/9] add details from participants form, update logo styles for other participants Signed-off-by: Kyle J. Davis --- _data/participants.yml | 9 +++++++++ sass/_valkey.scss | 20 ++++++++++++++++++++ templates/participants.html | 5 +++++ 3 files changed, 34 insertions(+) diff --git a/_data/participants.yml b/_data/participants.yml index 36676bf..a92f819 100644 --- a/_data/participants.yml +++ b/_data/participants.yml @@ -3,3 +3,12 @@ image: path: /img/percona.svg alt: Percona Logo + company: > + Percona is a world-class open source database software, support, and services company. + The organization is dedicated to helping businesses ensure their databases — and the applications that depend on them — are secure, compliant, performant, and highly available. + For more information, visit [www.percona.com](http://www.percona.com/) + offering: > + Valkey expertise, where and when you need it. + + From day-to-day operational support to hands-on assistance for complex projects, Percona can meet your Valkey database needs. + We’ll soon be offering support, managed services, and project-based consulting, so together, we can tackle any challenge and continue to keep open source, open. \ No newline at end of file diff --git a/sass/_valkey.scss b/sass/_valkey.scss index 1f55a0b..978871d 100644 --- a/sass/_valkey.scss +++ b/sass/_valkey.scss @@ -509,6 +509,26 @@ aside { margin-top: 9px; } } +.width-limiter .participant-list > div { + margin-top: 1em; + border: none; + border-top: 1px solid $text-light; + padding-top: 1em; + h3 { + margin-bottom: 0; + } + h3 + p { + margin-top: 0; + } + .logo { + display: block; + width: 50%; + img{ + width: auto; + max-width: 100%; + } + } +} .author-social-media { ul { diff --git a/templates/participants.html b/templates/participants.html index b334580..f1d0c06 100644 --- a/templates/participants.html +++ b/templates/participants.html @@ -14,6 +14,11 @@ +

Valkey offering:

+ {{ participant.offering | markdown | safe }} +

About the company:

+ {{ participant.company | markdown | safe }} + {% endfor %} From 97ed7a68b1bf5252b3bb0064bc1cd84dc461a77c Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Thu, 5 Dec 2024 00:21:52 -0800 Subject: [PATCH 6/9] Fix IRQ ranges I'm assuming pinning 3 IRQs to CPU 12 and 5 IRQs to CPU 13 is not what was intended here. Signed-off-by: Colin Percival --- content/blog/2024-09-13-unlock-one-million-rps-part2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/blog/2024-09-13-unlock-one-million-rps-part2.md b/content/blog/2024-09-13-unlock-one-million-rps-part2.md index 765ea52..a111c99 100644 --- a/content/blog/2024-09-13-unlock-one-million-rps-part2.md +++ b/content/blog/2024-09-13-unlock-one-million-rps-part2.md @@ -112,8 +112,8 @@ grep eth0 /proc/interrupts | awk '{print $1}' | cut -d : -f 1 ``` In our setup, lines `48` to `55` are allocated for `eth0` interrupts. Allocate one core per 4 IRQ lines: ```bash -for i in {48..50}; do echo 1000 > /proc/irq/$i/smp_affinity; done -for i in {51..55}; do echo 2000 > /proc/irq/$i/smp_affinity; done +for i in {48..51}; do echo 1000 > /proc/irq/$i/smp_affinity; done +for i in {52..55}; do echo 2000 > /proc/irq/$i/smp_affinity; done ``` Server configuration - launch the Valkey server with these minimal configurations: ```bash From 775bf800ca19cd01723d0cde2238df60f8076adf Mon Sep 17 00:00:00 2001 From: Nigel Brown Date: Wed, 11 Dec 2024 03:03:10 -0600 Subject: [PATCH 7/9] Update index.md Fixed typo showing on the front page and added a comma. Signed-off-by: Nigel Brown --- content/blog/2024-11-21-testing-the-limits/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/2024-11-21-testing-the-limits/index.md b/content/blog/2024-11-21-testing-the-limits/index.md index 3f9b6ff..07f970b 100644 --- a/content/blog/2024-11-21-testing-the-limits/index.md +++ b/content/blog/2024-11-21-testing-the-limits/index.md @@ -1,6 +1,6 @@ +++ title = "Pushing the limits of Valkey on a Raspberry Pi" -description = "While most people won't go to prodcution on a Raspberry Pi we'll cover how to thoroughly performance test Valkey to understand how it works in production." +description = "While most people won't go to production on a Raspberry Pi, we'll cover how to thoroughly performance test Valkey to understand how it works in production." date= 2024-11-21 01:01:01 authors= ["dtaivpp"] +++ From 900d124beb9160445f0adeef4ed78a48577ea6ab Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Fri, 13 Dec 2024 09:56:55 -0700 Subject: [PATCH 8/9] removes outdated note about changing the ssg Signed-off-by: Kyle J. Davis --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 056379a..cc7009e 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,6 @@ This repo contains the source for the valkey.io website (build scripts, template, blog posts, stylesheets, etc.). The build integrates content from [`valkey-io/valkey-doc`](https://github.com/valkey-io/valkey-doc) and the commands definitions from [`valkey-io/valkey`](https://github.com/valkey-io/valkey-doc) (see [Build Locally](#build-locally) below for more details). -**Note**: The site is currently in transition to a new static site generator. The current production website is built from branch `jekyll-version` but will be built from `main` in the near future. - ## Contributing We welcome contributions! Please see our [CONTRIBUTING](CONTRIBUTING.md) page to learn more about how to contribute to the website. From 6fb2b82e4bb1cd8e88ce77984b4045f2b92433dd Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Fri, 13 Dec 2024 10:11:17 -0700 Subject: [PATCH 9/9] adds upcloud Signed-off-by: Kyle J. Davis --- _data/participants.yml | 15 ++++++++++++++- static/img/upcloud.svg | 1 + 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 static/img/upcloud.svg diff --git a/_data/participants.yml b/_data/participants.yml index a92f819..f014aaf 100644 --- a/_data/participants.yml +++ b/_data/participants.yml @@ -11,4 +11,17 @@ Valkey expertise, where and when you need it. From day-to-day operational support to hands-on assistance for complex projects, Percona can meet your Valkey database needs. - We’ll soon be offering support, managed services, and project-based consulting, so together, we can tackle any challenge and continue to keep open source, open. \ No newline at end of file + We’ll soon be offering support, managed services, and project-based consulting, so together, we can tackle any challenge and continue to keep open source, open. + +- name: UpCloud + link: https://upcloud.com/valkey + image: + path: /img/upcloud.svg + alt: UpCloud Logo + company: > + UpCloud is a leading European cloud provider with a global platform spanning four continents and 13 data centres. + Founded in 2012 and headquartered in Helsinki, Finland, our international team ensures uninterrupted services with a 100% SLA, empowering businesses worldwide to thrive with our reliable, cloud-native product portfolio. + offering: > + Valkey on UpCloud simplifies database management with a fully managed service hosted on our GDPR-compliant cloud. + Enjoy seamless deployment, expert maintenance, and high performance with minimal downtime. + Backed by UpCloud’s global reach, Valkey ensures reliability and scalability, freeing developers to focus on building great applications. \ No newline at end of file diff --git a/static/img/upcloud.svg b/static/img/upcloud.svg new file mode 100644 index 0000000..3b1cff4 --- /dev/null +++ b/static/img/upcloud.svg @@ -0,0 +1 @@ + \ No newline at end of file