Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-62

Split listenbrainz app into 2 flask apps / 3 uwsgi processes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • None
    • None

      We should split the listenbrainz server into two flask apps. One for the website and one for the API. This way we can return json error pages in the app and get a correct domain name on the api app using url_for

      We should run the api app in two uwsgi processes, and point /submit to one of them, and everything else to the other. This way if submits start causing slowdowns in app responsiveness, people can still do gets from the other uwsgi worker

            iliekcomputers Param Singh
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package