MySQL infrastructure testing automation at GitHub
githubengineering.com
MySQL infrastructure testing automation at GitHub
1–10 of 19 posts
Re: MySQL infrastructure testing automation at GitHub
#2If Tom and/or Shlomi are reading this: you mention taking multiple logical backups per day. What benefit does this bring versus just having one per day and doing a point-in-time restore using binlogs? Is this just a tradeoff between time taken for a restore and storage you're willing to dedicate to backups?
Disclaimer: I work on Facebook's MySQL backup and restore system (https://code.facebook.com/posts/1007323976059780/continuous-...)
Re: MySQL infrastructure testing automation at GitHub
#3Super interesting post. Would love to read more detail about their backup and restore infrastructure. If Tom and/or Shlomi are reading this: you mention taking multiple logical backups per day. What benefit does this bring versus just having one per day and doing a point-in-time restore using binlogs? Is this just a tradeoff between time taken for a restore and storage you're willing to dedicate to backups? Disclaime…
When an engineer loads logical backup data, it loads into a non-production private zone where the engineer has access to the data, and can then make informed decisions on whether there is need to re-apply data changes (due to bug, due to need to review historical data, etc.).
This of course has the advantage of quicker restores (only need a single table), and this happens to cover the vast majority of cases. This doesn't cover the case where we need to restore consistent data for two or more different tables.
Re: MySQL infrastructure testing automation at GitHub
#4Re: MySQL infrastructure testing automation at GitHub
#5Great post! Do you use semi-synchronous or asynchronous replication? If you use asynchronous replication, when a server crashes and this triggers the automated failover, do you lose the last transactions?
Re: MySQL infrastructure testing automation at GitHub
#6Re: MySQL infrastructure testing automation at GitHub
#7What's the difference between gh-ost and the Percona tool? ( pt-online-schema-change ) Also did you try to use a recent version of MySQL that supports live migration?
Re: MySQL infrastructure testing automation at GitHub
#8Great post! Do you use semi-synchronous or asynchronous replication? If you use asynchronous replication, when a server crashes and this triggers the automated failover, do you lose the last transactions?
It looks like the answer to my question is here: https://githubengineering.com/orchestrator-github/
Tangentially, in that blog post I was impressed by the list of companies running orchestrator.
> orchestrator is actively maintained by GitHub. It manages automated failovers at GitHub. It manages automated failovers at Booking.com, one of the largest MySQL setups on this planet. It manages automated failovers as part of Vitess. These are some names I’m free to disclose, and browsing the issues shows a few more users running failovers in production. Otherwise, it is used for topology management and visualization in a large number of companies such as Square, Etsy, Sendgrid, Godaddy and more.
Re: MySQL infrastructure testing automation at GitHub
#9Earlier quoted context omitted.
It looks like the answer to my question is here: https://githubengineering.com/orchestrator-github/
The author of Orchestrator also goes into questions like that at http://code.openark.org/blog/mysql/mysql-high-availability-t... Tangentially, in that blog post I was impressed by the list of companies running orchestrator. > orchestrator is actively maintained by GitHub. It manages automated failovers at GitHub. It manages automated failovers at Booking.com, one of the largest MySQL setups on this planet. It manages…
Re: MySQL infrastructure testing automation at GitHub
#10Can anyone at GitHub get a copy of my private repo(s) because I'm out if they can.
"Move fast and take a copy of the referrers table."