Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔆 Add Cascading deletes on the repo and add Rate limiting to API #2177

Open
nahomderese opened this issue Aug 26, 2024 · 0 comments
Open
Assignees
Labels
ASTU-Backend-G2 Blog backend team

Comments

@nahomderese
Copy link

Description

To enhance the robustness and scalability of our application, we need to implement two critical features: cascading deletes in the repository and rate limiting for the API.

Objectives:

Cascading Deletes:

Implement cascading delete functionality across the repository to ensure that when a primary entity is deleted, all related entities are automatically deleted as well. This will prevent orphaned records and maintain data integrity.

Rate Limiting:

Introduce rate limiting to the API to protect against abuse and ensure fair usage of resources. This will involve setting limits on the number of requests that can be made within a specific time frame, thereby preventing potential denial-of-service attacks and improving overall API performance.

Expected Outcome:

Cascading Deletes:

All associated data will be consistently and automatically cleaned up when a parent entity is removed, reducing the risk of data inconsistencies.

Rate Limiting:

The API will be more resilient to high traffic and potential misuse, providing a more reliable and stable service to all users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASTU-Backend-G2 Blog backend team
Projects
Status: No status
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant