[Mongrel] mongrel thread safety and global variables
zedshaw at zedshaw.com
Sat Sep 2 08:16:14 EDT 2006
On Sat, 2006-09-02 at 17:00 +0530, hemant wrote:
> Yes...its a multithreaded and supposed to server request flawlessly.
> BTW, as a quick check...i wrote a ruby program to fetch data for some
> 10000 iterations and and append it to a CSV file...and didn't get a
> single data mangling error.
> Next step, I will try 100 simultaneous threads, fetching the data and
> see if there is a mis-match.
And randomize it. Ruby's threads work fairly predictably so without a
random short think time to mix things up you won't get good results.
Zed A. Shaw
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
More information about the Mongrel-users