** What This Project Does and Why It Matters** Imagine you run a cloud storage service used by thousands of people. One day, a hacker starts sending millions of requests per second to your server, crashing it for everyone. This is called a DDoS (Distributed Denial of Service) attack. I built an anomaly detection engine that watches all incoming traffic in real time, learns what normal looks like, and automatically blocks attackers before they can cause damage. How the Sliding Window Works A sliding window is like a moving snapshot of recent traffic. I used Python's deque (double-ended queue) data structure to track request timestamps over the last 60 seconds. from collections import deque import time ip_window = deque () def record_request ( ip ): now = time . time () ip_window . append ( now ) # Remove timestamps older than 60 seconds while ip_window and ip_window [ 0 ] < now - 60 : ip_window .…