ajaynegi33 / ajaynegi33/LibraryMan-API

[IMPROVEMENT] Improve the Send Reminder Notifications 2 Days Before Book Due Date Feature

未关闭
#58 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement gssoc gssoc-ext hacktoberfest hacktoberfest-accepted level3 status: ready for dev
主要语言
Java
星标
54
派生
53
PR 合并指标
30 天内没有已合并 PR

描述

### Is this feature already requested?

- [X] I have checked "open" and "closed" issues, and this is not a duplicate.

### Problem or Missing Functionality

The system currently sends reminder notifications 2 days before the book's due date by querying the database on daily basis to check for due books. This process may involve daily database queries, which can lead to performance inefficiencies.

# **Improvement Request**
1. **Optimize Database Queries**:
- Reduce the number of queries being made to the database while fetching due books for sending reminders.

2. **Performance Enhancement**:
- Analyze the existing workflow to identify potential bottlenecks.
- Implement improvements that reduce the overall time taken to send reminders and the resource usage.

3. **Documentation**:
- Document the optimized solution clearly for future developers.
- Include details about the new logic, optimized query flow, and how it impacts performance.

### **Expected Outcome**
- Fewer database queries.
- Improved system performance, especially around the time reminders are sent.
- Well-documented changes for easier maintenance.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。