#metabrainz

/

      • Freso
        zas: Got an e-mail there. Thanks! :)
      • !m zas
      • BrainzBot
        You're doing good work, zas!
      • D4RK-PH0ENiX has quit
      • opatel99 has quit
      • vidhan has quit
      • adhawkins has quit
      • adhawkins joined the channel
      • D4RK-PH0ENiX joined the channel
      • JesseW joined the channel
      • kyan joined the channel
      • Jormangeud has quit
      • Jormangeud joined the channel
      • Jormangeud has quit
      • Jormangeud joined the channel
      • Lotheric_ joined the channel
      • JesseW has quit
      • Lotheric has quit
      • CallerNo6 has quit
      • RJ2 has quit
      • CallerNo6 joined the channel
      • RJ2 joined the channel
      • JesseW joined the channel
      • MBJenkins
        Project musicbrainz-server_schema-change-2016-q2 build #100: SUCCESS in 18 min: http://ci.musicbrainz.org/job/musicbrainz-serve...
      • Gentlecat
        bitmap: should I run `./admin/GenerateSQLScripts.pl admin/sql/caa` as well?
      • it's updating other files as well, not only dropindexes
      • not sure if I should include them
      • bitmap
        yeah, sorry, run it for both dirs
      • you can trust whatever changes it makes too
      • (I hope)
      • Gentlecat
        haha 👌
      • Jormangeud has quit
      • Jormangeud joined the channel
      • Jormangeud has quit
      • Jormangeud joined the channel
      • kartikgupta0909 joined the channel
      • justharshal joined the channel
      • typhoe- joined the channel
      • typhoe has quit
      • typhoe- is now known as typhoe
      • vidhan joined the channel
      • Nyanko-sensei joined the channel
      • ariscop has quit
      • D4RK-PH0ENiX has quit
      • Jormangeud has quit
      • diana_olhovyk joined the channel
      • Jormangeud joined the channel
      • Jormangeud has quit
      • Jormangeud joined the channel
      • Mineo joined the channel
      • ariscop joined the channel
      • bitmap, zas: is there a way to see how many requests per second musicbrainz frontend gets? can't quite find the right graph at http://stats.musicbrainz.org/
      • JonnyJD_ has quit
      • yeeeargh joined the channel
      • JesseW has quit
      • Nyanko-sensei has quit
      • D4RK-PH0ENiX joined the channel
      • Mineo has quit
      • justharshal has quit
      • vidhan has quit
      • chirlu
      • No idea why the total number is minus 15 million at the moment, but the numbers for the individual frontends seem plausible.
      • Jormangeud has quit
      • Jormangeud joined the channel
      • Jormangeud has quit
      • Jormangeud joined the channel
      • zas
      • total value
      • http://stats.musicbrainz.org/dashboard/db/web-s... is correct too, though influx based graphs need more work, still few issues with them
      • basically around 500 per second on all servers, and up to ~600 during peak hours
      • HTTP 200 response are around 200-250 per second, the rest is errors (mainly rate limiter)
      • armalcolite joined the channel
      • UmkaDK_ joined the channel
      • UmkaDK has quit
      • zag
        MusicBrainz webservice is having real troubles recently
      • getting mutiple errors on picard, xbmc and my site imports
      • You guys should really move to a API key system and manage traffic better imo
      • getting about a 15% fail rate in my tests over last week
      • Freso
        CatQuest: It was reosarevok ho used the acronym though :)
      • zag: Did you just volunteer to write that? :D
      • ruaok
        hey, zag: thanks for that vote of no confidence. we appreciate non constructive criticism.
      • do you you not think that we're trying hard to make the service as good as it can be?
      • -you
      • alastairp: part printed. coming to mob or should I bring it tomorrow?
      • I love how people offer us SEO packages that will allow us to dominate the google search rankings.
      • clearly they have never actually done a search on "musicbrainz"
      • most web sites could only wish to be as integrated as MB is with Google.
      • vidhan joined the channel
      • zag
        I actually run a very similar web service myself so can offer help
      • json is best
      • api keys are essential
      • commercial apps should pay
      • large apps should work with the api to improve it (headphones, picard, kodi/xbmc)
      • Freso
        zag: JSON is already available.
      • zag: Commercial apps should already pay.
      • zag
        but monitoring is the key, looking at demand, and server resrouces
      • Freso
        One of the main Picard developers is the (employed) MusicBrainz system administrator.
      • zag
        I think most people use the xml at the moment, as last time I checked the json was not officialyl stable
      • freso picard has many errors for me
      • more recently, hence the discusssion now
      • ruaok
        and we're a non profit, so we offer use of our API to the public.
      • Freso
        I'm just pointed out that several of the things you mention are already there.
      • *pointing
      • ruaok
        what errors are you getting, zag?
      • Freso
        Which means that you likely have not done your homework.
      • ruaok
        have you filed tickets for the errors you're getting?
      • zag
        I know very well, I am hoping to help
      • I assumed the web service just gives errors due to rate limiter
      • but a rate limiter is not a solution really, thats just hiding the problem (imo)
      • ruaok
        we have so many idiotic users (see headphones) that pummel us with stupid requests.
      • zag
        I'd be interested in statistics of api requests, if you have any
      • ruaok
        and I am not interested int giving half of our traffic to mass pirates.
      • zag
        I serve 12 million a night from my api
      • 5-10% cpu on a xeon SSD web server
      • ruaok
        20 million requests a day.
      • zag
        ok yes thats a lot indeed thanks
      • ruaok
        and most of those require 1 or more database requests.
      • complicated database requests at that.
      • really, all the ideas you're throwing around are things that have been considered.
      • zag
        I used a mysql analyzer on mine to improve the indexing and db requests, found some slow queiries that were killing the server
      • doing it live, is useful at peak times as bigger problems are magnified
      • ruaok
        which site do you run?
      • zag
        TheAudioDB, and formerly TheTVDB and TheMovieDB
      • handles 100's of millions of requests a day between them
      • Have a lot of experience of this, and I see you guys coudl benefit from that
      • Freso
        And has nowhere near the complexity that MB does...
      • zag
        Yes very true, but api's dont always have to be complex ;)
      • for example XBMC/Kodi just needs to lookup the MBID
      • Freso
        No, but the SQL queries that WS calls do do.
      • zag
        and thats probably responsible for 25% of your api hits
      • Freso
        zag: With no ?inc's?
      • ruaok
        ah perfect.
      • you can handle all the useless requests from headphones and xmbc that will never really contribute to us anyway.
      • we'll handle the requests for people who are more serious about their metadata.
      • zas
      • zag
        for things like headphones, if you had an API key, just revoke it if they use too much and give others priority
      • force them to use private mirrors
      • zas
        ruaok: about mail, not much issues it seems, or we didn't notice them yet (no report?)
      • ruaok
        which is what we do anyway, minus having to police api keys.
      • zag
        Sorry if im coming over demanding, i know how this is from the admin side hehe
      • ruaok
        zas: i haven't seen any. maybe because mail is broken? :) :)
      • zas
        ruaok: yes, maybe ;)
      • Freso
        zag: FWIW, VLC runs their own MB mirror which they have VLC query against instead of pinging the main mb.o.
      • zag
        yeh used to use it myself, but i the address must have changed
      • ruaok
        and who knows how many millions of requests they serve per day.
      • LordSputnik
        zag: Is any of the code for your webservices open source? A lot of what you said is what I've had in mind for the BookBrainz web service
      • Freso
        zag: IMO, any large scale project should consider doing the same. Both to lessen the load on MB's servers, but also so that they're able to monitor their users' usage better.
      • zag
        another thing would be to have a nicely updated mirror server all the time, I know we ran a MB mirror but gave up as it was so out of date each release
      • Freso
        zag: And they stated that the mirror moved on Twitter.
      • ruaok
        zag: we have about 400 mirrors around the world that are up to date.