On Jun 3, 1:19 am, [EMAIL PROTECTED] wrote:
> On Jun 2, 12:41 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > On Jun 2, 7:15 pm, Michael Ströder <[EMAIL PROTECTED]> wrote:
>
> > Here are benchmarks for FreeBSD 6.2, amd64
>
> > packet_size x y
> > 0499.57 1114.54
> >10
On Jun 2, 7:15 pm, Michael Ströder <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > To benchmark this I used a simple tcp server which writes a small
> > (16k)
> > string to the client and closes the connection.
>
> Just a general note: When benchmarking such a network service it would
> b
On Jun 2, 7:09 pm, [EMAIL PROTECTED] wrote:
> On May 31, 9:13 pm, Rhamphoryncus <[EMAIL PROTECTED]> wrote:
>
> > On May 30, 2:40 pm, [EMAIL PROTECTED] wrote:
>
> > > Hi, everybody!
>
> > > I wrote a useful class ThreadPoolingMixIn which can be used to create
> > > fast thread-based servers. This mi
):
"""Mix-in class to handle requests in a thread pool.
The pool grows and thrinks depending on load.
For instance, a threadpooling TCP server class is created as
follows:
class ThreadPoolingUDPServer(ThreadPoolingMixIn, TCPServer): pass
""&
s created as
follows:
class ThreadPoolingUDPServer(ThreadPoolingMixIn, UDPServer):
pass
"""
__author__ = 'Pavel Uvarov <[EMAIL PROTECTED]>'
def init_thread_pool(self, min_workers = 5,
max_workers = 100, min_spare_workers = 5):