diff options
author | Prabhu Ramachandran | 2016-08-12 21:01:08 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2016-08-12 21:01:08 +0530 |
commit | b39eb538c08d4dd6761d6a970aadf58bde58a7ce (patch) | |
tree | 6732cb4c0f89ffc80b7b9aa60d54e2d3ff5c70f0 /.travis.yml | |
parent | 3738c8fefa8ac69508bb6daeee045c1f5ea0cb17 (diff) | |
download | online_test-b39eb538c08d4dd6761d6a970aadf58bde58a7ce.tar.gz online_test-b39eb538c08d4dd6761d6a970aadf58bde58a7ce.tar.bz2 online_test-b39eb538c08d4dd6761d6a970aadf58bde58a7ce.zip |
Use a tornado based server for the pool server.
With the previous XMLRPC based server, an XMLRPC server would respond to
a request for an available port. This does not work as the server can
only take about 2 simultaneous connections. The server pool now uses a
HTTP server via tornado which works extremely well. The django code
should not change at all as this is an internal change. This change
should make the code server far more robust and work for a very large
number of simultaneous users.
The http server also has a simple status page to indicate the current
load. This will not be correct on OSX due to limitations of the
multi-processing Queue implementation on OSX.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index d362005..5e391ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ env: # command to install dependencies install: + - pip install tornado - pip install git+https://github.com/FOSSEE/online_test.git#egg=yaksh-0.1 - pip install -q Django==$DJANGO --use-mirrors - pip install -q pytz==2016.4 @@ -21,3 +22,4 @@ before_install: # command to run tests script: - python manage.py test yaksh + - nosetests -v yaksh/tests
\ No newline at end of file |