passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
1k stars 462 forks source link

Scaling and Securing Passport: Enhancing Infrastructure for High-Impact Growth #2392

Open erichfi opened 7 months ago

erichfi commented 7 months ago

Scaling and Securing Passport: Enhancing Infrastructure for High-Impact Growth

Overview

This milestone focuses on enhancing the security measures and scaling the infrastructure of our project to handle increased load efficiently. The timeline allocated for this phase is from April 25th to May 7th, totaling 19 Dev Days.

Revised Tasks and Priorities

Automating Data Sync

  1. 2353: Automate the synchronization process to enhance reliability and timeliness of data exchanges.

Monitoring Enhancements

  1. 2402: Ensure robust monitoring to detect disruptions or performance issues.

  2. 2228: Update and streamline alarm systems to improve responsiveness and relevance.

  3. 2404: Set up monitoring for all scheduled tasks to ensure they run as expected without failures.

  4. 2403: Implement detailed database performance monitoring to anticipate and mitigate potential issues.

Database Model Changes

  1. 2412: Change to db models for data models.

Security and Access Management

  1. 2183: Address identity and access management errors to maintain system integrity.

Comprehensive Testing

  1. 2405: Conduct thorough testing to ensure all components function seamlessly together.

Resource Management

  1. 2406: Improve resource tracking and cost management through systematic tagging.

Load Testing

Future Considerations

These tasks are critical for long-term strategic goals but are not prioritized in the current milestone due to either complexity or lower immediate impact:

Strategic Focus

The focus remains on leveraging the 80/20 principle to prioritize tasks that offer the most significant impact on security and scalability with minimal resource expenditure. The immediate goal is to ensure the infrastructure is robust enough to handle anticipated traffic surges without compromising security or performance.

Expected Outcomes

This updated milestone draft aims to reflect the current priorities and strategic adjustments necessary for successful project execution, with a clear path outlined for future enhancements and optimizations.

erichfi commented 7 months ago

Next Steps:

nutrina commented 7 months ago

@erichfi we have prioritised the list and created issues.

So in the order of priorities we have the following list:

Monitoring

Also, as part of each ticket, update this Notion to reflect the latest state: https://www.notion.so/gitcoin/Passport-Monitors-PD-Alarms-444bfbe603d146ecbdd54211e1646957 The Notion page should provide an overview of the monitoring topic.

End-to-end testing

Tags

erichfi commented 7 months ago

Prio

Top priority https://github.com/gitcoinco/passport/issues/2402 https://github.com/gitcoinco/passport/issues/2228 https://github.com/gitcoinco/passport/issues/2404 https://github.com/gitcoinco/passport/issues/2403 OSS

https://github.com/gitcoinco/passport/issues/2183 https://github.com/gitcoinco/passport/issues/2405 https://github.com/gitcoinco/passport/issues/2406

Tim Prio: Load Testing Then rest of backlog

erichfi commented 6 months ago

Aligned to not inlcude https://github.com/gitcoinco/passport/issues/2406, https://github.com/gitcoinco/passport/issues/2403, https://github.com/gitcoinco/passport/issues/2405, https://github.com/gitcoinco/passport/issues/2409

nutrina commented 6 months ago

Putting https://github.com/gitcoinco/passport/issues/2402 back into the backlog for now. The current work is merge but it is not finalised yet.

nutrina commented 6 months ago

Open topics for next infra week:

  1. finalise https://github.com/gitcoinco/passport/issues/2402
  2. https://github.com/gitcoinco/passport/issues/2470
  3. https://github.com/gitcoinco/passport/issues/2471
  4. https://github.com/gitcoinco/passport/issues/2472
  5. https://github.com/gitcoinco/passport/issues/2473
  6. https://github.com/gitcoinco/passport/issues/2474
  7. https://github.com/gitcoinco/passport/issues/2475