Re: [Fwd: State threads relicensed]

From: Joe Cooper <joe@dont-contact.us>
Date: Mon, 05 Mar 2001 19:33:22 -0600

That was kinda the impression I got too, but I'm a bit slow on the
uptake sometimes, so I thought I'd toss it to you guys.

I have read all of the docs, and I do know that it will not give us a
multi-CPU advantage. The suggested method of dealing with multiple
processors is to spawn multiple processes. ;-) I reckon that could
already be done with Squid. (Though maybe it might help to figure out
how they manage to handle multiple processes listening on a single port/ip.)

The main appeal I saw with it was the multi-platform nature of it (runs
on almost everything, including the Wins and the BSDs). But if there is
no gain in performance or ease of programming, then there is no gain,
since Squid is already very multi-platform.

As for real threads and state threads...it's considered a 'no-no'.

Robert Collins wrote:

> AFAICT Squid has a very similar internal model already (which is why
> writing plugins for squid is hard by comparision with apache), with the
> central state machine driving everything. I couldn't tell if the state
> threads library would leverage _real_ threads _as well_ to get multi
> processing benefits. If it does, then it might be a goer, or perhaps a
> source of inspirations for getting multi cpu performance out of squid.
>
> Rob
>
>
>
>> -----Original Message-----
>> From: Joe Cooper [mailto:joe@swelltech.com]
>> Sent: Tuesday, March 06, 2001 11:13 AM
>> To: Squid Dev
>> Subject: [Fwd: State threads relicensed]
>>
>>
>> Perhaps it's not suitable for Squid, but if it were, SGI's
>> State Threads
>> is now license compatible with Squid.
>>
>> State Threads is a cross-platform (based on Netscape's
>> Portable Runtime)
>> state machine library that has an API that looks to the
>> programmer like
>> a threads library. It had some pretty impressive results for
>> Apache (of
>> course, Apache isn't exactly a screamer normally, so maybe that's not
>> saying much). Anyway, it might be a nice choice for implementing the
>> Squid 3 networking layer.
>>
>> Feel free to kick me if I'm misguided.
>>
>> -------- Original Message --------
>> Subject: State threads relicensed
>> Date: Mon, 5 Mar 2001 15:18:34 -0800 (PST)
>> From: mja@trudge.engr.sgi.com (Mike Abbott)
>> To: state-threads@oss.sgi.com
>>
>> SGI has relicensed its open source State Threads library. Formerly
>> under the Netscape Public License (NPL), version 1.1 of the library is
>> now dual licensed under the Mozilla Public License (MPL)
>> version 1.1 or
>> the GNU General Public License (GPL) version 2 or later.
>> http://oss.sgi.com/projects/state-threads/
>> --
>> Michael J. Abbott mja@sgi.com
>> http://reality.sgi.com/mja/
>>
>> --
>> Joe Cooper <joe@swelltech.com>
>> Affordable Web Caching Proxy Appliances
>> http://www.swelltech.com
>>
>>

-- 
                                   --
                      Joe Cooper <joe@swelltech.com>
                  Affordable Web Caching Proxy Appliances
                         http://www.swelltech.com
Received on Mon Mar 05 2001 - 18:31:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:36 MST