comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Server - tasking and long lived connections
Date: Sat, 15 Dec 2001 13:18:38 +0100
Date: 2001-12-15T13:18:38+01:00	[thread overview]
Message-ID: <878zc48yn5.fsf@deneb.enyo.de> (raw)
In-Reply-To: mailman.1008391382.28399.comp.lang.ada@ada.eu.org

Eric Merritt <cyberlync@yahoo.com> writes:

>  Linux threading is a bit less efficient from what I
> understand. I think it by default can handle about 512
> tasks, depending on configuration. This can be changed
> with a custom kernel but even then it starts to get
> inefficient after a certain point.

The 512 tasks limit is probably related to some address space limit,
since each task needs address space for its stack (2 MB by default
with GNU libc pthreads, IIRC).

There are several threading implementations for GNU/Linux (GNU libc,
FSU Threads, GNU Pth, GNU Pth with IBM extensions).  Some of the scale
better than others.

How many parallel connections do you want to handle?  Is data
transferred continuously?  Does your database backend support so many
client connections?

> Using processes never really crossed my mind, I tend
> not to really consider them becuase they have no real
> advantage over threads and alot of disadvantages.

There are advantages.  For example, they are more portable ac



  reply	other threads:[~2001-12-15 12:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3C1ABF3F.8CDCC8F9@worldnet.att.net>
2001-12-15  4:42 ` Server - tasking and long lived connections Eric Merritt
2001-12-15 12:18   ` Florian Weimer [this message]
2001-12-15 17:56     ` Eric Merritt
     [not found] <000001c186ac$fb7b4020$1337e5c0@STEVEN>
2001-12-17  5:17 ` Eric Merritt
     [not found] <20011215175619.80358.qmail@web13002.mail.yahoo.com>
2001-12-17  3:43 ` Steven Deller
2001-12-14 23:54 List Container Strawman 1.4 Ted Dennison
2001-12-15  2:06 ` Server - tasking and long lived connections Eric Merritt
2001-12-15  3:10   ` James Rogers
2001-12-15 12:10     ` Florian Weimer
2001-12-15 14:38   ` Larry Kilgallen
2001-12-15 16:51   ` Steve Doiel
2001-12-17  9:15   ` Thierry Lelegard
2001-12-17  9:34     ` Jean-Pierre Rosen
2001-12-17 10:16       ` Thierry Lelegard
2001-12-18  9:08         ` Jean-Pierre Rosen
2001-12-17 15:08       ` Larry Kilgallen
2001-12-17 15:39         ` Pat Rogers
2001-12-19 18:20   ` Matthew Heaney
2001-12-19 18:50     ` Eric Merritt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox