Guest post by Alkin TezuysalVitess maintainer

On behalf of the Vitess maintainers, I am pleased to announce the general availability of Vitess 11.

Major Themes #  

In this release, Vitess Maintainers have made significant progress in several areas, including Benchmarking, VTAdmin, Schema Tracking, Online DDL, and Performance improvements. While Schema Tracking is experimental, we’re very excited to have Gen4 planner evolving as well. 

Please take a moment to review the Release Notes. Please read them carefully and report any issues via GitHub.

Schema Tracking #

Until now certain queries required that VTGate have authoritative column information provided to it separately even though the information already exists at the individual database level. Schema tracking communicates schema changes at the database level to VTGate so that a manual step is no longer required to keep VTGate’s view of the underlying schemas in sync. This allows the query planner to plan more queries and improves our compatibility with MySQL.

Link to enable the feature.

Schema Management # 

Online DDL continues to evolve on top of version 10. New and noteworthy:

Performance Optimizations  #

This new version of Vitess sports shorter request latencies and significantly reduced CPU and memory usage when serving queries at scale, thanks to the newly upgraded GRPC and ProtoBuf dependencies. We developed a custom Protocol Buffers compiler that allowed us to benefit from the performance improvements in the latest versions of GRPC without sacrificing serialization speed.

VTAdmin #

Vitess 10.0 introduced an experimental multi-cluster admin API and web UI called VTAdmin which has continued to improve, with an emphasis on managing Resharding  workflows. For further documentation on running and configuring VTAdmin, see the README, documentation tree, and example configuration.

Deploying the vtadmin-api and vtadmin-web components is completely opt-in. If you’re interested in trying it out and providing early feedback, come find us in #feat-vtadmin in the Vitess slack. Note that VTAdmin relies on the new VtctldServer API, so you must be running the new grpc-vtctld service on your vtctlds in order to use it.

VReplication #

The v2 CLI flows are now the default. We are still terming them as experimental until we see more extensive usage. v1 workflows can still be run by passing the -v1 parameter to MoveTables and Reshard. Local examples have been updated to use the v2 flows.

CPU utilization and memory footprint have been improved both as part of the performance optimizations mentioned above and VReplication-specific improvements.

Over the last few months, several at-scale MoveTables, Resharding and VStream API deployments have been run successfully. Some edge cases exposed bugs which were fixed and showed the need for additional metrics or functionality which were added.

Benchmarking #

Since the last release, the continuous benchmarking tool of Vitess: arewefastyet, has finished its main development phase and has been announced through a blog post. The post contains a detailed description of arewefastyet’s implementation and UI.

We can now visualize the performance improvement between versions 10.0.0 and 11.0.0 on Vitess arewefastyet’s website. The full comparison can be found here.

Please download Vitess 11 and try it out!