I'm not sure if I'm approaching this the right way but I have some heavy duty photo manipulation and saving in a registration function that slows it down. I use tasks for some random CRON jobs but was wondering can I write a task and then fire it off using the Cli class to do the manipulation asynchronously?
This sounds like a job for a message queue mechanism, where the frontend inserts new assignments into the queue for background workers to pick up and process.
There are (afaik) two fuel packages floating around that provide a simple queueing mechanism using a database table, for heaver apps with lots of workers I would pick something like ZeroMQ or RabbitMQ.