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

Learn and Teach: Cache and Cache Policies #15

Open
0xnullifier opened this issue Dec 16, 2024 · 2 comments · Fixed by #41
Open

Learn and Teach: Cache and Cache Policies #15

0xnullifier opened this issue Dec 16, 2024 · 2 comments · Fixed by #41
Labels
documentation Improvements or additions to documentation easy This easy solve this if you are a beginner! good first issue Good for newcomers

Comments

@0xnullifier
Copy link
Collaborator

Create a docs/CACHING.md to explain:

  1. Basic Caching Concepts:
  • What is a cache?
  • Why do we need it?
  • Real-world analogies
  • Trade-offs (speed vs space)
  1. Cache Policies (How to manage limited cache space):
  • Default (Random removal)
  • FIFO (First In, First Out)
  • LRU (Least Recently Used)
  • Optimal

add as much stuff you seem relevant.

NOTE Please do not copy paste from chat gpt feel you can learn from wherever you want but write it in your own terms.

Make It Fun!

Feel free to include:

  • Drawings/diagrams
  • ASCII ard
  • Algorithm uml diagrams

Project Context:

Add some code from the project and point to examples in golang implementing caching systems

@0xnullifier 0xnullifier added documentation Improvements or additions to documentation easy This easy solve this if you are a beginner! good first issue Good for newcomers labels Dec 16, 2024
@b-iit
Copy link
Contributor

b-iit commented Dec 19, 2024

Hello !
I want to work on this issue. #15

@0xnullifier
Copy link
Collaborator Author

Sure go ahead this issue is open for all and everyone can attempt it!

0xnullifier pushed a commit that referenced this issue Dec 20, 2024
* Added CACHING.md_b-iit
@0xnullifier 0xnullifier reopened this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation easy This easy solve this if you are a beginner! good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants