#metabrainz

/

      • zas
        Since this system is dependent on redis, i had a deeper look about redis HA, http://redis.io/topics/sentinel and http://www.veritas.com/community/blogs/configurin… gives pretty all information needd
      • 2016-04-29 12010, 2016

      • zas
        I'll see with bitmap and chirlu, how and when we can get rid of memcached, so we only have redis instances, and we'll set up things for HA/Sentinel
      • 2016-04-29 12057, 2016

      • zas
        Since such system implies more redis slaves, it would be much more scalable, and number of requests may not be much an issue
      • 2016-04-29 12044, 2016

      • yeeeargh joined the channel
      • 2016-04-29 12038, 2016

      • bitmap
        reosarevok: yeah, the timeouts are still happening constantly
      • 2016-04-29 12015, 2016

      • bitmap
        it's not just index.json it's failing to upload, metadata.xml and anything else too
      • 2016-04-29 12003, 2016

      • zas
        bitmap: failed uploads are still happening at some point, right ?
      • 2016-04-29 12036, 2016

      • zas
      • 2016-04-29 12038, 2016

      • bitmap
        right
      • 2016-04-29 12021, 2016

      • zas
        First successful attempt was 2 days after image files upload, then index.json was apparently rewritten few times
      • 2016-04-29 12047, 2016

      • bitmap
        might be multiple index events for each image
      • 2016-04-29 12019, 2016

      • zas
        Ok, makes sense
      • 2016-04-29 12007, 2016

      • zas
        We were discussing a bit about the move to NewHost (check long backlog)
      • 2016-04-29 12017, 2016

      • bitmap
        ruaok: zas: about the CAA, it needs access to the same postgres DB as musicbrainz, so it'll have to be moved with it
      • 2016-04-29 12008, 2016

      • zas
        bitmap: ok
      • 2016-04-29 12044, 2016

      • bitmap
        for Jenkins/CI stuff...my only concern about google cloud stuff is how fast it is compared to hobbes, given that MB takes 19 minutes to build already :)
      • 2016-04-29 12022, 2016

      • zas
        Ok, this is quite something to take in account, we need fast machine for CI
      • 2016-04-29 12040, 2016

      • zas
        Does it need to be moved together the rest ?
      • 2016-04-29 12056, 2016

      • bitmap
        nope, that's all self-contained
      • 2016-04-29 12008, 2016

      • zas
        Ok, i'll update the doc
      • 2016-04-29 12034, 2016

      • ruaok
        Yeah, I figured that.
      • 2016-04-29 12052, 2016

      • zas
        bitmap: about redis vs memcached, i couldn't find matching ticket if it exists already
      • 2016-04-29 12016, 2016

      • bitmap
        I don't believe a ticket was filed
      • 2016-04-29 12021, 2016

      • zas
        the main idea is to get rid of memcached, and use redis + sentinel
      • 2016-04-29 12034, 2016

      • bitmap
        yea
      • 2016-04-29 12015, 2016

      • bitmap
        chirlu had something on his sandbox to do that. apparently it was pretty easy since the memcached/redis perl modules use the same cache protocol
      • 2016-04-29 12036, 2016

      • bitmap
        s/protocol/API/
      • 2016-04-29 12039, 2016

      • zas
        Yes, i remember that, perhaps chirlu could tell us more
      • 2016-04-29 12014, 2016

      • zas
        But on the general idea we agree that this move has to be done, can we expect to do it before the NewHost move ?
      • 2016-04-29 12008, 2016

      • bitmap
        we can make that a priority if it makes $NewHostMove easier
      • 2016-04-29 12021, 2016

      • zas
        I think it will
      • 2016-04-29 12000, 2016

      • kanha has quit
      • 2016-04-29 12006, 2016

      • zas
        Since using Sentinel implies having more RO redis slaves, how mb server can benefit of this ?
      • 2016-04-29 12037, 2016

      • bitmap
        unclear, since I don't think cache latency is a bottleneck for us
      • 2016-04-29 12005, 2016

      • bitmap
        we could be caching more things than we are, though
      • 2016-04-29 12031, 2016

      • zas
        well, my main point is that we target multiplying number of requests per second by 10
      • 2016-04-29 12026, 2016

      • zas
        so it means more web servers (and more powerful), it wouldn't be wise to keep only one redis server ...
      • 2016-04-29 12043, 2016

      • bitmap
        right, makes sense
      • 2016-04-29 12016, 2016

      • zas
        We need to make the whole system far more scalable, because we target an increase of bandwidth by minimum a factor of 3 to start with, but i prefer to target a factor 10. NewHost move is the right time to rethink the whole infrastructure, identify weak points.
      • 2016-04-29 12033, 2016

      • zas
        Gateway server handles 800 reqs/s atm, that means 8k req/s at NewHost, and we are not sure it can handle it (it also means 10x log lines, 10x more disk writes, etc...)
      • 2016-04-29 12049, 2016

      • zas
        Same goes for redis server
      • 2016-04-29 12011, 2016

      • zas
        And any single server we have, like db
      • 2016-04-29 12050, 2016

      • zas
        New servers will faster, but not x10 faster
      • 2016-04-29 12010, 2016

      • zas
        Hmmm, gateway server is more like 1k req/s atm
      • 2016-04-29 12034, 2016

      • zas
        Each web server handles between 150 and 200 req/s
      • 2016-04-29 12005, 2016

      • zas
        And they are all at max reasonable load
      • 2016-04-29 12013, 2016

      • zas
        Also, the move to NewHost will be the right time to split web service and web site among different servers
      • 2016-04-29 12037, 2016

      • zas
        This is where wsN.mb.o would be a superior approach, we can use one gateway for ws, and one for the rest, and even use DNS RR
      • 2016-04-29 12018, 2016

      • kanha joined the channel
      • 2016-04-29 12029, 2016

      • MBJenkins
        Project musicbrainz-server_master build #390: SUCCESS in 18 min: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-04-29 12027, 2016

      • Gentlecat
      • 2016-04-29 12043, 2016

      • Gentlecat
        if we consider branding update on MB finished
      • 2016-04-29 12039, 2016

      • regagain joined the channel
      • 2016-04-29 12055, 2016

      • MBJenkins
        Project musicbrainz-server_master build #391: FAILURE in 3 min 56 sec: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-04-29 12037, 2016

      • bitmap
        I hate javascript
      • 2016-04-29 12041, 2016

      • draynium has quit
      • 2016-04-29 12048, 2016

      • draynium joined the channel
      • 2016-04-29 12054, 2016

      • Leftmost
        For those of you using lobes, have you been noticing timeouts from the Google Fonts API of late?
      • 2016-04-29 12038, 2016

      • jesus2099 joined the channel
      • 2016-04-29 12012, 2016

      • LordSputnik
        bitmap: what's it done now? :P
      • 2016-04-29 12034, 2016

      • bitmap
        not sure. might be my fault but I'm blaming it anyway
      • 2016-04-29 12019, 2016

      • LordSputnik
        Always a good strategy
      • 2016-04-29 12039, 2016

      • mRokita joined the channel
      • 2016-04-29 12039, 2016

      • mRokita has quit
      • 2016-04-29 12039, 2016

      • mRokita joined the channel
      • 2016-04-29 12034, 2016

      • stanislas joined the channel
      • 2016-04-29 12058, 2016

      • Gentlecat
        oh, it's another update. 6.0
      • 2016-04-29 12035, 2016

      • Gentlecat
        wonder what will break today
      • 2016-04-29 12006, 2016

      • bitmap
        hm?
      • 2016-04-29 12021, 2016

      • Gentlecat
        new node
      • 2016-04-29 12005, 2016

      • bitmap
        ah, right
      • 2016-04-29 12053, 2016

      • jesus2099 has quit
      • 2016-04-29 12032, 2016

      • Gentlecat
        wow, it works
      • 2016-04-29 12056, 2016

      • zas
        Looks like a miracle ... doesn't fit well with computer "science" ;)
      • 2016-04-29 12014, 2016

      • minteria joined the channel
      • 2016-04-29 12050, 2016

      • Gentlecat checks if it's snowing outside today
      • 2016-04-29 12036, 2016

      • bitmap
        if it is, I'm canceling my flight
      • 2016-04-29 12019, 2016

      • MBJenkins
        Yippee, build fixed!
      • 2016-04-29 12020, 2016

      • MBJenkins
        Project musicbrainz-server_master build #392: FIXED in 19 min: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-04-29 12052, 2016

      • bitmap
        if no one else wants to press the button...
      • 2016-04-29 12018, 2016

      • MBJenkins
        Project musicbrainz-server_beta build #845: ABORTED in 38 sec: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-04-29 12018, 2016

      • MBJenkins
        * Michael Wiencek: Truncate long stack traces in catalyst log
      • 2016-04-29 12019, 2016

      • MBJenkins
        * Michael Wiencek: MBS-8928: Properly display not-logged-in error
      • 2016-04-29 12019, 2016

      • MBJenkins
        * Michael Wiencek: Add missing imports
      • 2016-04-29 12020, 2016

      • MBJenkins
        * Michael Wiencek: Update yarb
      • 2016-04-29 12020, 2016

      • MBJenkins
        * Michael Wiencek: Update npm-shrinkwrap.json
      • 2016-04-29 12021, 2016

      • MBJenkins
        * Michael Wiencek: Fix ./script/compile_resources.sh tests
      • 2016-04-29 12021, 2016

      • MBJenkins
        * Michael Wiencek: Use a different bubble for each ArtistCreditEditor
      • 2016-04-29 12022, 2016

      • MBJenkins
        * Michael Wiencek: MBS-8924: Beta: pasting and/or writing on existing track AC does weird
      • 2016-04-29 12022, 2016

      • MBJenkins
        * Michael Wiencek: Revert "Use a different bubble for each ArtistCreditEditor"
      • 2016-04-29 12023, 2016

      • MBJenkins
        * Michael Wiencek: Fix ArtistCreditEditor tests again
      • 2016-04-29 12023, 2016

      • MBJenkins
        * Michael Wiencek: Fix undefined variable reference
      • 2016-04-29 12036, 2016

      • MBJenkins has quit
      • 2016-04-29 12028, 2016

      • bitmap
        ok, hopefully that was a good idea
      • 2016-04-29 12043, 2016

      • MBJenkins joined the channel
      • 2016-04-29 12016, 2016

      • Gentlecat
      • 2016-04-29 12042, 2016

      • Gentlecat
      • 2016-04-29 12004, 2016

      • Gentlecat
        their official way seems to be more clean, but I guess we'll have to rebuid it manually
      • 2016-04-29 12043, 2016

      • adamcik joined the channel
      • 2016-04-29 12008, 2016

      • zas
        If the way described in this post is less disruptive, you may give it a try. Though the official way is prolly better performance-wise.
      • 2016-04-29 12059, 2016

      • Gentlecat
        well, let me know when you have some time to try it
      • 2016-04-29 12009, 2016

      • Gentlecat
        I'll see if the first option works for now
      • 2016-04-29 12015, 2016

      • Gentlecat
        zas: oh, one other thing. how difficult would it be to set up a subdomain like beta.critiquebrainz.org and point it towards sakura?
      • 2016-04-29 12023, 2016

      • zas
        Just add a ticket for it, i'll do tomorrow, tell me in the ticket IP to point to, and if it needs anything else (https?)
      • 2016-04-29 12013, 2016

      • zas
        (insert missing "it" somewhere in the previous phrase, thanks)
      • 2016-04-29 12024, 2016

      • ZaphodBeeblebrox joined the channel
      • 2016-04-29 12024, 2016

      • ZaphodBeeblebrox has quit
      • 2016-04-29 12024, 2016

      • ZaphodBeeblebrox joined the channel
      • 2016-04-29 12012, 2016

      • CatQuest has quit
      • 2016-04-29 12038, 2016

      • LordSputnik
        Leftmost: do the new login/register pages work without JS?
      • 2016-04-29 12021, 2016

      • Gentlecat
        ok, created MBH-440 and MBH-441
      • 2016-04-29 12025, 2016

      • Leftmost
        They do not, but if we require JS for editing, why not for login/register?
      • 2016-04-29 12032, 2016

      • The_Catman has quit
      • 2016-04-29 12048, 2016

      • The_Catman joined the channel
      • 2016-04-29 12040, 2016

      • MajorLurker joined the channel
      • 2016-04-29 12005, 2016

      • Gentlecat
        bitmap: builds not working after that update?
      • 2016-04-29 12053, 2016

      • bitmap
        hmm
      • 2016-04-29 12022, 2016

      • bitmap
        did you push something that didn't build?
      • 2016-04-29 12028, 2016

      • Gentlecat
        I'm just asking. see that you aborted one :)
      • 2016-04-29 12039, 2016

      • bitmap
        oh :)
      • 2016-04-29 12055, 2016

      • bitmap
        I just aborted that intentionally so it would restart
      • 2016-04-29 12017, 2016

      • bitmap
        haven't pushed anything since
      • 2016-04-29 12047, 2016

      • bitmap
        I clicked the giant 'Install new features' button so it needed to restart
      • 2016-04-29 12029, 2016

      • LordSputnik
        Leftmost: Hmm, we should probably add a <noscript> on the registration page explaining that JS is needed
      • 2016-04-29 12045, 2016

      • LordSputnik
        added more Qs to the PR itself
      • 2016-04-29 12049, 2016

      • Leftmost
        Okay, cool.
      • 2016-04-29 12055, 2016

      • zas
        bitmap: you clicked the giant 'Install new features' button ? couldn't resist it ? ;)
      • 2016-04-29 12018, 2016

      • bitmap
        yes, temptation got a hold of me
      • 2016-04-29 12034, 2016

      • zas
        I think this is the most successful new feature of all :D
      • 2016-04-29 12020, 2016

      • zas
        We should try a big `Install new Picard` button on mb.o ;)
      • 2016-04-29 12043, 2016

      • zas
        Well, actually when we'll have a new Picard...
      • 2016-04-29 12003, 2016

      • bitmap
        yeah. I think the button itself was my favorite new feature. and now it's gone forever
      • 2016-04-29 12016, 2016

      • Leftmost
        I'll take a look this evening.
      • 2016-04-29 12027, 2016

      • Gentlecat
      • 2016-04-29 12004, 2016

      • Gentlecat
      • 2016-04-29 12011, 2016

      • bitmap
        wat
      • 2016-04-29 12052, 2016

      • Gentlecat
        "Utility to help you learn the Groovy code which can be used to define various steps."
      • 2016-04-29 12056, 2016

      • Gentlecat
        clearly working
      • 2016-04-29 12020, 2016

      • Gentlecat
        learning like never before
      • 2016-04-29 12009, 2016

      • bitmap
        maybe they're trying to tell you not to use groovy
      • 2016-04-29 12037, 2016

      • Gentlecat
        that might be it, heh
      • 2016-04-29 12030, 2016

      • The_Catman has quit
      • 2016-04-29 12029, 2016

      • regagain has quit
      • 2016-04-29 12014, 2016

      • Gentlecat
      • 2016-04-29 12033, 2016

      • Gentlecat
        (see error at the end)
      • 2016-04-29 12006, 2016

      • Gentlecat
      • 2016-04-29 12043, 2016

      • MBJenkins
        Project musicbrainz-server_master build #393: ABORTED in 1 min 0 sec: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-04-29 12022, 2016

      • bitmap
      • 2016-04-29 12030, 2016

      • ruaok is finally home
      • 2016-04-29 12001, 2016

      • bitmap
        wb