Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-14748

Add long-polling option to albuquery results with a timeout

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: dbserv, webserv
    • Labels:
      None
    • Story Points:
      4
    • Team:
      Data Access and Database

      Description

      Albuquery should allow a request to block on the availability of results, aka "long polling". That request should timeout after a few minutes, at which time it should notify the client it should try again, probably at the timescale of about 1-5 minutes.

      Fundamentally, this is done in Jersey by giving a timeout to the java future's .get(long timeout, TimeUnit units), catching that exception, and then returning an appropriate HTTP response.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bvan Brian Van Klaveren
              Watchers:
              Brian Van Klaveren, Fritz Mueller, Kenny Lo, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.