abstract:Memcache 通過在內(nèi)存中緩存數(shù)據(jù)和對象來減少讀取數(shù)據(jù)庫的次數(shù),從而提高了系統(tǒng)訪問的速度。常用命令設(shè)置某值set key flag expiretime bytes value獲取某值get key刪除某值delete key清空flush_
Memcache 通過在內(nèi)存中緩存數(shù)據(jù)和對象來減少讀取數(shù)據(jù)庫的次數(shù),從而提高了系統(tǒng)訪問的速度。
常用命令
設(shè)置某值
set key flag expiretime bytes value
獲取某值
get key
刪除某值
delete key
清空
flush_all
Correcting teacher:西門大官人Correction time:2019-04-02 10:40:59
Teacher's summary:作業(yè)寫的很好,memche支持的數(shù)據(jù)類型少,使用起來相對簡單