Is it bad practice to run gh-ost on a replica?
- Vorherrschende Sprache
- Go
- Sterne
- 13.6k
- Forks
- 1.4k
- Ø Merge
- 2 Std. 31 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Hi,
I was having this discussion with someone from our SRE team who believe gh-ost should not be running on one of the replicas in our mysql cluster. But after searching around I couldn't find any explicit guidance on that.
I thought running gh-ost on the replica that's also generating the RBR replication log that gh-ost is tracking would skip a network hop and get the replication data to the gh-ost even faster. Further more, this is a replica that's not taking production traffic normally (it's our fallback read-only replica).
Is there any additional requirement we should know about to decide whether to run gh-ost on a replica or not other than the common-sense load/resource sharing considerations?
Thanks for open-sourcing gh-ost. We've been liking the tool a lot! :-)
Beitragsleitfaden
Rechercherichtung
Überprüfe das Verhalten von gh-ost, wenn es auf einem MySQL-Replikat ausgeführt wird, einschließlich des Replikats, das das RBR-Replikationsprotokoll erzeugt, und der Fallback-Rolle read-only. Dokumentiere, ob dieses Setup unterstützt wird und welche Anforderungen über die gemeinsame Nutzung von Last und Ressourcen hinaus bestehen; die Aufgabe ist abgeschlossen, wenn die Maintainer eine eindeutige Anleitung bereitstellen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- mysql
- Bereich
- databases
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100