LRU缓存和血液过滤器-源码

上传者: 42097914 | 上传时间: 2021-02-18 15:07:10 | 文件大小: 17KB | 文件类型: ZIP
LRU缓存和Bloom过滤器 1.删​​除操作 序列化DELETE操作 完整的实现在。 def serialize_DELETE ( id ): envelope_bytes = pickle . dumps ({ 'operation' : 'DELETE' , 'id' : id }) return envelope_bytes , id 服务器进程删除 完整的实现在。 if operation == 'DELETE' : if self . db . delete ( key ): return "Success" else : return "ID not exists!" 数据库的删除操作 完整的实现在。 class MyDict ( dict ): def de

文件下载

资源详情

[{"title":"( 25 个子文件 17KB ) LRU缓存和血液过滤器-源码","children":[{"title":"LRU-Cache-and-Bloom-Filter-master","children":[{"title":"lab_lru_cache_output.txt <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"test_lru_cache.py <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"test_bloom_filter.py <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"test.py <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":"pickle_hash.py <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"lru_cache.py <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"cache_client.py <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"bloom_filter.py <span style='color:#111;'> 1022B </span>","children":null,"spread":false},{"title":"sample_data.py <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"test_lru_cache_output.txt <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":".ipynb_checkpoints","children":[{"title":"bloom_filter-checkpoint.ipynb <span style='color:#111;'> 72B </span>","children":null,"spread":false}],"spread":true},{"title":"lab_bloom_filter_output.txt <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"test_bloom_filter_output.txt <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"bloom_filter.ipynb <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":".gitignore <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"cmpe273-assignment3.iml <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"server_config.py <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"lru_cache.ipynb <span style='color:#111;'> 7.42KB </span>","children":null,"spread":false},{"title":"node_ring.py <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"cache_server.py <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明