{"id":33465,"date":"2023-01-05T17:27:07","date_gmt":"2023-01-05T09:27:07","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=33465"},"modified":"2023-01-05T17:27:40","modified_gmt":"2023-01-05T09:27:40","slug":"docker-redis","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/docker-redis.html","title":{"rendered":"\u6253\u4e0d\u6b7b\u7684redis\u96c6\u7fa4"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u6700\u8fd1\u9047\u5230\u90e8\u5206\u7cfb\u7edf\u56e0\u4e3aredis\u670d\u52a1\u6302\u6389\uff0c\u5bfc\u81f4\u90e8\u5206\u670d\u52a1\u4e0d\u53ef\u7528\u3002\u6240\u4ee5\u5e0c\u671b\u642d\u5efa\u4e00\u4e2aredis\u96c6\u7fa4\u955c\u50cf\uff0c\u628a\u539f\u5148\u6563\u843d\u5404\u5904\u7684redis\u670d\u52a1\u5668\u7edf\u4e00\u7ba1\u7406\u8d77\u6765\uff0c\u5e76\u4e14\u4fdd\u969c\u9ad8\u53ef\u7528\u548c\u6545\u969c\u81ea\u52a8\u8fc1\u79fb\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u6700\u8fd1\u9047\u5230\u90e8\u5206\u7cfb\u7edf\u56e0\u4e3aredis\u670d\u52a1\u6302\u6389\uff0c\u5bfc\u81f4\u90e8\u5206\u670d\u52a1\u4e0d\u53ef\u7528\u3002\u6240\u4ee5\u5e0c\u671b\u642d\u5efa\u4e00\u4e2aredis\u96c6\u7fa4\u955c\u50cf\uff0c\u628a\u539f\u5148\u6563\u843d\u5404\u5904\u7684redis\u670d\u52a1\u5668\u7edf\u4e00\u7ba1\u7406\u8d77\u6765\uff0c\u5e76\u4e14\u4fdd\u969c\u9ad8\u53ef\u7528\u548c\u6545\u969c\u81ea\u52a8\u8fc1\u79fb\u3002
\n\"docker-redis1\"<\/p><\/blockquote>\n

\u4e00 redis\u96c6\u7fa4\u5206\u7c7b<\/strong><\/div>\n

\u5927\u5bb6\u90fd\u77e5\u9053redis\u96c6\u7fa4\u6709\u4e24\u79cd\uff0c\u4e00\u79cd\u662fredis sentinel\uff0c\u9ad8\u53ef\u7528\u96c6\u7fa4\uff0c\u540c\u65f6\u53ea\u6709\u4e00\u4e2amaster\uff0c\u5404\u5b9e\u4f8b\u6570\u636e\u4fdd\u6301\u4e00\u81f4\uff1b\u4e00\u79cd\u662fredis cluster\uff0c\u5206\u5e03\u5f0f\u96c6\u7fa4\uff0c\u540c\u65f6\u6709\u591a\u4e2amaster\uff0c\u6570\u636e\u5206\u7247\u90e8\u7f72\u5728\u5404\u4e2amaster\u4e0a\u3002\u57fa\u4e8e\u6211\u4eec\u7684\u9700\u6c42\u548credis\u672c\u8eab\u6280\u672f\u7684\u6210\u719f\u5ea6\uff0c\u672c\u6b21\u8981\u642d\u5efa\u7684\u662fredis sentinel\u3002
\nRedis \u7684 Sentinel \u7cfb\u7edf\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a Redis \u670d\u52a1\u5668\uff08instance\uff09\uff0c \u8be5\u7cfb\u7edf\u6267\u884c\u4ee5\u4e0b\u4e09\u4e2a\u4efb\u52a1\uff1a<\/p>\n