{"id":98941,"date":"2020-04-09T20:58:21","date_gmt":"2020-04-09T12:58:21","guid":{"rendered":"http:\/\/4563.org\/?p=98941"},"modified":"2020-04-09T20:58:21","modified_gmt":"2020-04-09T12:58:21","slug":"redis-data-structure-server","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=98941","title":{"rendered":"Redis &#8211; data structure server"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Redis &#8211; data structure server               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Livid <\/span>  <span><i><\/i> 53<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u4e00\u4e2a\u6709\u8da3\u7684\u670d\u52a1\u5668\u8f6f\u4ef6\u3002 <\/p>\n<p>http:\/\/code.google.com\/p\/redis <\/p>\n<p>\u5982\u679c GAE \u4e0a\u6709\u7c7b\u4f3c\u7684\u4e1c\u897f\u5c31\u66f4\u597d\u73a9\u4e86\u3002      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>14<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"736767\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kymair <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u4e2a\u975e\u5e38\u4e0d\u9519\u7684Tutorial<br \/>http:\/\/simonwillison.net\/static\/2010\/redis-tutorial\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736768\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxn0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             GAE\u4e0d\u662f\u5df2\u7ecf\u6709\u81ea\u5df1\u7684K\/V\u4e86\u4e48\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736769\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bruce <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u662f\u633a\u7ecf\u5178\u7684kv\u6570\u636e\u5e93\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736770\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rveo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             redis \u7f3a\u70b9\u4e5f\u975e\u5e38\u7a81\u51fa\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736771\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : minghua <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @rveo \u613f\u95fb\u5176\u8be6\uff5e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736772\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : predator <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6bd4\u8f83\u90c1\u95f7\u7684\u4e00\u70b9\u662f\u53ccL5520 @ 2.27GHz\u7684\u673a\u5668\u8dd1\u4e0d\u51fa\u5b98\u65b9\u6587\u6863\u4e2d\u58f0\u79f0\u7684\u6027\u80fd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736773\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : blankyao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Kymair \u8fd9\u4e2aturial\u4e0d\u9519                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736774\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iwinux <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u5bf9\u670d\u52a1\u5668\u7684\u914d\u7f6e\u8981\u6c42\u6bd4\u8f83\u9ad8\u554a\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736775\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ksword <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @rveo \u613f\u95fb\u5176\u8be6\uff0c\u7528redis\u505a\u6d88\u606f\u961f\u5217\u9760\u4e0d\u9760\u8c31\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736776\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : muxi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ksword \u505a\u7b80\u5355\u6d88\u606f\u961f\u5217\u57fa\u672c\u9760\u8c31\uff0c\u6211\u5df2\u7ecf\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\uff0c\u590d\u6742\u7684\u4f30\u8ba1\u8fd8\u5f97\u7528\u4e13\u95e8\u7684\uff0c\u6bd4\u5982ZeroMQ\uff0c \u4e00\u4e2a\u6bd4\u8f83\u90c1\u95f7\u7684\u662f\u8fd9\u4e2a\u4e1c\u897f\u662f\u53cc\u5411\u94fe\u8868\uff0c\u6a21\u62df\u961f\u5217\u7684\u65f6\u5019\u4e0d\u80fd\u8bbe\u7f6e\u961f\u5217\u7684\u6700\u5927\u957f\u5ea6\uff0c\u6211\u7684\u4e1a\u52a1\u4e2d\u9700\u8981\u8fd9\u4e2a\u4e1c\u897f\uff0c\u53ea\u80fd\u6bcf\u6b21\u90fd\u53bb\u68c0\u6d4b\u4e00\u6b21<\/p>\n<p>@iwinux \u6211\u4e0d\u77e5\u9053\u4f60\u8bf4\u7684\u5bf9\u670d\u52a1\u5668\u914d\u7f6e\u8981\u6c42\u9ad8\u662f\u4ec0\u4e48\u610f\u601d\uff0c\u9700\u8981\u5f88\u591a\u7684\u5185\u5b58\uff1f\u8fd8\u662fIO\u6027\u80fd\uff1f\u5047\u5982\u4f60\u4f7f\u7528\u5176\u4ed6\u7684\u7c7b\u4f3c\u7684\u4ea7\u54c1\uff0c\u53ea\u8981\u4f60\u7684\u4e1a\u52a1\u662f\u540c\u4e00\u4e2a\u7ea7\u522b\u7684\uff0c\u6240\u9700\u8981\u7684\u914d\u7f6e\u90fd\u662f\u4e00\u6837\u7684\uff0c\u800c\u4e14Redis\u76f8\u5bf9\u4e8eMemcache\u8fd8\u80fd\u66f4\u597d\u7684\u4f7f\u7528\u5927\u5185\u5b58\uff0c\u4e0d\u5b58\u5728\u914d\u7f6e\u8981\u6c42\u9ad8\u7684\u95ee\u9898\uff0c\u5982\u679c\u662f\uff0c\u90a3\u4e5f\u662f\u4f60\u7684\u4e1a\u52a1\u9700\u8981\uff0c\u8ddfRedis\u672c\u8eab\u6ca1\u6709\u5173\u7cfb\uff0c\u4f60\u751a\u81f3\u53ef\u4ee5\u5728\u4e00\u4e2a\u865a\u62df\u673a\u6216\u8005\u6bd4\u8f83\u5783\u573e\u7684\u914d\u7f6e\u4e0a\u4f7f\u7528\u5b83<\/p>\n<p>@rveo \u540c\u6837\u770b\u4e0d\u51fa\u6765\u4f60\u8868\u8fbe\u4ec0\u4e48\u610f\u601d\uff0c\u5728\u6211\u5b9e\u9645\u7684\u4f7f\u7528\u4e2d\uff0c\u6ca1\u6709\u53d1\u73b0\u6709\u4ec0\u4e48\u7f3a\u70b9\uff0cK\/V\u6a21\u5f0f\u80fd\u591f\u6709\u7684\u4e1c\u897f\uff0cRedis\u57fa\u672c\u4e0a\u5177\u5907\u4e86\uff0c\u552f\u4e00\u4e0d\u8db3\u7684\u53ef\u80fd\u5c31\u662f\u5728\u81ea\u52a8\u5206\u7247\u4e0a\u8fd8\u9700\u8981\u4f18\u5316\uff0c\u8fd8\u6ca1\u6709\u8ddfTC\/TT\u90a3\u6837\u5b9e\u73b0\u4e92\u4e3a\u4e3b\u4ece\uff0c\u4f46\u76ee\u524d\u6765\u8bf4hash ring \u7684\u7b97\u6cd5\u548cM\/S\u7ed3\u6784\u57fa\u672c\u4e0a\u80fd\u591f\u5e94\u4ed8\u7edd\u5927\u90e8\u5206\u5e94\u7528\u7684\u9700\u6c42\u4e86\uff0c\u6ca1\u5b9e\u73b0\u7684\u90e8\u5206\u53ea\u662f\u9526\u4e0a\u6dfb\u82b1\u7684\u529f\u80fd\uff0c\u53cd\u800c\u6211\u7528\u7684\u6700\u723d\u7684keys *xx* \u7684\u529f\u80fd\uff0c\u5176\u4ed6K\/V\u90fd\u6ca1\u6709                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736777\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : virushuo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u4e1c\u897f\u4e0d\u540c\u7684\u4eba\u4f1a\u6709\u4e0d\u540c\u7684\u7528\u6cd5\u3002<\/p>\n<p>\u6309\u7167\u4ed6\u652f\u6301\u7684\u4e0d\u540c\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u4ee5\u505a\u6807\u51c6k-v\u5e93\uff0c\u505a\u7f13\u5b58\uff0c\u6bd4memcached\u597d\uff0c\u56e0\u4e3aredis\u7684\u5206\u5e03\u8f83\u4e3a\u5bb9\u6613\uff0c\u964d\u4f4e\u4e86memcached\u5d29\u6e83\u5bfc\u81f4\u96ea\u5d29\u6548\u5e94\u7684\u673a\u4f1a\u3002<\/p>\n<p>\u4e5f\u53ef\u4ee5\u505a\u4e00\u4e9b\u8ba1\u7b97\uff0csorted sets\u53ef\u4ee5\u505aunion\u4e4b\u7c7b\u7684\u64cd\u4f5c\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u96c6\u5408\u5f52\u5e76\u64cd\u4f5c\u6bd4\u6570\u636e\u5e93\u5feb\u7684\u591a\u3002<\/p>\n<p>pub\/sub\u53ef\u4ee5\u505a\u6d88\u606f\u603b\u7ebf\uff0c\u914d\u5408long live http server\uff0c\u5c31\u662ftwitter stream API\u90a3\u79cd\u4e1c\u897f\u3002<\/p>\n<p>\u73b0\u5728\u552f\u4e00\u7684\u95ee\u9898\u662f\u5bb9\u91cf\u53d6\u51b3\u4e8e\u5185\u5b58\u5927\u5c0f\uff0c\u6240\u4ee5\u5982\u4f55\u505a\u5bb9\u91cf\u89c4\u5212\u548c\u8bbe\u8ba1\u67b6\u6784\u662f\u4e2a\u5b66\u95ee\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736778\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ahu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e5f\u53ef\u4ee5\u770b\u770bMongoDB                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736779\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bbayou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             redis\u6301\u4e45\u5316\u662f\u4e2a\u95ee\u9898\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"736780\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bruce <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e9\u5df2\u4e0d\u662f\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Redis &#8211; dat&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/98941"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98941"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/98941\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98941"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}