{"id":4665,"date":"2024-03-01T12:18:26","date_gmt":"2024-03-01T04:18:26","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/index.php\/%e9%9d%a2%e8%af%95\/%e5%90%83%e9%80%8fredis%e7%b3%bb%e5%88%97%ef%bc%9a%e7%90%b3%e7%90%85%e6%bb%a1%e7%9b%ae%e7%9a%84%e6%95%b0%e6%8d%ae%e7%b1%bb%e5%9e%8b%ef%bc%88%e4%b8%8a%e7%af%87%ef%bc%89\/"},"modified":"2024-03-01T12:18:26","modified_gmt":"2024-03-01T04:18:26","slug":"%e5%90%83%e9%80%8fredis%e7%b3%bb%e5%88%97%ef%bc%9a%e7%90%b3%e7%90%85%e6%bb%a1%e7%9b%ae%e7%9a%84%e6%95%b0%e6%8d%ae%e7%b1%bb%e5%9e%8b%ef%bc%88%e4%b8%8a%e7%af%87%ef%bc%89","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/%e9%9d%a2%e8%af%95\/%e5%90%83%e9%80%8fredis%e7%b3%bb%e5%88%97%ef%bc%9a%e7%90%b3%e7%90%85%e6%bb%a1%e7%9b%ae%e7%9a%84%e6%95%b0%e6%8d%ae%e7%b1%bb%e5%9e%8b%ef%bc%88%e4%b8%8a%e7%af%87%ef%bc%89\/","title":{"rendered":"\u5403\u900fRedis\u7cfb\u5217\uff1a\u7433\u7405\u6ee1\u76ee\u7684\u6570\u636e\u7c7b\u578b\uff08\u4e0a\u7bc7\uff09"},"content":{"rendered":"<div class='wxsyncmain'>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);text-align: center;visibility: visible;\" data-mpa-powered-by=\"yiban.io\"><span style=\"outline: 0px;font-size: 16px;visibility: visible;\"><span style=\"outline: 0px;letter-spacing: 0.544px;text-indent: 34px;visibility: visible;color: rgb(0, 0, 0);\">\u6b22\u8fce\u5173\u6ce8\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a<\/span><span style=\"outline: 0px;letter-spacing: 0.544px;text-indent: 34px;visibility: visible;color: rgb(0, 128, 255);\">\u4e92\u8054\u7f51\u5168\u6808\u67b6\u6784<\/span><\/span><\/section>\n<section class=\"mp_profile_iframe_wrp\" style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);visibility: visible;\"><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe js_wx_tap_highlight\" data-pluginname=\"mpprofile\" data-id=\"MzU3NTU4ODU3Nw==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/3K8cdL4aGAO1NabfWSicycBicEiaJtpT04KDLjnmnq3ojC9SxBKv5gk4nY3kW6FiamTyj0NXYMCjGWTA0ianAKQQ8zQ\/300?wx_fmt=png&amp;wxfrom=19\" data-nickname=\"\u4e92\u8054\u7f51\u5168\u6808\u67b6\u6784\" data-alias=\"InternetFullStack\" data-signature=\"\u4ee5java\u8bed\u8a00\u4e3a\u4e3b\u7ebf\u7684\u4e92\u8054\u7f51\u5168\u6808\u67b6\u6784\u6280\u672f\u4ecb\u7ecd\" data-from=\"2\" data-is_biz_ban=\"0\" data-origin_num=\"90\" data-isban=\"0\" data-biz_account_status=\"0\" data-index=\"0\"><\/mp-common-profile><\/section>\n<section style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);text-indent: 2em;visibility: visible;\"><span style=\"outline: 0px;font-size: 16px;visibility: visible;\">Redis\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5305\u62ec\u4e86\u4e94\u79cd\u57fa\u672c\u6570\u636e\u7c7b\u578b\u548c\u4e94\u79cd\u6269\u5c55\u6570\u636e\u7c7b\u578b\uff08\u975e\u5b98\u65b9\u5206\u7c7b\uff0c\u4ec5\u4e2a\u4eba\u603b\u7ed3\uff0c\u65b9\u4fbf\u8bb0\u5fc6\uff09\uff1a<span style=\"outline: 0px;color: rgb(0, 128, 255);visibility: visible;\"><\/span><\/span><\/section>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg lazyload\" data-imgfileid=\"100004883\" data-ratio=\"0.6605263157894737\" data-s=\"300,640\"  data-type=\"png\" data-w=\"760\" style=\"width: 502px;height: 332px;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170810918.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg\" data-imgfileid=\"100004883\" data-ratio=\"0.6605263157894737\" data-s=\"300,640\"  data-type=\"png\" data-w=\"760\" style=\"width: 502px;height: 332px;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170810918.png\"  \/><\/noscript><\/p>\n<section style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);text-indent: 2em;visibility: visible;\"><span style=\"outline: 0px;font-size: 16px;visibility: visible;\"><\/span><\/section>\n<section style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);text-indent: 2em;visibility: visible;\"><span style=\"outline: 0px;font-size: 16px;visibility: visible;\">\u672c\u6587\u4ecb\u7ecd5\u79cd\u57fa\u672c\u6570\u636e\u7c7b\u578b\uff0c\u5728\u5217\u51fa\u5e38\u7528\u7684\u547d\u4ee4\u4e4b\u5916\uff0c\u8fd8\u9644\u4ee5\u5b9e\u4f8b\u64cd\u4f5c\u548c\u9002\u7528\u573a\u666f\u8bf4\u660e\uff0c\u65b9\u4fbf\u5927\u5bb6\u53c2\u8003\u9605\u8bfb\u3002\u540e\u7eed\u6587\u7ae0\u4f1a\u4ecb\u7ecd\u53e6\u59165\u79cd\u6269\u5c55\u6570\u636e\u7c7b\u578b\uff0c\u656c\u8bf7\u671f\u5f85\u3002<\/span><\/section>\n<section data-support=\"96\u7f16\u8f91\u5668\" data-style-id=\"51756\" style=\"margin-bottom:unset;\">\n<section data-align=\"title\" style=\"display: flex;margin-top: 10px;margin-bottom: 10px;justify-content: center;align-items: flex-end;\">\n<section style=\"width:27px;height:27px;background-color:#c80c0c;text-align:center;margin-bottom:6px;margin-right:-13px;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);\">\n<p style=\"font-size: 16px;color: rgb(254, 254, 254);line-height: 27px;transform: rotate(-45deg);\">1<\/p>\n<\/section>\n<section style=\"border-bottom: 1px solid rgb(200, 12, 12);padding-right: 7px;padding-bottom: 3px;padding-left: 25px;margin-bottom: unset;\">\n<p style=\"font-size:16px;letter-spacing:2px;color:#c80c0c;\"><strong>String<\/strong><\/p>\n<\/section>\n<section style=\"width:6px;height:6px;background-color:rgb(255, 215, 133);margin-bottom:-2px;overflow:hidden;line-height:0;\"><\/section>\n<\/section>\n<\/section>\n<section style=\"margin-bottom: unset;\">\n<p style=\"text-indent: 2em;margin-top: 24px;\"><span style=\"font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;text-indent: 34px;text-wrap: wrap;background-color: rgb(255, 255, 255);\">String\u662f\u6700\u57fa\u672c\u7684\u4e5f\u662f\u6700\u5e38\u7528\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5b83\u662f\u4e00\u4e2akey-value\u952e\u503c\u5bf9\u7684\u7ed3\u6784\uff0ckey\u662f\u952e\uff0c\u5b57\u7b26\u4e32\u7c7b\u578b\uff0c\u800cvalue\u662f\u5bf9\u5e94\u7684\u503c\uff0c\u53ef\u4ee5\u662f\u5b57\u7b26\u4e32\uff0c\u4e5f\u53ef\u4ee5\u662f\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u5305\u62ec\u5e8f\u5217\u5316\u5bf9\u8c61\u3001\u56fe\u7247\u7b49\u3002<\/span><\/p>\n<p style=\"text-indent: 2em;margin-top: 24px;\"><span style=\"font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;text-indent: 34px;text-wrap: wrap;background-color: rgb(255, 255, 255);\">\u5b57\u7b26\u4e32\u7c7b\u578b\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5305\u62ec\u7f13\u5b58\u3001\u8ba1\u6570\u5668\u3001\u5206\u5e03\u5f0f\u9501\u3001Session\u5171\u4eab\u7b49\u573a\u666f\u3002<\/span><\/p>\n<p style=\"text-indent: 2em;margin-top: 24px;\"><span style=\"font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;text-indent: 34px;text-wrap: wrap;background-color: rgb(255, 255, 255);\">\u4e0b\u9762\u6211\u4eec\u6765\u770b\u770bString\u7684\u4e00\u4e9b\u5e38\u7528\u64cd\u4f5c\uff1a<\/span><\/p>\n<section data-support=\"96\u7f16\u8f91\u5668\" data-style-id=\"12554\" style=\"width:90%;margin-left:auto;margin-right:auto;margin-bottom:unset;\" data-width=\"90%\">\n<section style=\"margin-top: 10px;margin-bottom: 10px;\">\n<section style=\"border-width: 1px;border-style: solid;border-color: rgb(32, 87, 146);border-radius: 8px;margin-bottom: unset;\">\n<section style=\"padding: 15px;background-color: rgb(233, 241, 248);border-radius: 8px;margin-bottom: unset;\">\n<section style=\"color: rgb(16, 87, 146);letter-spacing: 2px;font-size: 14px;line-height: 1.75em;margin-bottom: unset;transform: rotateZ(0deg);\">\n<p><span style=\"font-size: 12px;color: rgb(255, 76, 0);\">#\u8bbe\u7f6e\u952e\u503c\u5bf9\uff0c\u5982\u679ckey\u4e0d\u5b58\u5728\uff0c\u5219\u65b0\u589e<\/span><\/p>\n<p><span style=\"font-size: 12px;\">SET key value<\/span><\/p>\n<p><span style=\"font-size: 12px;color: rgb(255, 104, 39);\">#\u8bbe\u7f6ekey\u7684\u8fc7\u671f\u65f6\u95f4<\/span><\/p>\n<p><span style=\"font-size: 12px;\">SETkey value EX [\u8fc7\u671f\u65f6\u95f4]<\/span><\/p>\n<p><span style=\"font-size: 12px;\">SETEX key [\u8fc7\u671f\u65f6\u95f4]value<\/span><\/p>\n<p><span style=\"font-size: 12px;color: rgb(255, 104, 39);\">#\u83b7\u53d6key\u5bf9\u5e94\u7684value<\/span><\/p>\n<p><span style=\"font-size: 12px;\">GETkey<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;color: rgb(255, 104, 39);\">#\u5224\u65adkey\u662f\u5426\u5b58\u5728<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;\">EXISTS key<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"color: rgb(255, 104, 39);font-size: 12px;\"><\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;color: rgb(255, 104, 39);\">#\u5220\u9664key<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;\">DEL key<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\">\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;color: rgb(255, 104, 39);\">#\u83b7\u53d6key\u5bf9\u5e94\u7684\u8fc7\u671f\u65f6\u95f4<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;\">TTL key<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\">\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;color: rgb(255, 104, 39);\">#\u5c06key\u4e2d\u5b58\u50a8\u7684\u6570\u5b57\u52a01<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;\">INCR key<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\">\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;color: rgb(255, 104, 39);\">#\u5c06key\u4e2d\u5b58\u50a8\u7684\u6570\u5b57\u51cf1<\/span><\/p>\n<p style=\"margin-bottom: 0px;color: rgb(16, 87, 146);font-size: 14px;letter-spacing: 2px;text-wrap: wrap;background-color: rgb(233, 241, 248);\"><span style=\"font-size: 12px;\">DECR key<\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"text-indent: 2em;margin-top: 24px;\"><span style=\"font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;text-indent: 34px;text-wrap: wrap;background-color: rgb(255, 255, 255);\">\u8bb0\u5f97\u5f88\u65e9\u4ee5\u524d\u53bb\u9762\u8bd5\uff0c\u9762\u8bd5\u5b98\u95ee\u4e86\u4e00\u4e2a\u5173\u4e8eredis key\u8fc7\u671f\u7684\u5c0f\u95ee\u9898\uff1a\u5982\u679c\u8bbe\u7f6e\u4e86\u4e00\u4e2akey\u7684\u8fc7\u671f\u65f6\u95f4\uff0c\u8fc7\u4e00\u6bb5\u65f6\u95f4\u518d\u91cd\u65b0\u8bbe\u7f6e\u8fd9\u4e2akey\u7684\u503c\uff0c\u90a3\u4e48\u5b83\u7684\u8fc7\u671f\u65f6\u95f4\u4f1a\u53d8\u5417\uff1f\u6211\u4eec\u6765\u8bd5\u9a8c\u4e00\u4e0b\uff1a<\/span><\/p>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"margin-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &quot;Microsoft YaHei&quot;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;text-align: left;\">\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;margin-top: 10px;margin-bottom: 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170814890.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: &#39;Operator Mono&#39;, Consolas, Monaco, Menlo, monospace;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;font-size: 12px;\"><span style=\"color: #d19a66;line-height: 26px;\">127.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.1<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">6379<\/span>&gt;ZADDmygame<span style=\"color: #d19a66;line-height: 26px;\">10<\/span><span style=\"color: #98c379;line-height: 26px;\">\"John\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">12<\/span><span style=\"color: #98c379;line-height: 26px;\">\"Tom\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">8<\/span><span style=\"color: #98c379;line-height: 26px;\">\"Tony\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">7<\/span><span style=\"color: #98c379;line-height: 26px;\">\"Hank\"<\/span>(integer)<span style=\"color: #d19a66;line-height: 26px;\">4<\/span><span style=\"color: #d19a66;line-height: 26px;\">127.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.1<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">6379<\/span>&gt;ZRANGEmygame<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>-<span style=\"color: #d19a66;line-height: 26px;\">1<\/span><span style=\"color: #d19a66;line-height: 26px;\">1<\/span>)<span style=\"color: #98c379;line-height: 26px;\">\"Hank\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">2<\/span>)<span style=\"color: #98c379;line-height: 26px;\">\"Tony\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">3<\/span>)<span style=\"color: #98c379;line-height: 26px;\">\"John\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">4<\/span>)<span style=\"color: #98c379;line-height: 26px;\">\"Tom\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">127.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.1<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">6379<\/span>&gt;ZRANGEBYSCOREmygame<span style=\"color: #d19a66;line-height: 26px;\">10<\/span><span style=\"color: #d19a66;line-height: 26px;\">15<\/span><span style=\"color: #d19a66;line-height: 26px;\">1<\/span>)<span style=\"color: #98c379;line-height: 26px;\">\"John\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">2<\/span>)<span style=\"color: #98c379;line-height: 26px;\">\"Tom\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">127.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.1<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">6379<\/span>&gt;ZINCRBYmygame<span style=\"color: #d19a66;line-height: 26px;\">8<\/span><span style=\"color: #98c379;line-height: 26px;\">\"Hank\"<\/span><span style=\"color: #98c379;line-height: 26px;\">\"15\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">127.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.1<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">6379<\/span>&gt;ZSCOREmygame<span style=\"color: #98c379;line-height: 26px;\">\"Hank\"<\/span><span style=\"color: #98c379;line-height: 26px;\">\"15\"<\/span><span style=\"color: #d19a66;line-height: 26px;\">127.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.0<\/span><span style=\"color: #d19a66;line-height: 26px;\">.1<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">6379<\/span>&gt;ZRANKmygame<span style=\"color: #98c379;line-height: 26px;\">\"John\"<\/span>(integer)<span style=\"color: #d19a66;line-height: 26px;\">1<\/span><\/code><\/pre>\n<\/section>\n<section style=\"margin-top: 24px;margin-bottom: 0px;letter-spacing: 0.578px;text-wrap: wrap;text-indent: 2em;\"><span style=\"font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);\"><\/span><\/section>\n<section data-support=\"96\u7f16\u8f91\u5668\" data-style-id=\"51756\" style=\"margin-bottom: unset;letter-spacing: 0.578px;text-wrap: wrap;\">\n<section data-align=\"title\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;justify-content: center;align-items: flex-end;\">\n<section style=\"margin-right: -13px;margin-bottom: 6px;width: 27px;height: 27px;background-color: rgb(200, 12, 12);text-align: center;transform: rotate(45deg);\">\n<p style=\"font-size: 16px;color: rgb(254, 254, 254);line-height: 27px;transform: rotate(-45deg);\">6<\/p>\n<\/section>\n<section style=\"margin-bottom: unset;padding-right: 7px;padding-bottom: 3px;padding-left: 25px;border-bottom: 1px solid rgb(200, 12, 12);\">\n<p style=\"font-size: 16px;letter-spacing: 2px;color: rgb(200, 12, 12);\"><strong>\u603b\u7ed3<\/strong><\/p>\n<\/section>\n<section style=\"margin-bottom: -2px;width: 6px;height: 6px;background-color: rgb(255, 215, 133);overflow: hidden;line-height: 0;\"><\/section>\n<\/section>\n<\/section>\n<section style=\"margin-bottom: unset;letter-spacing: 0.578px;text-wrap: wrap;\">\n<p style=\"margin-top: 24px;text-indent: 2em;\"><span style=\"font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><span style=\"font-size: 16px;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);\">Redis\u63d0\u4f9b\u4e865\u79cd\u57fa\u672c\u6570\u636e\u7c7b\u578b\uff0c\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff0c\u6db5\u76d6\u9762\u4e5f\u6bd4\u8f83\u5e7f\uff0c\u53ef\u4ee5\u9002\u7528\u4e8e\u5f88\u591a\u7684\u5b9e\u9645\u573a\u666f\uff0c\u800cMemcached\u4ec5\u63d0\u4f9b\u4e86\u7b80\u5355\u7684key-value\uff0c\u76f8\u6bd4\u4e4b\u4e0b\uff0cRedis\u5c31\u5f3a\u5927\u5f97\u591a\u3002\u53e6\u5916\uff0cRedis\u8fd8\u63d0\u4f9b\u4e86\u5176\u4ed6\u6269\u5c55\u76845\u79cd\u6570\u636e\u7c7b\u578b\uff0c\u6211\u4eec\u4f1a\u5728\u540e\u7eed\u7684\u6587\u7ae0\u4e2d\u8fdb\u884c\u4ecb\u7ecd\uff0c\u656c\u8bf7\u5173\u6ce8\u3002\u8c22\u8c22\uff01<\/span><\/span><\/p>\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\">\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\"><span style=\"outline: 0px;\"><strong style=\"outline: 0px;\">\u63a8\u8350\u9605\u8bfb\uff1a<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\"><span style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488550&amp;idx=1&amp;sn=0d0d26f12071d86c7d42921c6bcb0d31&amp;chksm=fd2185a8ca560cbe032cc5a444eccaf0b449622acbc028253af38224cf16d2a72bcaee94d17b&amp;scene=21#wechat_redirect\" textvalue=\"\u79bb\u5927\u8c31\uff0cMySQL\u7adf\u7136\u65e0\u89c6\u7a7a\u683c\u7684\u5b58\u5728\uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >\u79bb\u5927\u8c31\uff0cMySQL\u7adf\u7136\u65e0\u89c6\u7a7a\u683c\u7684\u5b58\u5728\uff01<\/a><strong style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488550&amp;idx=1&amp;sn=0d0d26f12071d86c7d42921c6bcb0d31&amp;chksm=fd2185a8ca560cbe032cc5a444eccaf0b449622acbc028253af38224cf16d2a72bcaee94d17b&amp;scene=21#wechat_redirect\" textvalue=\"\u79bb\u5927\u8c31\uff0cMySQL\u7adf\u7136\u65e0\u89c6\u7a7a\u683c\u7684\u5b58\u5728\uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/strong><\/span><\/p>\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\"><span style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488507&amp;idx=1&amp;sn=12349e3bf479ecabaf627f2a83c4469a&amp;chksm=fd218275ca560b6393c20784aada4e2c20e583a0ddcd8751b3f118ff06dc8ae564aa590f519e&amp;scene=21#wechat_redirect\" textvalue=\"\u5403\u900fRedis\u7cfb\u5217\uff1a\u603b\u4f53\u4ecb\u7ecd\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u5403\u900fRedis\u7cfb\u5217\uff1a\u603b\u4f53\u4ecb\u7ecd<\/a><strong style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488507&amp;idx=1&amp;sn=12349e3bf479ecabaf627f2a83c4469a&amp;chksm=fd218275ca560b6393c20784aada4e2c20e583a0ddcd8751b3f118ff06dc8ae564aa590f519e&amp;scene=21#wechat_redirect\" textvalue=\"\u5403\u900fRedis\u7cfb\u5217\uff1a\u603b\u4f53\u4ecb\u7ecd\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/strong><\/span><\/p>\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\"><span style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488485&amp;idx=1&amp;sn=bf083eff69e741761f8b41882d952675&amp;chksm=fd21826bca560b7d392c000ae1a5fdce582e05fc40f6223b820571a579b11b14cf51494e83f0&amp;scene=21#wechat_redirect\" textvalue=\"\u9ad8\u9891\u9762\u8bd5\u9898\uff1a\u5408\u5e76\u4e24\u4e2aList\u5e76\u53bb\u91cd\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u9ad8\u9891\u9762\u8bd5\u9898\uff1a\u5408\u5e76\u4e24\u4e2aList\u5e76\u53bb\u91cd<\/a><\/span><\/p>\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\"><span style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488425&amp;idx=1&amp;sn=4df57ee0d94ada1d0bc6411bc26a9173&amp;chksm=fd218227ca560b313d99a2751a9122bcd6e2f1ed95fcbded0803f1f2bff3c0d2c45cbfab4480&amp;scene=21#wechat_redirect\" textvalue=\"\u5f7b\u5e95\u641e\u61c2MySQL\u7684\u6267\u884c\u8ba1\u5212\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u5f7b\u5e95\u641e\u61c2MySQL\u7684\u6267\u884c\u8ba1\u5212<\/a><\/span><\/p>\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\"><span style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488271&amp;idx=1&amp;sn=24624c61a557aaf46db29de68ad3ebae&amp;chksm=fd218281ca560b97a08f9daec59fdd9289dc7101f16be1136942ae76784a07d394c7b9b8377f&amp;scene=21#wechat_redirect\" textvalue=\"\u6570\u636e\u540c\u6b65\u7684\u5229\u5668\uff1aCanal\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u6570\u636e\u540c\u6b65\u7684\u5229\u5668\uff1aCanal<\/a><\/span><\/p>\n<p style=\"margin-bottom: 8px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;text-align: left;color: rgb(0, 0, 0);\"><span style=\"outline: 0px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU3NTU4ODU3Nw==&amp;mid=2247488231&amp;idx=1&amp;sn=ffb5f950ef30143dbee4d5eeff6ed96d&amp;chksm=fd218369ca560a7f74c181de2d5df690f9b07532f402b89d007b43142f932a1ef15ff954992c&amp;scene=21#wechat_redirect\" textvalue=\"\u62d2\u7edd\u7a7a\u8c08\uff1a\u5b9e\u4f8b\u6f14\u793aMySQL\u4e8b\u52a1\u9694\u79bb\u7ea7\u522b\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u62d2\u7edd\u7a7a\u8c08\uff1a\u5b9e\u4f8b\u6f14\u793aMySQL\u4e8b\u52a1\u9694\u79bb\u7ea7\u522b<\/a><\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u4e92\u8054\u7f51\u5168\u6808\u67b6\u6784              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u6b22\u8fce\u5173\u6ce8\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e92\u8054\u7f51\u5168\u6808\u67b6\u6784 Redis\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5305\u62ec\u4e86\u4e94\u79cd\u57fa\u672c\u6570\u636e\u7c7b\u578b\u548c\u4e94\u79cd\u6269\u5c55\u6570\u636e\u7c7b\u578b\uff08\u975e\u5b98\u65b9\u5206\u7c7b\uff0c\u4ec5\u4e2a\u4eba\u603b &#8230;<\/p>\n","protected":false},"author":1,"featured_media":4660,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[30],"tags":[],"class_list":["post-4665","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-30"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170806182-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170810918.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170806182-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170806182.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170810918.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170806182-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170806182.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170806182.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170810918.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/05\/20240524170810918.png","id":"image1"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"\u9762\u8bd5","post_date":"2024-03-01","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":378,"next_post_id":4678,"next_post_title":"\u5403\u900fRedis\u7cfb\u5217\uff1a\u7433\u7405\u6ee1\u76ee\u7684\u6570\u636e\u7c7b\u578b\uff08\u4e0b\u7bc7\uff0c\u6587\u672b\u5f69\u86cb\uff09","previous_post_id":4671,"previous_post_title":"\u9ad8\u9891\u9762\u8bd5\u9898\uff1a\u5408\u5e76\u4e24\u4e2aList\u5e76\u53bb\u91cd","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=4665"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4665\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/4660"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=4665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=4665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=4665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}