saayam-for-all / ml

ML based micro service that uses historical data stored on AWS S3 and real time data to come up with real time responses.
0 stars 0 forks source link

Fraud detection support - repeated submission of help requests #2

Open RaoBhethanabotla opened 2 months ago

RaoBhethanabotla commented 2 months ago

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.

shubhamnarkhede commented 2 months ago

High-Level Requirements Document

Version: 1.0

  1. Introduction

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.

  1. Functional Requirements

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

  1. Non-Functional Requirements

3.1 Performance

3.2 Scalability

3.3 Reliability

3.4 Security

3.5 Compliance