Vitess is a database clustering system for horizontal scaling of MySQL. (by vitessio)

Vitess Alternatives

Similar projects and alternatives to vitess

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better vitess alternative or higher similarity.

Suggest an alternative to vitess

Reviews and mentions

Posts with mentions or reviews of vitess. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-16.
  • Transition to FAANG Interviews
    1 project | | 28 Nov 2021
    GitHub pretty much did that. They use Vitess to scale MySQL.
  • LFX mentorship @ Vitess
    1 project | | 18 Nov 2021
    This summer I was fortunate enough to be selected as linux foundation mentee for Vitess which is a CNCF graduated project. According to
  • PlanetScale Is Now GA
    4 projects | | 16 Nov 2021
    - gh-ost

    I authored the original schema change tool, oak-online-alter-table, which is no longer supported, but thankfully I did invest some time in documenting how it works. Similarly, I co-designed and was the main author for gh-ost,, as part of the database infrastructure team at GitHub. We developed gh-ost because the existing schema change tools could not cope with our particular workloads. Read this engineering blog: to get better sense of what gh-ost is and how it works. I in particular suggest reading these:






    At PlanetScale I also integrated VReplication into the Online DDL flow. This comment is far too short to explain how VReplication works, but thankfully we again have some docs:

    - (and really see entire page, there's comparison between the different tools)


    - or see this self tracking issue:

    Not to leave you with only a bunch of reading material, I'll answer some questions here:

    > Can you elaborate? How? Do they run on another servers? Or are they waiting on a queue change waiting to be applied? If they run on different servers, what they run there, since AFAIK the migration is only DDL, there's no data?

    The way all schema change tools mentioned above work is by creating a shadow aka ghost table on the same primary server where your original table is located. By carefully both copying data from original table as well as tracking ongoing changes to the table (whether by utilizing triggers or by tailing the binary logs), and using different techniques to mitigate conflicts between the two, the tools populate the shadow table with up-to-date data from your original table.

    This can take a long time, and requires an extra amount of space to accommodate the shadow table (both time and space are also required by "natural" ALTER TABLE implementations in DBs I'm aware of).

    With non-trigger solutions, such as gh-ost and VReplication, the tooling have almost ocmplete control over the pace. Given load on the primary server or given increasing replication lag, they can choose to throttle or completely halt execution, to resume later on when load has subsided. We have used this technique specifically at GitHub to run the largest migrations on our busiest tables at any time of the week, including at peak traffic, and this has show to pose little to no impact to production. Again, these techniques are universally used today by almost all large scale MySQL players, including Facebook, Shopify, Slack, etc.

    > who will throttle, the migration? But what is the migration? Let's use my example: a column type change requires a table rewrite. So the table rewrite will throttle, i.e. slow down? But where is this table rewrite running, on the main server (apparently not) or on a shadow server (apparently either since migrations have no data)? Actually you mention "when your production traffic gets too high". What is "high", can you quantify?

    The tool (or Vitess if you will, or PlanetScale in our discussion) will throttle based on continuously collecting metrics. The single most important metric is replication lag, and we found that it predicts load more than any other matric, by far. We throttle at 1sec replication lag. A secondary metric is the number of concurrent executing threads on the primary; this is mroe improtant for pt-online-schema-change, but for gh-ost and VReplication, given their nature of single-thread writes, we found that the metric is not very important to throttle on. It is also trickier since the threshold to throttle at depends on your time of day, particular expected workload etc.

    > We run customers that do dozens to thousands of transactions per second. Is this high enough?

    The tooling are known to work well with these transaction rates. VReplication and gh-ost will add one more transaction at a time (well, two really, but 2nd one is book-keeping and so low volume that we can neglect it); the transactions are intentionally kept small so as to not overload the transaction log or the MVCC mechanism; rule of thumb is to only copy 100 rows at a time, so exepect possibly millions of sequential such small transaction on a billion row table.

    > Will their migrations ever run, or will wait for very long periods of time, maybe forever?

    Some times, if the load is so very high, migrations will throttle more. At other times, they will push as fast as they can while still keeping to low replication lag threshold. In my experience a gh-ost or vreplication migration is normally good to run even on the busiest times. If a database system is such that it _always_ has substantial replication lag, such that a migration cannot complete in a timely manner, then I'd say the database system is beyond its own capacity anyway, and should be optimized/sharded/whatever.

    > How is this possible? Where the migration is running, then? A shadow table, shadow server... none?

    So I already mentioned the ghost table. And then, SELECTs are non blocking on the original table.

    > What's cut-over?

    Cut-over is what we call the final step of the migration: flipping the tables. Specifically, moving away your original table, and renaming the ghost table in its place. This requires a metadata lock, and is the single most critical part of the schema migration, for any tooling involved. This is where something as to give. Tooling such as gh-ost and pt-online-schema-change acquire a metadata lock such that queries are blocked momentarily, until cut-over is complete. With very high load the app will feel it. With extremely high load the database may not be able to (or may not be configured to) accommodate so many blocked queries, and app will see rejections. For low volume load apps may not even notice.

    I hope this helps. Obviously this comment cannot accommodate so much more, but hopefully the documentation links I provided are of help.

  • Encrypting Postgres Data at Rest in Kubernetes
    2 projects | | 31 Oct 2021
    I'm hoping these kinds of policies continue to be phased out.

    The Kubernetes world has changed a lot in the past few years in ways that make databases-in-k8s more appealing. Such as:

    - Kubernetes "eating the world", meaning some teams may not even have good options for databases outside k8s (particularly onprem).

    - Infrastructure-as-code being more prevalent. Since you already have to use k8s manifests for the rest of your app, adding another IaC tool to set up RDS may be undesirable.

    - The rise of microservices, where companies may have hundreds of services that need their own separate data stores (many which don't see high enough traffic to justify the cost of a managed database service).

    - Excellent options like the bitnami helm charts: or apparently Vitess (haven't used it myself):

    Obviously if the use-case is a few huge, highly-tuned, super-critical databases, managed database services are perfect for that. But IMO a blanket ban might be restricting adoption of some more modern development practices.

  • Comparing AWS's RDS and PlanetScale
    1 project | | 5 Oct 2021
    This offering really isn't apples to apples. It would be better compared against AWS Aurora or
  • How to Deploy a Python Django Application using PlanetScale and Koyeb Serverless Platform
    2 projects | | 10 Sep 2021
    git clone ~/vitess cp -r ~/vitess/support/django/custom_db_backends ./
  • Which databases do you hate the least at scale?
    1 project | | 6 Sep 2021
    I can't say I loved it, but it worked extremely well. I haven't been working on that network in about 5 years. I hear they're finally out growing that setup and are looking to migrate to Vitess.
  • Moving away from MySQL, evaluating alternatives, picking a winner for our needs
    1 project | | 10 Aug 2021
  • Steps to build Database System from sratch?
    4 projects | | 10 Aug 2021
    The query parser based on Vitess:
  • According to a survey by Red Hat, 80% of customers run databases in Kubernetes
    1 project | | 28 Jul 2021
  • The Database Ruins All Good Ideas
    3 projects | | 17 Jul 2021
    >Each tier is either easy to reason about scaling out horizontally except for the database.

    Vitess [1], A database clustering system for horizontal scaling of MySQL, or Planetscale [2] which is the SaaS version. Of course everything is good on paper until you run into edge cases. But I am convinced within this decade scaling problem or hassle will be a thing of the past for 95% of us.



  • We're writing a 100% compatible drop in MySQL replacement in pure golang. That means copying all of MySQL's dumbest decisions
    2 projects | | 21 Jun 2021
    Yes, our parser and server is forked from
  • Better JSON in Postgres with PostgreSQL 14
    1 project | | 1 Jun 2021
    >but what does mysql do better than postgres

    Not MySQL itself but something like Vitess [1].


  • An early look at Postgres 14 performance and monitoring improvements
    4 projects | | 22 May 2021
    Vitess for PostgreSQL will probably just be... Vitess.

    The concepts behind Vitess are sufficiently general to simply apply them to PostgreSQL now that PostgreSQL has logical replication. In some ways it can be even better due to things like replication slots being a good fit for these sorts of architectures.

    The work to port Vitess to PostgreSQL is quite substantial however. Here is a ticket tracking the required tasks at a high level:

  • PlanetScale – The Database or Developers
    1 project | | 18 May 2021
    How's that related? This is a commercial managed version of Vitesse - which is an open-source system for horizontally scaling MySQL:


Basic vitess repo stats
7 days ago

vitessio/vitess is an open source project licensed under Apache License 2.0 which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote Go jobs at our new job board There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.