???????????????????
???????????? ???????[ 2013/12/10 11:05:46 ] ????????
??????÷????????????
??????????????棨memcache??
????*??????????????????????????????
????1??????????????????????Hash??
????*????????Key??Value??????洢?????Hash???С????Hash??Key?????HashCode????Value???????λ??
????2????????????
????*???????????????????????д????????е??????Ч?????????????????????????????Ч???????????????????????
????*??????????????????????????????????????????????????
????*????????????????????????????????????????????????????崻?????????????÷???????????????????????
????*?????洩?????????????????????????????????????Key??????????????????????????????Key?????????
????3????????????
????*?????????JBossCache????????????????????????????????????μ???????棨???????
????*?????????Memcache?????????????????????????????????????????????檔??ó???????????Hash??·???????????????????
????4??Memcache?????
????*?????????Э?飺TCP????????????????????Э?饗???????????+????????????????get <key>??
????*???????????????????????????????????????Э?????
????*?????????????????????Libevent??????????????
????*????Ч????????:?????????????????slab_class=>slab=>chunk
????*??????????????????????·?????????Hash?????????洢?????????????
??????????????
????*???????????н??????????????????????????
????*????????У?????????????????к????????????????????е????????????????д??????????к???????????
??????????ü??
????*?????ü??????????????????????????????????????????????????????????????????÷???????
??????????????
????1???????
????*???????????????????????????????????л??????С
????*??????????2????????IO????????????????????????????????CPU??????????CPU??
????*?????????????????????? = [ ?????????? / ( ?????????? - IO?????? ) ] * CPU????
????*????????????????????????????????????????????????楨????????????
????*??????????????·??????????????????t?????????????????????
????2?????????
????*???????????????????????????????Socket?????????????????
????*??????????2????????????????????????????????????????????????
????3???????????
????*??????????????????????????и???????Hash??
????// ===========================================================
?????洢???????
?????????е?????????
????1????е??????η???????????????????????????????????????????????????????????????
????2???????????л?е????????洢??辧???У??и?????????????????????д????????????????е???????????
????????B+????LSM??
????1???????е?????п???????д???????????д???????????ó??????洢????????????
????2??B+????????????????洢???????N????????????????????????????????????ζ?????
????3??LSM???????????N????????????д????????????н??У??????NoSQL??????LSM?????????????
????????RAID??HDFS
????1??RAID??????????????????У????????????????????????????????????????????????????????????д??????????
????2??HDFS???????????????Hadoop??????????????????洢???????????????????????????д?????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11