how to design a online judgement system like leetcode

– 1. user table for service
– 2. problem service, might be problem and solution and user’s solution
– 3. slave worker
– 4. socket for when the code compile finish, we will need to notice user, benchmark setting for runtime
API building.
–5. submit code is post operation, dispatch jobs for workers and notice
web socket consistant connenction

– core service: what users can do in the website?
submit code, get result, profile, problem, solution, and submission as well.

distribute system for worker? like even loop and thread pool stuff. Load balance..