You might like to visit the code of your favorite DB/Storage engine and see how it works? A couple of years during COVID lockdown I started exploring Golang, I produced two libs: GoCache and Fehrist to understand what algo is used by Memcache and Elasticsearch respectively. Blog posts about them are given below:
- http://blog.adnansiddiqi.me/gocache-lru-cache-implementation...
- http://blog.adnansiddiqi.me/fehrist-document-indexing-librar...