2009/1/15 Slava Pestov <[email protected]>: > Hi Paul, > > What you're looking for is Factor's concurrency library. For example, > using the concurrency.combinators vocab, you can do
Thanks. I had found that, but I was concerned that the co-operative threading might mean that blocking web requests could block my application. > Note that Factor's threads are co-operative, however they can execute > I/O concurrently because under the hood everything uses your operating > system's non-blocking I/O API (kqueue on *BSD, epoll on Linux, IOCP on > Windows). Indeed, concatenative.org and factorcode.org can handle many > concurrent requests this way. Yes, I worked that out in the end. It looks like my other message to the list didn't make it, but my problem was that my web service (written in Python) had a bug in it that meant it was single-threading, and *that* was where my delays were coming from. Score one for Factor :-) > Have fun, I am! Thanks, Paul. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
