Accelerating Component-Based Dataflow Middleware With Adaptivity And Heterogeneity