The Web Traffic Anomaly Detector is a Ruby on Rails application designed to monitor web traffic logs and detect anomalies such as high traffic from a single IP address or unusual request patterns. The project aims to help identify potential issues like bot attacks, unauthorized access, or other irregular activities in web server traffic. WIP
Objective: Implement anomaly detection logic and set up background jobs for real-time analysis.
Tasks:
Create Anomaly Model:
Generate an Anomaly model to store detected anomalies.
Implement Detection Logic:
Develop a service class (e.g., AnomalyDetector) to analyze logs and detect traffic anomalies.
Set Up Background Jobs:
Integrate Sidekiq to handle log processing and anomaly detection asynchronously.
Schedule Detection Jobs:
Configure jobs to run at regular intervals, analyzing incoming logs for anomalies.
Testing:
Write unit tests for anomaly detection and background job functionality.
Completion Criteria:
Anomaly detection is fully implemented and runs in the background.
Objective: Implement anomaly detection logic and set up background jobs for real-time analysis.
Tasks:
Create Anomaly Model: Generate an Anomaly model to store detected anomalies. Implement Detection Logic: Develop a service class (e.g., AnomalyDetector) to analyze logs and detect traffic anomalies. Set Up Background Jobs: Integrate Sidekiq to handle log processing and anomaly detection asynchronously. Schedule Detection Jobs: Configure jobs to run at regular intervals, analyzing incoming logs for anomalies. Testing:
Write unit tests for anomaly detection and background job functionality. Completion Criteria:
Anomaly detection is fully implemented and runs in the background.