On 14.8.2008, at 11.46, Kaja Mohaideen wrote:
> we people are new team for ruby. we trying to put multithreading in
> our
> code. how is it possible? we want to read a message from queue and
> process that message parellaly and finally insert the message to the
> DB.
> Can you give me the Idea please.
>
> we want to process 7000 to 10000 message and store it to the Database
> perminute. we are trying through threads. can you please help me how
> we
> do?
For that volume, you''ll probably want something ditributed, like
beanstalkd (http://xph.us/software/beanstalkd/) or starfish
(http://rufy.com/starfish/doc/
).
//jarkko
--
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://www.railsecommerce.com
http://odesign.fi