• Log in or sign up for an account here: https://www.sythe.org/login

xen dev blog

Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
xen dev blog
Percona have some nice stuff, looks like you get the XtraDB backup for free as well which is pretty cool.

Just curious did you try MySQL, MariaDB then this? (which is just mysql with clustering).

Looking more at it the Galera cluster looks pretty cool apart from its row level replication which I've had performance issues with in the past. Will be interesting to see how it plays out.




ello m8



Yeah I tried ndbcluster first then mariadb with galera which doesn't work very well, then percona (which is a modified version of mariadb with gelera) which does work. However it uses optimisitic cluster-wide row locking which causes repeated and problematic deadlocks in write-heavy applications such as forums. Xenforo isn't designed with this in mind (it's not designed to run large forums to begin with). In the end I patched xenforo with a master/slave adapter which will send write request off to a dedicated member of the cluster and read requests pass through to the local cluster instance. This is in effect an emulated master-slave setup now. Not ideal but it's what worked in the end.

Digital point uses ndbcluster but you need about 100GB of ram across all your machines to run it, since the entire DB is stored in ram. It also uses obscene amounts of data even when idle so you need your own rack in a DC with gigabit fibre between the servers.

All in all I've found percona to be the nicest cluster even though it has the obvious drawback of opportunistic locking.

As to XtraDB hot backup: I've always just used a straight replication off to the (geographically separate) backup server and then run a cron'd dump which pauses replication, makes a dated and encrypted backup then resume replication it. You can run traditional replication off any cluster node, so I'll just pick one of the read nodes and use it as a master to the backup slave.

In my mind this is preferable to hotbackups because it doesn't impact the performance of any active member of the cluster. It's a completely passive realtime backup system.
 
420 yolo swag blaze it fuck the popo legalize it anyone got some chips
Two Factor Authentication User
Christmas 2015
Community Development Team Member
Easter 2016
Halloween 2015
Sythe Awards 2016 Winner
Tier 1 Prizebox
Valentine's Day 2016
xen dev blog
Yeah I tried ndbcluster first then mariadb with galera which doesn't work very well, then percona (which is a modified version of mariadb with gelera) which does work. However it uses optimisitic cluster-wide row locking which causes repeated and problematic deadlocks in write-heavy applications such as forums. Xenforo isn't designed with this in mind (it's not designed to run large forums to begin with). In the end I patched xenforo with a master/slave adapter which will send write request off to a dedicated member of the cluster and read requests pass through to the local cluster instance. This is in effect an emulated master-slave setup now. Not ideal but it's what worked in the end.

Digital point uses ndbcluster but you need about 100GB of ram across all your machines to run it, since the entire DB is stored in ram. It also uses obscene amounts of data even when idle so you need your own rack in a DC with gigabit fibre between the servers.

All in all I've found percona to be the nicest cluster even though it has the obvious drawback of opportunistic locking.

As to XtraDB hot backup: I've always just used a straight replication off to the (geographically separate) backup server and then run a cron'd dump which pauses replication, makes a dated and encrypted backup then resume replication it. You can run traditional replication off any cluster node, so I'll just pick one of the read nodes and use it as a master to the backup slave.

In my mind this is preferable to hotbackups because it doesn't impact the performance of any active member of the cluster. It's a completely passive realtime backup system.

Lol. LMK if you need any HW, I have some laying around not in the DC yet.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
xen dev blog
Sythe, if you could ballpark your % completion on the project, where would it sit?
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
xen dev blog
Sythe, if you could ballpark your % completion on the project, where would it sit?

I think I just have to finish porting the banner system then we'll open it for testing and bug reports by the whole CDT and donors.
 
xen dev blog
Richard, will we still have this in xf?

09570b44b4f483cdc193b9778329fa4a.png
 
Former OMM
Gracious
Detective
In Memory of Jon
Official LoL Rank Verifier
Verified Diamond
STEVE
Poképedia
Discord Verified
Sythe Awards 2016 Winner
Steam Account Verifier
Sythe RSPS Player
DIAF
Twitter
Paper Trading Competition Participant
Facebook Promoter
Two Factor Authentication User
SytheSteamer
xen dev blog
I think I just have to finish porting the banner system then we'll open it for testing and bug reports by the whole CDT and donors.

Donors? Surely there will be a minimum amount, right?
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
xen dev blog
Spent the morning improving xen 2fa security. I needed to port our existing 2fa over to finish the banner system because bidding requires 2fa codes. Hopefully I will have this finished by the end of today

We will incorporate an even better 2fa system to be optionally enabled (similar to duo or authy) after launch.
 
xen dev blog
xen dev blog
I think I just have to finish porting the banner system then we'll open it for testing and bug reports by the whole CDT and donors.

And ex-staff? c:
 
Clefairy
Supporting Business
Discord Voice
Jigglypuff
Hell yeah boooi
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
xen dev blog
still work to do on finishing 2fa and banner system. working on this today.

currently incorporating my php security extension into a xenforo addon to properly protect 2fa seeds
 
xen dev blog
Runescape Gamblingrunescape gambling
Back
Top