Zaslat SMS: Large deviations techniques and applications