Open RaoBhethanabotla opened 4 months ago
High-Level Requirements Document
Version: 1.0
1.1 Purpose
The purpose of this document is to outline the high-level requirements for the Fraud Detection Microservice. This microservice will analyze incoming requests to detect if users are sending requests from multiple locations or making multiple requests in a short time and flag potential fraud or spam.
1.2 Scope This microservice will be a Django-based application, integrated into the existing product. It will serve as an intermediary layer before request handling, providing fraud or spam alerts for each request.
2.1 Data Integration
2.2 Feature Engineering
2.3 Detection Logic
2.4 Authentication and Authorization
2.6 Logging and Monitoring
2.7 Continuous Learning
3.1 Performance
3.2 Scalability
3.3 Reliability
3.4 Security
3.5 Compliance
A malicious user may submit too many help requests in our system in a short span to flood our system. To avoid this scenario, we will look at the number of requests a given user has submitted in a given window of time, say in the past 30 min. If he/she submits a request within that window, we will NOT allow this user to submit another request. We will reject this request asking user to submit a request after this period.