簡單的時序圖工具---Markdown
阿新 • • 發佈:2019-02-17
用markdown畫的時序圖
效果圖
用程式碼段格式,然後 三個點後加 sequence
CLient->Server:1. set data(key, value)
Server->Hashtable: 2. forearch(key)/not found
Hashtable-->Server: 3. Not found
Server->Memcache: 4. get mem(key, value)
Memcache->Slab: 5. get slot link(total length)
Slab ->Slab:6. get item space,tianru data
Slab-->Hashtable:7.add to hashtable(key value)
Server-->CLient: 8.stored success
CLient->Server: a1. get data(key)
Server->Hashtable: a2. get value(key)
Server-->CLient:a3. return value
note over Memcache,Hashtable: both A and B
讀者自由感受簡單語法
男神鎮