From: konsu Date: 2006-02-09T06:08:28+09:00 Subject: Re: Sandboxing eval'd code could you elaborate a bit? are these numbers good or bad? what about memory consumption? may be i am missing something important about ruby threads, but my impression was that spawning a thread on every request is bad. konstantin "Bill Kelly" wrote in message news:08be01c62cf2$6bd84080$6442a8c0@musicbox... > From: "konsu" >> >> i have been looking for a solution to almost the same problem. but have >> not found anything yet except for a solution that uses threads. just like >> this code. which i have doubts about because creating threads in a web >> application does not seem to scale too much. > > time ruby -e '100000.times { Thread.new { }.join }' > > real 0m1.130s > user 0m1.124s > sys 0m0.008s > > > > Regards, > > Bill > > > >