Supporting Time-Critical Event Processing In Grids And Clouds