Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44265

Move Bullhorns to use Server Sent Events, rather than short polling.

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Login to Sakai as an instructor.

      Add some tools to a site, Assignments or Announcements will do.

      In another browser, login as a student.

      Create an assignment as the instructor.

      As the student, you should see the alert counter has been incremented. Click on the counter and you should find the alert for the new assignment.

      Repeat with an announcement.

      The incrementation and the appearance of the alert should seem almost immediate.

      Show
      Login to Sakai as an instructor. Add some tools to a site, Assignments or Announcements will do. In another browser, login as a student. Create an assignment as the instructor. As the student, you should see the alert counter has been incremented. Click on the counter and you should find the alert for the new assignment. Repeat with an announcement. The incrementation and the appearance of the alert should seem almost immediate.

      Description

      Move Bullhorns to use Server Sent Events, rather than short polling. Short polling (polling on an interval) can result in many short lived connections to the server and most of the time those connections will be unnecessary. SSE seems the perfect fit for indeterministic delivery of events to the user's browser. Less frequent establishment of server connections, and a more immediate response for the user.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration