Zend certified PHP/Magento developer

What is the best approach to parallelize CLI tasks in PHP? I need to figure out a way to run in batches network requests, each of which spawns a subset of network workers. What should I look at? Message queues, phthreads, forking? Can anyone point me in the right direction? Thanks!