thread-pool for soap server

Robert Olson olson at mcs.anl.gov
Tue Nov 11 22:30:17 CST 2003


as I discussed with tom today, here's an initial cut at a thread pool-based 
soap server. Lightly tested, and doesn't have support for adding to the 
pool if it gets hung up with blocked connections.

This is also against an unpatched aggsisoap module. All files go in the 
hosting/pyGlobus dir.

The use of hte threadpool is triggered by adding the threadPoolSize arg to 
the Server constructor:

     server = Server.Server(8000, auth_callback = cb, threadPoolSize = 3)

--bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Server.py
Type: application/octet-stream
Size: 7530 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/ag-dev/attachments/20031111/c76be423/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AGGSISOAP.py
Type: application/octet-stream
Size: 133672 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/ag-dev/attachments/20031111/c76be423/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ThreadPoolServer.pyc
Type: application/octet-stream
Size: 3500 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/ag-dev/attachments/20031111/c76be423/attachment-0002.obj>


More information about the ag-dev mailing list