Age | Commit message (Collapse) | Author |
|
|
|
|
|
This is largely taken from other sites and looks reasonable for now.
Also added links to the admin page from the
monitor/user_data/grade_user.
|
|
|
|
Changed the server so we use a pool of servers managed with a Queue of
available servers. The XML/RPC client is also changed to handle
connection failures gracefully. This is because XML/RPC cannot have
more than 2 connections at a given time, so if there is an error, we
wait for a random amount of time and try again. This allows us to
handle fairly large loads nicely.
|
|
|
|
This is useful when you are forced to host the app on a URL like
host.org/foo/exam and not as host.org/exam as you would want. Change
the URL_ROOT setting to "/foo" in the above case for this to work.
|
|
- the SERVER_PORTS is now a list of ports and when you run
python_server.py it will run as many servers as desired.
- python_server.py now will create multiple servers via
multiprocessing.
- the xmlrpc_clients.py is changed to deal with these multiple servers.
This allows us to handle many incoming requests.
These changes allow us to run the online test for many users. We had
over 400 simultaneous users and a total of about 650 users using the app
with these modifications.
|
|
- Timeout for signal.alarm is an integer.
- The total_seconds method on timedelta is new to 2.7 and doesn't work
on older versions.
|
|
Also updated documentation.
|
|
|
|
|
|
This application allows us to create questions via the admin interface.
The questions are proper programming questions and one enters test cases
for each question. The user logs in and submits the answer which is
checked. The app is rather simple now but does work.
|