Hi,
I currently upload each file one by one to a handler that reads it and then does some processing on it. Once the process if finished then the next file is uploaded.
What I would like to do is free up the handler (return sooner) and, once the file is read in, chuck it at a queue to be processed by an async. process.
The way I've done this in the past is to have a single processor thread that looks for items in the queue and then shares them out to a thread pool. I have not done this for a web project yet.
I could use this process. It's pretty sturdy and I know what I'm doing with it. I would like, however, for each session to have it's own thread processor and pool.
Is this even possible? Is there a better way?
Any advice is welcome ^_^
Thanks
Andy
What I have tried:
Currently I do run run the process async., but process each file one by one.