Ruby Forum Ruby on Rails > Muthythreading in ruby

Posted by Kaja Mohaideen (kajamohaideen_2003)
on 14.08.2008 10:48
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?



Regards
Kaja Mohaideen.A
Trichy
Posted by Mukund (Guest)
on 14.08.2008 13:06
(Received via mailing list)
Ruby is an interpreted language and as such it has a limit on the
number of threads the virtual machine can handle.  I think it is
limited to 1024.  For the volume of data you are talking about, you
are better of digging into a complied language like C.


On Aug 14, 1:48 pm, Kaja Mohaideen <rails-mailing-l...@andreas-s.net>