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. diff --git a/_data/participants.yml b/_data/participants.yml new file mode 100644 index 0000000..f014aaf --- /dev/null +++ b/_data/participants.yml @@ -0,0 +1,27 @@ +- name: Percona + link: https://learn.percona.com/percona-support-for-valkey + 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. + +- 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/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-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 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. 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 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"] +++ 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 f759670..a2e42fb 100644 --- a/sass/_valkey.scss +++ b/sass/_valkey.scss @@ -462,6 +462,74 @@ 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; + } +} +.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 { 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/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 diff --git a/templates/default.html b/templates/default.html index baff568..98fc08f 100644 --- a/templates/default.html +++ b/templates/default.html @@ -32,8 +32,9 @@
Community
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..f1d0c06 --- /dev/null +++ b/templates/participants.html @@ -0,0 +1,25 @@ +{% extends "right-aside.html" %} +{% block subhead_content%} +{% endblock subhead_content%} + +{% block main_content %} +{{ page.content | safe }} + +{% include "includes/participants-buttons.html" %} + +{% set participants = load_data(path="/_data/participants.yml") %} +
+ {% for participant in participants %} +
+ +

Valkey offering:

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

About the company:

+ {{ participant.company | markdown | safe }} + +
+ {% endfor %} +
+{% endblock main_content %} \ No newline at end of file