ojudge

A competitive programming judging platform written in OCaml
git clone git://git.laack.co/ojudge.git
Log | Files | Refs | README

arch.txt (514B)


      1 architecture
      2 ============
      3 
      4 each submission runs in its own container. 
      5 
      6 bind mounted directories into the container should have least privileges.
      7 
      8 the follwing are bind mounted in:
      9 
     10 - /code:ro
     11 - /inputs:ro
     12 - /outputs:rw
     13 
     14 containers are responsible for:
     15 
     16 - building the program
     17 - executing the program
     18 - saving the outputs
     19 
     20 containers don't know the correct answers. 
     21 
     22 containers have a timeout for total time to stop excessive build times and handle any other transient issues that may occur within the container.