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

            bvan Brian Van Klaveren created issue -
            bvan Brian Van Klaveren made changes -
            Field Original Value New Value
            Link This issue relates to DM-14747 [ DM-14747 ]
            bvan Brian Van Klaveren made changes -
            Risk Score 0
            tjenness Tim Jenness made changes -
            Remote Link This issue links to "Page (Confluence)" [ 32321 ]
            tjenness Tim Jenness made changes -
            Resolution Done [ 10000 ]
            Status To Do [ 10001 ] Won't Fix [ 10405 ]

              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.