# Anti-Flood & Rate Limiting Rules

> How Botlify Cloud protects your bots against spam, DoS attacks, and high traffic spikes.

**Category:** Storage & Architecture  
**URL:** https://docs.botlify.cloud/?page=rate-limits  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

## Built-in Protection Engines

      

Telegram webhooks can experience sudden surges in traffic during mass marketing campaigns or spam attacks. Botlify employs multi-tier traffic filtering:

      
        
- Per-IP & Per-User Throttling: Spammers sending more than 30 messages per second from a single chat are automatically queued or dropped.

        
- Cloudflare DDoS Shielding: High-bandwidth volumetric attacks are absorbed before reaching backend PHP workers.

        
- Memory Isolation: Memory limits (128 MB per request) prevent runaway scripts from affecting other bots on the node.
