Code Talks

\{C}0dea1k(s) => text is a dish best served with code ( ͡° ͜ʖ ͡°)
Menu Close
  • Home
  • Series

2019

Jan 28, 2019

Understanding The Memcached Source Code-Event Driven II

Jan 18, 2019

Understanding The Memcached Source Code - Event Driven I

elsewhere

  • Building VOD Apps with React Native
  • This is How I Break Up
  • Those Metrics We Should Care About
  • React Source Code
  • Reverse Replication of VMs
  • Recent Posts
  • 理解 Memcached 源码 - LRU II
    December 28, 2020
  • Understanding The Memcached Source Code-Event Driven III
    June 2, 2019
  • 理解 Memcached 源码 - LRU I
    May 18, 2019
  • 理解 Memcached 源码 - Slab III
    March 24, 2019
  • 理解 Memcached 源码- Slab II
    March 24, 2019
  • 理解 Memcached 源码- Slab I
    March 23, 2019

Series

  • JavaScript Tutorial for Programmers7
  • Memcached Source Code9
  • Memcached 源码分析5
  • Network Essentials3
  • Rvisit C++2
  • Understanding The React Source Code9

Tags

  • ==1
  • ===1
  • =>1
  • C++1
  • JavaScript15
  • LRU5
  • SOL_SOCKET1
  • SOL_TCP1
  • SO_KEEPALIVE1
  • Smart Pointer1
  • TCP_NODELAY1
  • array1
  • arrow method1
  • async1
  • automatic ptr1
  • big endian1
  • byte order1
  • cache9
  • callback1
  • class1
  • code2
  • comparison1
  • component2
  • concatenation1
  • constructor1
  • dictionary1
  • diffing2
  • endianness1
  • equal1
  • escape1
  • event driven3
  • hash map1
  • heartbeat1
  • host byte order1
  • inheritance1
  • js5
  • little endian1
  • memcached13
  • memecached1
  • move1
  • multithreading2
  • nagle algorithm1
  • network3
  • network byte order1
  • new1
  • object1
  • packet aggregation1
  • programming4
  • promise1
  • prototype2
  • react5
  • react.js9
  • render1
  • rvalue1
  • setsockopt2
  • setstate4
  • shared ptr1
  • simple component1
  • slab allocator6
  • slice1
  • socket5
  • source code3
  • source code analysis2
  • special character1
  • state machine3
  • string1
  • substring1
  • this2
  • transaction2
  • undefined1
  • unique ptr1
  • virtual dom2
  • 源码5
  • 源码分析5
  • 缓存2

Tag Cloud

== === => C++ JavaScript LRU SOL_SOCKET SOL_TCP SO_KEEPALIVE Smart Pointer TCP_NODELAY array arrow method async automatic ptr big endian byte order cache callback class code comparison component concatenation constructor dictionary diffing endianness equal escape event driven hash map heartbeat host byte order inheritance js little endian memcached memecached move multithreading nagle algorithm network network byte order new object packet aggregation programming promise prototype react react.js render rvalue setsockopt setstate shared ptr simple component slab allocator slice socket source code source code analysis special character state machine string substring this transaction undefined unique ptr virtual dom 源码 源码分析 缓存

Archives

  • December 20201
  • June 20191
  • May 20191
  • March 20193
  • January 20192
  • December 20183
  • September 20183
  • June 20181
  • May 20181
  • February 20182
  • January 20185
  • December 20172
  • October 20171
  • September 20172
  • August 20177
© 2020 Holmes He
Theme by hipaper, icons by prettycons, Freepik and Google on www.flaticon.com
Posts
理解 Memcached 源码 - LRU II

多半情况下,LRU 会和 哈希表 一起使用,然后我们把这个组合称为 LRU-cache。 在 LRU-cache 中, 哈希表 提供快速索引的功能; 而 LRU 则是将 最近最少使用 (least recently used) 的元素在适当的时机标记为过期,并予以删除,用来防止缓存无限增大。本篇我们

Understanding The Memcached Source Code-Event Driven III

slab allocator (I, II, III) is the core module of the cache system, which largely determines how efficient the bottleneck resource, memory, can be uti

理解 Memcached 源码 - LRU I

多半情况下,LRU 会和 哈希表一起使用,然后我们把这个组合称为 LRU 缓存在 LRU缓存 中,哈希表提供了快速随机访问对象的能力;而LRU(算法)则用于淘汰很久没用 (least recently used) 的对象,来避免缓存无限增加。我们先大致看下 LRU 组成。 链表从技术上来说,LRU

理解 Memcached 源码 - Slab III

上次我们看完了内存分配,以及形成待分配列表(free list,即slots)的过程。本篇我们继续查看如何使用建立好的数据结构来分配/回收块内存,并将它们用于存储item。 板配给首先,我们来看 do_slabs_alloc 这个函数对应讨论过的do_slabs_free. 这里do_slabs_a

理解 Memcached 源码- Slab II

这次我们继续看用于 板 的内存是如何分配的。 首先我们继续看 slabs_init 的两个实参。第一个是 settings.maxbytes - 控制这个 Memcached 实例可以使用的总内存大小。在传入 slabs_init 之前,这个参数被赋值为全局变量 mem_limit。 void sl

Pages
Archives
Categories
Tags
Categories
Memcached 源码分析Memcached-源码分析
Memcached Source CodeMemcached-Source-Code
Network EssentialsNetwork-Essentials
Understanding The React Source CodeUnderstanding-The-React-Source-Code
Rvisit C++Rvisit-C
Tags
memcachedmemcached
LRULRU
源码源码
源码分析源码分析
缓存缓存