好资源和短想法
#博客
上个月写过一篇memcached的文章,最近项目实现了cache库之后,发现很多细节当时理解的并不够细致,于是重新又写了一篇memcached的文章:
https://www.codedump.info/post/20210812-memcached/
这次将slab、分段LRU、读写操作中的锁、安全回收item、hash表的扩容操作等都讲到了,希望以后也不需要再写memcached的文章了。
总体感觉是实现一个多线程安全且高效的cache库还是有不少细节要考虑的,细节是魔鬼。
上个月写过一篇memcached的文章,最近项目实现了cache库之后,发现很多细节当时理解的并不够细致,于是重新又写了一篇memcached的文章:
https://www.codedump.info/post/20210812-memcached/
这次将slab、分段LRU、读写操作中的锁、安全回收item、hash表的扩容操作等都讲到了,希望以后也不需要再写memcached的文章了。
总体感觉是实现一个多线程安全且高效的cache库还是有不少细节要考虑的,细节是魔鬼。
最近趁着生日,给自己买了 O’Reilly Online Learning 的一年订阅。要不是 O’Reilly 出版的编程动物书系列,不知道我还陷在哪个坑里。
除了早几年买了一些原版的动物书,后来都是从 libgen 上下载的。这回买了订阅,不知道算不算是补偿。尽管 Tim O’Reilly 曾经表示他不介意盗版,只要知识能传播开来,他的使命就达到了。
https://www.oreilly.com/
除了早几年买了一些原版的动物书,后来都是从 libgen 上下载的。这回买了订阅,不知道算不算是补偿。尽管 Tim O’Reilly 曾经表示他不介意盗版,只要知识能传播开来,他的使命就达到了。
https://www.oreilly.com/
MeiliSearch: A Minimalist Full-Text Search Engine https://tech.marksblogg.com/meilisearch-full-text-search.html
Introducing the PineNote https://www.pine64.org/2021/08/15/introducing-the-pinenote/
Programming Idioms https://programming-idioms.org/
What can be learned from studying long gone development practices? https://shape-of-code.coding-guidelines.com/2021/08/01/what-can-be-learned-from-studying-long-gone-development-practices/
Show HN: Burst – start a cloud server, run your code, turn it off https://burstable.ai
Why Doesn't Software Show Up in Productivity? https://austinvernon.eth.link/blog/softwareisprocess.html
Why is it so hard to be rational? https://www.newyorker.com/magazine/2021/08/23/why-is-it-so-hard-to-be-rational
Let's write a compiler, part 3: A parser https://briancallahan.net/blog/20210816.html
Object-Oriented Entity-Component-System Design https://voxely.net/blog/object-oriented-entity-component-system-design/
Let's write a compiler, part 3: A parser https://briancallahan.net/blog/20210816.html