{"id":28,"date":"2013-10-11T14:15:27","date_gmt":"2013-10-11T05:15:27","guid":{"rendered":"http:\/\/www.otwo.jp\/blog\/?p=28"},"modified":"2015-01-14T11:01:45","modified_gmt":"2015-01-14T02:01:45","slug":"redis","status":"publish","type":"post","link":"https:\/\/www.otwo.jp\/blog\/redis\/","title":{"rendered":"Redis\u306e\u4f7f\u7528\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u3053\u3093\u3061\u306f\u3002\u958b\u767a\uff12\u90e8\u306e\u5409\u5ca1\u3067\u3059\u3002<\/p>\n<p>\u30aa\u30fc\u30c4\u30fc\u3067\u306fKVS\u3068\u3057\u3066Redis\u3092\u4f7f\u3063\u3066\u307e\u3059\u3002<\/p>\n<p>\u306a\u305c\u304b\u3068\u3044\u3046\u3068\u3001<\/p>\n<ul>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a\u304c\u7c21\u5358\u306a\u306e\u3067\u3001\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308a\u3084\u3059\u3044\u3002<\/li>\n<li>\u67d4\u8edf\u306a\u30c7\u30fc\u30bf\u578b\u3002\u30cf\u30c3\u30b7\u30e5\u3068\u30bd\u30fc\u30c8\u6e08\u307f\u30bb\u30c3\u30c8\u306b\u306f\u304a\u4e16\u8a71\u306b\u306a\u3063\u3066\u307e\u3059\u3002<\/li>\n<li>master-slave\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u3063\u3066\u3001\u5197\u9577\u69cb\u6210\u3082\u53d6\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3002<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u611f\u3058\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b<a href=\"https:\/\/github.com\/nicolasff\/phpredis\">phpredis<\/a>\u4f7f\u3063\u3066\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059\u3002<!--more--><\/p>\n<h1>\u30e9\u30f3\u30ad\u30f3\u30b0\u3068Redis<\/h1>\n<p>\u30e9\u30f3\u30ad\u30f3\u30b0\u6a5f\u80fd\u306f\u30bd\u30fc\u30b7\u30e3\u30eb\u30b2\u30fc\u30e0\u306b\u4ed8\u304d\u7269\u3067\u3059\u3002<br \/>\n\u306a\u305cRedis\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3067\u4f5c\u6210\u3059\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3082\u5b9f\u88c5\u3092\u884c\u3046\u3053\u3068\u306f\u51fa\u6765\u308b\u306e\u3067\u3059\u304c\u3001\u9806\u4f4d\u4ed8\u3051\u306e\u51e6\u7406\u306b\u975e\u5e38\u306b\u8ca0\u8377\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u7279\u306b\u540c\u70b9\u540c\u4f4d\u3002\u3053\u308c\u304c\u30af\u30bb\u30e2\u30ce\u3067\u3059\u3002<\/p>\n<p>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u3053\u308c\u3092\u751f\u6210\u3059\u308b\u306e\u306f\u304b\u306a\u308a\u96e3\u3057\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001Redis\u306e\u30bd\u30fc\u30c8\u6e08\u307f\u30bb\u30c3\u30c8\u4f7f\u3048\u3070\u3053\u306e\u51e6\u7406\u306f\u6bd4\u8f03\u7684\u697d\u306b\u5b9f\u88c5\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>\u53c2\u8003\u306b\u306a\u308b\u306e\u306f\u2193\u306a\u8a18\u4e8b\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n<a href=\"http:\/\/www.polidog.jp\/2012\/04\/11\/redis%E3%81%A7%E3%83%A9%E3%83%B3%E3%82%AD%E3%83%B3%E3%82%B0%E3%82%92%E4%BD%9C%E3%82%8D%E3%81%86%E3%81%A8%E3%81%97%E3%81%9F%E3%82%93%E3%81%A0\/\">Redis\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3092\u4f5c\u308d\u3046\u3068\u3057\u305f\u3093\u3060<\/a><br \/>\n<a href=\"http:\/\/www.polidog.jp\/2012\/05\/18\/redis%E3%81%A7%E3%83%A9%E3%83%B3%E3%82%AD%E3%83%B3%E3%82%B0%E3%82%92%E4%BD%9C%E3%82%8D%E3%81%86%E3%81%A8%E3%81%97%E3%81%9F%E3%82%93%E3%81%A0%E5%AE%8C%E7%B5%90%E7%B7%A8\/\">Redis\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3092\u4f5c\u308d\u3046\u3068\u3057\u305f\u3093\u3060(\u5b8c\u7d50\u7de8)<\/a><br \/>\nzCount\u3092\u4f7f\u3046\u306e\u304c\u30df\u30bd\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30aa\u30fc\u30c4\u30fc\u3067\u306f\u3001\u30e9\u30f3\u30ad\u30f3\u30b0\u306b\u4f7f\u308f\u308c\u308b\u30b9\u30b3\u30a2\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3082\u8a18\u9332\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e\u30c7\u30fc\u30bf\u3092\u5143\u306b\u3001\u3044\u3064\u3067\u3082Redis\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3092\u518d\u751f\u6210\u51fa\u6765\u307e\u3059\u3002<\/p>\n<h1>Redis\u306e\u4fe1\u983c\u6027<\/h1>\n<p>Redis\u3092\u696d\u52d9\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u65b9\u306f\u3001\u6d88\u3048\u305f\u3089\u30de\u30ba\u30a4\u30c7\u30fc\u30bf\u3082\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3093\u3067\u3057\u3087\u3046\u304b\u306d\u2026<\/p>\n<p>\u30e9\u30f3\u30ad\u30f3\u30b0\u306e\u9805\u3067\u3082\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u30aa\u30fc\u30c4\u30fc\u3067\u306f\u57fa\u672c\u7684\u306bRedis\u306b\u306f\u3001\u518d\u69cb\u7bc9\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u3057\u304b\u683c\u7d0d\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3084\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30fc\u30bf\u7b49\u3067\u3059\u3002<\/p>\n<p>\u8272\u3005\u3068\u691c\u8a3c\u3092\u884c\u3044\u305f\u3044\u3068\u3053\u308d\u306a\u306e\u3067\u3059\u304c\u3001\u307e\u3060\u4fe1\u983c\u6027\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u65b9\u304c\u9ad8\u3044\u5370\u8c61\u3001\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<h1>Redis\u3068\u8ca0\u8377<\/h1>\n<p>Redis\u306e\u4f7f\u3044\u65b9\u306b\u3082\u5bc4\u308a\u307e\u3059\u304c\u3001\u30bd\u30fc\u30b7\u30e3\u30eb\u30b2\u30fc\u30e0\u306e\u5834\u5408\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u7206\u767a\u7684\u306a\u5897\u52a0\u3067\u3001\u60f3\u5b9a\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u6240\u306b\u8ca0\u8377\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u6bce\u306b\u30bd\u30fc\u30c8\u6e08\u307f\u30bb\u30c3\u30c8\u3092\u53c2\u7167\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001CPU\u8ca0\u8377\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u3001nagios\u304c\u3076\u3061\u30ae\u30ec\u3057\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u307e\u305f\u3001Redis\u306f\u4e00\u5b9a\u6642\u9593\u6bce\u306b\u30c7\u30fc\u30bf\u3092\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u304c\u3001\u3053\u308c\u304cio\u8ca0\u8377\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3046\u3061\u306e\u4f1a\u793e\u3067\u30ce\u30a6\u30cf\u30a6\u304c\u5341\u5206\u306b\u6e9c\u307e\u3063\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u306e\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u3042\u307e\u308aRedis\u3092\u904e\u4fe1\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u8ca0\u8377\u3082\u7559\u610f\u3057\u3066\u304a\u3044\u305f\u65b9\u304c\u3044\u3044\u304b\u306a\u30fc\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>Redis Sentinel<\/h1>\n<p>\u4eca\u306e\u3068\u3053\u308d\u3001\u30aa\u30fc\u30c4\u30fc\u3067\u306fRedis Sentinel\u306f\u4f7f\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"http:\/\/tech.gmo-media.jp\/post\/48748908427\/introduce-redis-sentinel\">Redis Sentinel\u3092\u904b\u7528\u3057\u3066\u307f\u305f\u304a\u8a71<\/a><br \/>\n\u3067\u8a73\u3057\u304f\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u305d\u308c\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u53d6\u308a\u56de\u3059\u3053\u3068\u304c\u96e3\u3057\u3044\u304b\u3089\u3067\u3059\u3002<br \/>\n\u3046\u3061\u3067Sentinel\u3092\u5b9f\u88c5\u3059\u308b\u306a\u3089DNS\u65b9\u5f0f\u304b\u306a\u2026\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>Redis\u306eslave\u3092\u4f55\u53f0\u3082\u4f7f\u3046\u3088\u3046\u306a\u4e8b\u614b\u306b\u306a\u308c\u3070\u3001\u5b9f\u88c5\u306e\u691c\u8a0e\u3082\u3057\u3088\u3046\u304b\u306a\u30fc\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<h1>\u4f59\u8ac7<\/h1>\n<p><a href=\"https:\/\/github.com\/nicolasff\/phpredis\/blob\/master\/arrays.markdown#readme\">RedisArray<\/a>\u3001\u7d50\u69cb\u5f79\u306b\u7acb\u3061\u305d\u3046\u306b\u601d\u3046\u3093\u3067\u3059\u304c\u3001\u3042\u307e\u308a\u8a18\u4e8b\u3092\u898b\u304b\u3051\u306a\u3044\u3067\u3059\u3002<br \/>\n\u3069\u3063\u304b\u3067\u3053\u3063\u305d\u308a\u4f7f\u3063\u3066\u3001\u30c6\u30b9\u30c8\u3057\u3066\u307f\u3088\u3046\u304b\u306a\u3002<\/p>\n<h1>\u4f59\u8ac7\uff12<\/h1>\n<p>MySQL\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3068\u3044\u3046\u3082\u306e\u304c\u2026<br \/>\n<a href=\"https:\/\/github.com\/kazuho\/mysql-ranking-engine\">https:\/\/github.com\/kazuho\/mysql-ranking-engine<\/a><\/p>\n<p>\u671f\u5f85\u5927\u3067\u3059\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u3061\u306f\u3002\u958b\u767a\uff12\u90e8\u306e\u5409\u5ca1\u3067\u3059\u3002 \u30aa\u30fc\u30c4\u30fc\u3067\u306fKVS\u3068\u3057\u3066Redis\u3092\u4f7f\u3063\u3066\u307e\u3059\u3002 \u306a\u305c\u304b\u3068\u3044\u3046\u3068\u3001 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a\u304c\u7c21\u5358\u306a\u306e\u3067\u3001\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308a\u3084\u3059\u3044\u3002 \u67d4\u8edf\u306a\u30c7\u30fc\u30bf\u578b\u3002\u30cf\u30c3\u30b7\u30e5\u3068\u30bd\u30fc\u30c8\u6e08\u307f\u30bb\u30c3\u30c8\u306b\u306f\u304a\u4e16\u8a71\u306b\u306a\u3063\u3066\u307e\u3059 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":727,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[6],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/28"}],"collection":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":22,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":1201,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions\/1201"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/media\/727"}],"wp:attachment":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}