#amara

/

      • ehazlett
        nicholasreville: no
      • nicholasreville
        ehazlett: do we know what caused it?
      • ehazlett
        nicholasreville: i think we have some long running queries that API clients hit
      • nicholasreville: we had K, T, and some others all hitting the API at once
      • nicholasreville
        ehazlett: are we able to throttle that in some way so that we're not vulnerable?
      • ehazlett
        nicholasreville: once those queries finish things usually come back
      • nicholasreville: well we've talked about it before and didn't want to throttle -- T didn't like the idea
      • nicholasreville: what i did today is add capacity
      • nicholasreville
        is there anything else we can do to be more robust?
      • even 10 minutes like that in the middle of the day can be very bad
      • ehazlett
        nicholasreville: no because our customers don't run on a schedule
      • nicholasreville: sometimes it's 10am sometimes it's 5p
      • nicholasreville
        ehazlett: we can't add capacity on the fly? or could we throttle some of our customers but not all?
      • ehazlett
        nicholasreville: that's what i did (add capacity)
      • nicholasreville
        ehazlett: i mean, can we add capacity without having that period of downtime before it gets added
      • like can we add it instantly / automatically as the load increases before we get timeouts?
      • ehazlett
        nicholasreville: yeah i mean right now it was about 5 min to bring up new servers
      • nicholasreville: if we new when they were going to hit it we could pre-emptively add servers
      • nicholasreville
        it's not feasible to have something that detect when queries are high and adds capacity automatically?
      • ehazlett
        nicholasreville: well they are detected which is why i scale
      • nicholasreville: the problem is they hit at once
      • nicholasreville
        ehazlett: can we just have a total request limit and reject requests if we are exceeding that level?
      • i would rather reject API requests than have 5-10 minutes of downtime once in a while
      • ehazlett
        nicholasreville: i'm going to dive into it to see if i can find a pattern to trigger
      • nicholasreville
        k, that would be great
      • nicholasreville has quit
      • nicholasreville joined the channel
      • sjl
        all: back
      • all: call?
      • bendk
        sounds good to me
      • jumping on skype
      • deanjansen
        sjl: bendk janeted ehazlett nicholasreville Skype sounds good
      • sjl
        works for me
      • ehazlett
        deanjansen: works for me
      • janeted
        sjl https://unisubs.sifterapp.com/issues/2334 - ticket that just needs merge
      • ehazlett
        all: brb
      • all: back
      • nicholasreville has quit
      • nicholasreville joined the channel
      • deanjansen
        sjl: just got testing feedback from cogi – will you have a moment to review it before you take off today? I'd like to get any followup questions to them before end of day
      • sjl: see you just responded
      • sjl
        deanjansen: so look at that before other tickets?
      • I think they've given us all they can
      • deanjansen
        sjl: this should be considered a blocker
      • sjl: and since it'll take coordination w/ them, it's prob good to take care of asap
      • sjl
        ok, make a ticket and set it as critical I guess
      • deanjansen
        sjl: ok
      • sjl
        janeted: I have no idea on the billing thing, it seems like the migrations have run. I'll look deeper into it after I take care of this cogi stuff
      • janeted
        ok thanks sjl
      • sjl
        janeted: actually the URL maggie mentioned as erroring out seems to work now
      • janeted: is it possible the migrations got run at some point since the last time someone checked it was broken?
      • janeted
        I suppose anything is possible
      • i don't do that stuff
      • sjl
        heh
      • janeted
        anyway - it should have worked so you can mark as fixed again
      • sjl
        well, it looks like the last time someone saw it error was 3 days ago, maybe it's been fixed now
      • janeted
        and can just retest it - it was all fine on the demos and locally before
      • sjl
        yeah I'll mark it as fixed, we've been deploying staging off and on so there's a good chance it was just the migrations
      • deanjansen: ah ok, I think I see the problem (or at least A problem)
      • deanjansen
        sjl: cool
      • sjl
        deanjansen: are we trying to maintain backwards compatibility at the API level, or are we having partners update their code?
      • deanjansen: basically the "language" parameter is now called "language_code"
      • deanjansen: so we can either have them send "language_code" or we can make our API accept both
      • deanjansen
        sjl: I think we should maintain backwards compatibility, if it's not weird/crazy – we haven't really done anything to have them prep to update their API calls
      • sjl
        yeah
      • oh nevermind, it has nothing to do with that, it's just a bug.
      • all: deploying staging
      • unisub-jenkins-b
        Project unisubs-staging build #1981: STILL FAILING in 9 min 59 sec: http://dev.universalsubtitles.org:8888/job/unis...
      • Steve Losh: Update integration repo.
      • sjl
        deanjansen: fixed the bug, I also emailed vietor and cced you and the others
      • deanjansen
        sjl: awesome – thanks for getting that out so quick
      • sjl
        yeah, luckily it was pretty easy since they gave us all the info to duplicate the request
      • deanjansen
        sjl: cool
      • ehazlett
        all: brb
      • bendk has quit
      • all
      • all: back
      • maggie_s joined the channel
      • sjl
        all: heading out -- bass lesson tonight. migrations are still going strong, I'll peek in on them when I get back just to be sure
      • maggie_s
        sjl: later!
      • ehazlett
        all: heading out ; later
      • maggie_s
        ehazlett: later!
      • melinath has quit
      • melinath joined the channel
      • all: out for a bit, brb in about half an hour
      • janeted has quit