For this the key would be to eliminate serialization and deserialization between steps in the pipeline.