A gradient sensing middleware to handle flash flood. (August 2017)