Safe, Fast Sharing of memcached as a Protected Library
Safe, Fast Sharing of memcached as a Protected Library
复制标题
安全、快速地共享 memcached 作为受保护的库
DOI:
10.1145/3404397.3404443
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Scott, Michael L.
中科院分区:
文献类型:
--
作者:
Kjellqvist, Chris;Hedayati, Mohammad;Scott, Michael L.
Memcached is a widely used key-value store. It is structured as a multithreaded user-level server, accessed over socket connections by a potentially distributed collection of clients. Because socket communication is so much more expensive than a single operation on a K-V store, much of the client library is devoted to batching of requests. Batching is not always feasible, however, and the cost of communication seems particularly unfortunate when—as is often the case—clients are co-located on a single machine with the server, and have access to the same physical memory.Fortunately, recent work on protected libraries has shown that it is possible, on current Intel processors, to amplify access rights quickly when calling into a specially configured user-level library. Library instances in separate processes can then share data safely, even in the face of independent process failures. We have used protected libraries to implement a new version of memcached in which client threads execute the code of the server themselves, without the need to send messages. Compared to the original, our new version is both significantly simpler, containing 24% less code, and dramatically faster, with a 11–56 × reduction in latency and a roughly 2 × increase in throughput.
登录
查看更多内容
DOI:
10.1145/3124680.3124727
发表时间:
2017
期刊:
Proceedings of the 8th Asia-Pacific Workshop on Systems
影响因子:
--
作者:
Kevin Elphinstone;Amirreza Zarrabi;Kent McLeod;Gernot Heiser
通讯作者:
Gernot Heiser
DOI:
10.1145/3381898.3397212
发表时间:
2020-03
期刊:
Proceedings of the 2020 ACM SIGPLAN International Symposium on Memory Management
影响因子:
--
作者:
Wentao Cai;Haosen Wen;H. A. Beadle;Chris Kjellqvist;Mohammad Hedayati;M. Scott
通讯作者:
Wentao Cai;Haosen Wen;H. A. Beadle;Chris Kjellqvist;Mohammad Hedayati;M. Scott
DOI:
10.1109/micro.2018.00029
发表时间:
2018-10
期刊:
2018 51st Annual IEEE/ACM International Symposium on Microarchitecture (MICRO)
影响因子:
--
作者:
Qingrui Liu;Joseph Izraelevitz;Se Kwon Lee;M. Scott;S. Noh;Changhee Jung
通讯作者:
Qingrui Liu;Joseph Izraelevitz;Se Kwon Lee;M. Scott;S. Noh;Changhee Jung
DOI:
--
发表时间:
2019-03
期刊:
ArXiv
影响因子:
--
作者:
Joseph Izraelevitz;Jian Yang;Lu Zhang;Juno Kim;Xiao Liu;Amirsaman Memaripour;Yun Joon Soh;
通讯作者:
Joseph Izraelevitz;Jian Yang;Lu Zhang;Juno Kim;Xiao Liu;Amirsaman Memaripour;Yun Joon Soh;