Here are a few points that you can follow to optimize the performance of the data pipeline:
Resort to simultaneous data flow instead of sequential execution.
Use methods to ensure the quality of data at different stages in the pipeline.
Try to build pipelines that can be reused for different applications.
When building data pipelines, create documentation so that other team members can understand the code easily.