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

First Cloud Computing Contribution #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shweta10101
Copy link

Issue: No Indexing on MongoDB Collections
Problem: MongoDB collections might become slower as data grows. Indexing can greatly improve query performance, especially in cloud environments with larger datasets.
Solution: Add indexing to the Todo and User models to ensure efficient querying

Issue: Lack of Connection Pooling and Retry Mechanism
Problem: In cloud environments, databases may experience temporary downtime. The current connection code does not handle retries or use connection pooling.
Solution: Implement a retry mechanism and enable connection pooling by configuring the MongoClient in database.js.

Lack of Connection Pooling and Retry Mechanism
Problem: In cloud environments, databases may experience temporary downtime. The current connection code does not handle retries or use connection pooling.
Solution: Implement a retry mechanism and enable connection pooling by configuring the MongoClient in database.js.
No Indexing on MongoDB Collections
Problem: MongoDB collections might become slower as data grows. Indexing can greatly improve query performance, especially in cloud environments with larger datasets.
Solution: Add indexing to the Todo and User models to ensure efficient querying.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant