Skip to content

Conversation

@polesye
Copy link
Contributor

@polesye polesye commented Aug 28, 2013

As a researcher, I would like an indication of whether students still have a video playing on their screen so that I have a better idea of whether they are getting the educational benefit of watching the lecture.

Reviewers:
@valera-rozuvan
@nedbat

@ghost ghost assigned valera-rozuvan Aug 28, 2013
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment about what these function do and why they are necessary. To a person who never has anything to do with heartbeats this will be helpful.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comments.

@valera-rozuvan
Copy link
Contributor

@nedbat From the point of view of technical execution - I see no further problems with the PR. However, from the point of view of architecture - what do you think?

This PR introduces a heartbeat functionality that will trigger logging (every 30 seconds) for every playing video on the edX site. Are you fine with this?

@Lyla-Fischer What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is why you shouldn't try to line up the values in an object: this should have been a one-line change.

@nedbat
Copy link
Contributor

nedbat commented Aug 28, 2013

I don't know much about the logging we do now: I would have thought that video-start, video-end, and navigate-to-page would have been enough to collect the info you want without a heartbeat like this.

@cpennington Can you weigh in?

@cpennington
Copy link
Contributor

Operationally, this makes me pretty uncomfortable. I would much rather just capture when the user starts a video, stops the video, or leaves the page. What information would the heartbeat capture that logging those events wouldn't?

@Lyla-Fischer
Copy link

Can we capture leaving the page? I thought that was like a crash, and that heartbeats was the only way around that.

@polesye
Copy link
Contributor Author

polesye commented Aug 28, 2013

Yes, we can do that.

@cpennington
Copy link
Contributor

http://stackoverflow.com/questions/1704533/intercept-page-exit-event (for instance). Many pages do this to warn you if you have un-saved changes.

@Lyla-Fischer
Copy link

sigh okay then. Let's close this pull request, and log a page exit. I'll add a story to JIRA.

@Lyla-Fischer
Copy link

https://edx-wiki.atlassian.net/browse/BLD-298

I am kind of suspicious that any arbitrary action can be done on page exit, as that would make it possible to cause an unescapable infinite loop, which seems both bad and exploitable, and I am sure that I am not the first one who thought of this. I leave it to all y'all to figure it out though. I just want the researchers to be able to tell if a student stopped watching a video.

@polesye polesye closed this Aug 29, 2013
@ichuang
Copy link
Contributor

ichuang commented Sep 3, 2013

Incidentally, note that the new formulaequationinput type is causing server hits to happen for virtually every keystroke as students type in equations. We're seeing input_ajax events from this filling up our tracking logs, happening every second or so, when students are working on such problems.

@polesye polesye deleted the anton/video_add_heartbeats branch February 25, 2014 12:51
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request May 20, 2016
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request May 20, 2016
…board-course-order

Mod course order on dashboard openedx#815
mtyaka referenced this pull request in open-craft/openedx-platform Jul 17, 2017
…g-name

Fix problem-builder egg name in custom requirements.
jfavellar90 added a commit to eduNEXT/edx-platform that referenced this pull request Aug 23, 2018
Restricted enrolled users reports GDPR
Sujeet1379 pushed a commit to chandrudev/edx-platform that referenced this pull request Nov 17, 2022
DanielVZ96 referenced this pull request in open-craft/openedx-platform Jan 31, 2024
…ntends (#815)

This commit made it so frontend services were started
as dependencies whenever LMS (or other services) were started.
The increased number of Docker containers is causing resource
depletion for at least one developer.
As a short-term fix, we will revert this commit.

This reverts most of commit 54fb57f,
although it leaves in place the changes to docs/workflow.rst, as they
are still relevant.
It also keeps ADR #4, but amends it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants