How does the vpl plugin handle two Jail Servers?

Re: How does the vpl plugin handle two Jail Servers?

by Juan Carlos Rodríguez-del-Pino -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi Douglas,
The system splits tasks between the servers.

For each task, the selection of the execution server is as follow
1) If there are servers online then one is preselected randomly. If a server was marked offline 5 or more minutes ago, it's considered already online for this preselection.
1.1) If the preselected server is found offline the server is marked as offline and repeats step 1. If the preselected server is found overloaded repeats step 1.
2) If all online servers have been preselected then all servers, online or not, are sequentially preselected again.
3) If no server can be selected a message is shown to the user.

- Notice that after preselecting a server, it is checked to know if it is or not online and if it is overloaded.

Best regards,
Juan Carlos.