3 ms·
> February 11, 2009 Not that threading is perfect. But really, if you're doing anything intensive, you should be switching to background job + polling, anyway.
by steveklabnik 16y ago
> February 11, 2009
Not that threading is perfect. But really, if you're doing anything intensive, you should be switching to background job + polling, anyway. You don't want to starve your mongrels/unicorn workers!
This isn't to say that your background job wouldn't have concurrency... but it doesn't need the whole Rails environment.
Ruby threading has changed a lot since 2009. Still not perfect, but Rubinius is supposed to be removing the GIL...