1. A method for processing data in a data processing system, wherein a first dataflow graph, is executed, the method including: receiving multiple units of work that each include one or more work elements; determining a characteristic of the first unit of work; identifying, by a component of the first dataflow graph, a second dataflow graph from multiple available dataflow graphs based on the determined characteristic, the multiple available dataflow graphs being stored in a data storage system; processing the first unit of work using the second dataflow graph; and determining one or more performance metrics associated with the processing.