Adblock breaks this site

xen dev blog

Discussion in 'Spam Forum' started by Sythe, Dec 29, 2015.

  1. Sythe

    Sythe Join our discord

    test

    Administrator Village Drunk

    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi
    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.
     
  2. Jon

    Jon Jon passed away July 20, 2016. May he rest in peace.
    $200 USD Donor New Cancer Warrior Heavenly

    Joined:
    Jun 11, 2011
    Posts:
    1,745
    Referrals:
    3
    Sythe Gold:
    11
    420 yolo swag blaze it fuck the popo legalize it anyone got some chips Two Factor Authentication User Easter 2016 Valentine's Day 2016 Community Development Team Member Tier 1 Prizebox Halloween 2015 Christmas 2015
    xen dev blog

    Lol. LMK if you need any HW, I have some laying around not in the DC yet.
     
  3. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    xen dev blog

    Sythe, if you could ballpark your % completion on the project, where would it sit?
     
  4. Sythe

    Sythe Join our discord

    test

    Administrator Village Drunk

    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi
    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.
     
  5. Laurie

    Laurie
    Retired Sectional Moderator Pirate $50 USD Donor

    Joined:
    Nov 26, 2007
    Posts:
    7,630
    Referrals:
    0
    Sythe Gold:
    1,197
    M
    Two Factor Authentication User SytheSteamer
    xen dev blog

    sounds gud m8 p cool
     
  6. Pure

    Pure Legend

    Joined:
    Sep 13, 2015
    Posts:
    12,212
    Referrals:
    105
    Sythe Gold:
    1,171
    xen dev blog

    Richard, will we still have this in xf?

    [​IMG]
     
  7. Astro

    Astro Legend
    Retired Administrator Cool Cat Gracious Donor

    Joined:
    May 9, 2014
    Posts:
    43,630
    Referrals:
    56
    Sythe Gold:
    9,160
    Former OMM Gracious (3) Detective In Memory of Jon Official LoL Rank Verifier Verified Diamond STEVE (3) Poképedia
    Steam Account Verifier Sythe RSPS Player DIAF Twitter Paper Trading Competition Participant Facebook Promoter Two Factor Authentication User SytheSteamer
    xen dev blog

    Donors? Surely there will be a minimum amount, right?
     
  8. Darkest Dream

    Darkest Dream I prefer to have my nightmares with open eyes.
    Darkest Dream Donor

    Joined:
    Jun 26, 2013
    Posts:
    7,457
    Referrals:
    1
    Sythe Gold:
    544
    Vouch Thread:
    Click Here
    Discord Unique ID:
    624783392625524785
    Sythe RSPS Player Two Factor Authentication User In Memory of Jon Christmas 2015 Doge Halloween 2013 Sythe's 10th Anniversary Off Topic Participant Gohan has AIDS
    Heidy Lawrence
    xen dev blog

    Not currently, I'm sure its something that can/will be added.
     
  9. Sythe

    Sythe Join our discord

    test

    Administrator Village Drunk

    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi
    xen dev blog

    Looking into porting existing 2fa to xen 2fa
     
  10. Superman

    Superman The only user w/ 4 funranks bc I got things done.
    Cool Cat Nick Secret Asian Man Mudkips

    Joined:
    May 17, 2009
    Posts:
    19,919
    Referrals:
    11
    Sythe Gold:
    1,680
    Detective Two Factor Authentication User Doge
    xen dev blog

    Whoooo
     
  11. Sythe

    Sythe Join our discord

    test

    Administrator Village Drunk

    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi
    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.
     
  12. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    xen dev blog

    $501

    fagt
     
  13. Astro

    Astro Legend
    Retired Administrator Cool Cat Gracious Donor

    Joined:
    May 9, 2014
    Posts:
    43,630
    Referrals:
    56
    Sythe Gold:
    9,160
    Former OMM Gracious (3) Detective In Memory of Jon Official LoL Rank Verifier Verified Diamond STEVE (3) Poképedia
    Steam Account Verifier Sythe RSPS Player DIAF Twitter Paper Trading Competition Participant Facebook Promoter Two Factor Authentication User SytheSteamer
    xen dev blog

    Fite me
     
  14. Sythe

    Sythe Join our discord

    test

    Administrator Village Drunk

    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi
    xen dev blog

    I've now written and tested a php 5 extension to protect xen's 2fa seeds
     
  15. LoLAccounts

    LoLAccounts In the kingdom of glass everything is transparent, and there is no place to hide a dark heart.
    Banned

    Joined:
    Apr 22, 2014
    Posts:
    1,181
    Referrals:
    4
    Sythe Gold:
    81
    xen dev blog

    5char
     
  16. MohtasaUnique

    MohtasaUnique Grand Master
    Retired Global Moderator

    Joined:
    Sep 1, 2007
    Posts:
    6,681
    Referrals:
    2
    Sythe Gold:
    690
    Discord Unique ID:
    158831078964985856
    Discord Username:
    Tony#2235
    xen dev blog

    And ex-staff? c:
     
  17. Xier0

    Xier0 Legend
    $5 USD Donor New

    Joined:
    Jan 16, 2013
    Posts:
    13,001
    Referrals:
    2
    Sythe Gold:
    20
    Sythe's 10th Anniversary DIAF Lawrence Member of the Month Winner Gohan has AIDS
    xen dev blog

    And $5 donors?
     
  18. Sythe

    Sythe Join our discord

    test

    Administrator Village Drunk

    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi
    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
     
  19. Sythe

    Sythe Join our discord

    test

    Administrator Village Drunk

    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi
    xen dev blog

    turns out it is extremely annoying to debug a php extension lol
     
  20. Pure

    Pure Legend

    Joined:
    Sep 13, 2015
    Posts:
    12,212
    Referrals:
    105
    Sythe Gold:
    1,171
    xen dev blog

    you could almost say it's... bugging you?
     
< MAKE KOS GREAT AGAIN | Degenerate fucks >


 
 
Adblock breaks this site