Runtime Optimization And Load Shedding In MavStream: Design And Implementation