vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.61k stars 2.1k forks source link

Question: Vitess on ARM #9797

Open timkang85 opened 2 years ago

timkang85 commented 2 years ago

Question

I have a question on how to build arm vitess image, and if is there any caveat to use vitess on arm? 

Also, I've found that etcd on arm is unstable, is this still?
frouioui commented 2 years ago

I believe @vmg is building/running Vitess on an ARM CPU.

The version 3.5 of etcd is supported but considered as unstable on Linux ARM machines:

etcd is guaranteed to build, may be lightly tested (or not), and so it should be considered unstable. (https://etcd.io/docs/v3.5/op-guide/supported-platform/)

vmg commented 2 years ago

Nope, not at all. I don't own any ARM CPUs. Vitess isn't tested on ARM on CI either. Running ARM Vitess in production seems like a risky proposition at this point, since nobody is doing it.

@timkang85: if you have a specific interest on running Vitess on ARM, you'll probably need to contribute changes to the project, as bugs will surely be found. The ideal first step would be a CI pass (maybe just for the unit tests) that runs on ARM.

derekperkins commented 3 months ago

Following up here, etcd now has first class support for ARM64, and now Percona has added support. https://www.percona.com/blog/percona-server-for-mysql-and-percona-xtrabackup-now-available-for-arm64/

martin-g commented 3 weeks ago

As a CNCF project you could use runs-on: openeuler-6cpu-14gb in your Github Actions workflows. The jobs will be executed on ARM64 VMs with openEuler Linux distro (YUM/DNF based, like RHEL).