in reply to Re^3: Why are people not using POE?
in thread Why are people not using POE?

I don't know of a single system which uses cooperative multi-threading

well, what happens is that "cooperative multi-threading" is not the usual name for this kind of aplications, but I am sure you will know about squid, qmail or the X server just to name a few.

Replies are listed 'Best First'.
Re^5: Why are people not using POE?
by samtregar (Abbot) on Jun 10, 2005 at 21:54 UTC
    You're telling me those applications use non-preemptive threading systems? I highly doubt that. They might be select()-based or polling, but that doesn't make them multi-threaded just because they handle multiple tasks simultaneously.

    Let's not play semantic games here - threads and tasks are not the same things!

    -sam

      You'll notice that I said "multi-(task|thread)ing" originally. Cooperative multi-threading libraries do exist, and I do know of a couple systems build using them, but cooperative multi-tasking, in the form of event-driven state machines are much more common.

      BTW, how many requests per second does your "really high-performance" pre-forked server handle?

        You'll notice that I said "multi-(task|thread)ing" originally.

        Yup, I did. I thought it sounded dumb considering that "cooperative multi-threading" is basically extinct and hardly applicable to high-performance servers.

        BTW, how many requests per second does your "really high-performance" pre-forked server handle?

        I don't know off the top of my head. But why ask me? Most of the websites on the internet today use Apache, and thus a pre-forked process model. Ask Amazon or Ticketmaster how they're doing under load, they're both Apache/mod_perl users last I heard.

        -sam