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

[RFC] Entities required for Skill tree #2

Closed
vikhyat187 opened this issue Jun 30, 2023 · 5 comments
Closed

[RFC] Entities required for Skill tree #2

vikhyat187 opened this issue Jun 30, 2023 · 5 comments
Assignees
Labels
RFC Request for Changes

Comments

@vikhyat187
Copy link
Contributor

vikhyat187 commented Jun 30, 2023

Problem statement: We wanted to store the skill details of a user, these skills can be endorsed by other developers. An endorsement after approval from the super user gets showed on user skills.

List of Entities

  • Skill
  • Endorsements
  • EndorsersList
  • Users (already exists)
  • UserSkill Mapping

Entity relations

  • User -> Skill (1 : N) [we store it in UserSkillMapping]
  • Endorsement -> skill (1 : 1) [skill Id stored as fk in endorsement table]
    Skill_tree
@vikhyat187 vikhyat187 self-assigned this Jun 30, 2023
@vikhyat187 vikhyat187 added the RFC Request for Changes label Jul 1, 2023
@vikhyat187
Copy link
Contributor Author

vikhyat187 commented Jul 5, 2023

To work with Sql on scale the things to keep in mind

  1. Having no SPOF (Multi AZ deployment)
  2. Horizontal scaling the database (Sharding)
  3. Separating the reads from master node (using read replicas)
  4. Using proper indexes on data

Costing wise AWS RDS > AWS Dynamodb

@DashDeipayan
Copy link
Contributor

Skill_tree

@DashDeipayan
Copy link
Contributor

DashDeipayan commented Aug 28, 2023

Updated ER Diagram

NB: All entities have a created_at/by and updated_at/by field

Untitled

@iamitprakash
Copy link
Member

@DashDeipayan what about users, endrosements,user_skills table.....

@DashDeipayan
Copy link
Contributor

Updated ER Diagram

Untitled (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for Changes
Projects
Archived in project
Development

No branches or pull requests

4 participants