Explain how you would optimize a data pipeline that is failing to meet its SLA due to bottlenecked ingestion rates.