-
Notifications
You must be signed in to change notification settings - Fork 0
Content Addressable Store (CAS) : 해시로 '내용'을 주소로 만들기 #6
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
Conversation
Summary of ChangesHello @toothlessdev, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 Content Addressable Store (CAS)에 대한 포괄적인 기술 문서를 추가합니다. 이 문서는 CAS의 기본 원리, 데이터 중복 제거 및 무결성 보장과 같은 핵심 이점, 그리고 해시 맵, 디스크 인덱싱, Merkle Tree와 같은 구현에 사용되는 다양한 자료구조를 상세히 설명합니다. 또한, Git과 같은 실제 시스템에서의 CAS 적용 사례를 통해 이 개념이 어떻게 광범위하게 사용되는지 보여줍니다. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
이 PR은 Content Addressable Store(CAS)에 대한 새로운 블로그 게시글을 추가합니다. 전반적으로 CAS의 개념과 구현, 활용 사례를 체계적으로 잘 설명하고 있습니다. 다만, content-addressable-store.md 파일에서 몇 가지 사소한 오타와 마크다운 서식 오류가 발견되어 수정을 제안했습니다. 또한, dd.md 파일은 임시 메모용 파일로 보이는데, 실수로 포함된 것으로 추정되므로 PR에서 제외하는 것을 권장합니다. 좋은 글을 작성해주셔서 감사합니다.
| @@ -0,0 +1,221 @@ | |||
| --- | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #### 🤔 Prefix Sharding - 해시 앞부분으로 디렉토리 쪼개기 | ||
|
|
||
| 해시를 파일명으로 바로 쓰면, 하나의 디렉토리에 파일이 너무 많아지며 성능이 저하될 수 있습니다. | ||
| 그래서 흔이 해시 prefix 로 디렉토리를 쪼개는 방식을 사용합니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - 리프 노드는 실제 데이터 블록의 해시값을 저장하고, <br> | ||
| - 내부 노드는 자식 노드들의 해시값을 조합하여 해시값을 계산합니다 <br> | ||
|
|
||
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 하지만 Merkle Tree 를 사용하면 전체 데이터를 받을 필요가 없습니다. | ||
|
|
||
| 1. 클라이언트는 `Leaf2` 의 내용과 `Leaf2` 의 해시 (`91e54cd7`) 를 받습니다. | ||
| 2. 서버는 `Leaf2` 와 관련된 Sibiling Node 의 해시 (`Leaf1`, `hashB`)만 추가로 보냅니다 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.