Optimization in notifications