Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run/compile cooldown #46

Open
4 tasks
nionata opened this issue May 31, 2020 · 1 comment
Open
4 tasks

Run/compile cooldown #46

nionata opened this issue May 31, 2020 · 1 comment
Assignees
Labels
backend This involves working with the server enhancement New feature or request frontend This issue is related to the client folder
Milestone

Comments

@nionata
Copy link
Member

nionata commented May 31, 2020

We need to implement some sort of compile cool down. We don't want students spam clicking the run button and flooding the compile server w/ redundant requests. Here is an example of how leetcode limits their remote code execution:

Screen Shot 2020-05-31 at 10 05 24 AM

This could be very simple and lead to a robust solution with the help of #6

Additionally, we need the client to limit the number of requests it sends.

Backend

  • Check the last student submission for a time threshold and/or a workspace diff

Frontend

  • Render an error message when trying to compile within the cool down
  • Render an error message when trying to compile the same code as last time
  • Have a request counter - if it hits the counter log an err message / try again
@nionata nionata added the frontend This issue is related to the client folder label May 31, 2020
@nionata nionata added this to the 0.3 milestone May 31, 2020
@nionata nionata modified the milestones: 0.3, 1.0 May 31, 2020
@nionata nionata added the MVP Minimum viable product label May 31, 2020
@nionata nionata removed the frontend This issue is related to the client folder label Jun 7, 2020
@nionata nionata modified the milestones: 1.0, 0.4 Jun 9, 2020
@nionata nionata added backend This involves working with the server frontend This issue is related to the client folder enhancement New feature or request and removed MVP Minimum viable product labels Jul 7, 2020
@nionata nionata self-assigned this Jul 9, 2020
@nionata nionata modified the milestones: 0.4, 0.5 Jul 21, 2020
@nionata nionata modified the milestones: 0.5, 0.6 Aug 3, 2020
@nionata nionata modified the milestones: 0.6, 0.7 Sep 2, 2020
@nionata nionata assigned rennemannd and unassigned nionata Sep 2, 2020
@rennemannd
Copy link
Contributor

This is good to get done quickly, I'll get on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This involves working with the server enhancement New feature or request frontend This issue is related to the client folder
Projects
None yet
Development

No branches or pull requests

2 participants