Open shawakash opened 1 month ago
I was thinking of running a process of language inside a container which infinitely looks for same language file in the judge folder and executes it and matches the answers and outputs and then deletes it and transmites it back to the rust process
Why not always keep 2 containers for each language on and pick up submissions to put it into a particular folder inside the container and we have a infinite process of that language running inside it which picks one file from that folder executes it checks if all the answers for a test case is write and prints the output along with status within a time bounded and memory bounded contidions whose output and stuatus is then transmitted to rust orchestrate process