1. A computer based method of assigning tasks to threads, comprising: matching a tuple with at least one of a task, a command processing resource, and a database command resource; and assigning said tuple to a thread for processing once said tuple is completely populated.