Adaptive On-the-Fly Changes in Distributed Processing Pipelines