Giter Club home page Giter Club logo

launchtestrun's People

Contributors

drdab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

d-e-f-e-a-t

launchtestrun's Issues

Add forensic traceback

It may be a good idea to add a forensic identifier to each submission and logging to identify the source of bugs and malicious attacks on a LaunchTestRun server. This should consist of a general log containing the IP address, time uploaded, code sent, execution time and stdin/out/err output from the code and compiler. That way, the sources of issues can be pinpointed faster by the sysadmin.

Add delay timer

A timer should be added to force termination of program after 2 seconds if the program does not execute, whether it has finished or not. That way, if a program is too slow or keeps waiting for standard input, it won't eat up CPU time for long.

Use HashMap for problem mapping

If a HashMap was to be used to map the problems complementing the ArrayList current used, it would be more efficient to reference problems. (Efficiency will go from O(n) worst-case to O(1) to access each problem).

Request Limiter

A good idea would be to add a subsystem that limits the number code submission requests, to prevent exhaustion of resources. This system should grab the IP of the user submitting the code, and if it hasn't seen that IP yet, then save that IP to a list that is cleared every minute. Each time that upload is done again, it should increment the count of uploads that IP has done. Once the user has attempted to submit more than 6 uploads per minute, then uploads from that IP will be temporarily blocked until the next minute. Something like that could also be used, with a JSessionID cookie instead, for a "xx users online" counter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.