is there a limit to the number of threads that ruby can run at once?

Viewed 12366

If not whats the maximum while still remaining efficient?

I'm creating 14 threads, each of which opens a list of URLs(about 500) creates a new thread for each one, which then downloads it, and adds it to a MySQL db. The MySQL pool size is set to 50.

This is a rake task in RoR.

Would this work better using Kernal#fork or some other method?

3 Answers
Related