{"id":15871,"date":"2025-12-07T15:07:21","date_gmt":"2025-12-07T14:07:21","guid":{"rendered":"https:\/\/webhosting.de\/warum-redis-langsamer-ist-als-gedacht-typische-fehlkonfigurationen-cacheopt\/"},"modified":"2025-12-07T15:07:21","modified_gmt":"2025-12-07T14:07:21","slug":"redis%e3%81%8c%e4%ba%88%e6%83%b3%e3%82%88%e3%82%8a%e3%82%82%e9%81%85%e3%81%84%e7%90%86%e7%94%b1-%e5%85%b8%e5%9e%8b%e7%9a%84%e3%81%aa%e8%a8%ad%e5%ae%9a%e3%83%9f%e3%82%b9-cacheopt","status":"publish","type":"post","link":"https:\/\/webhosting.de\/ja\/warum-redis-langsamer-ist-als-gedacht-typische-fehlkonfigurationen-cacheopt\/","title":{"rendered":"Redis \u304c\u4e88\u60f3\u4ee5\u4e0a\u306b\u4f4e\u901f\u306b\u306a\u308b\u7406\u7531\uff1a\u3088\u304f\u3042\u308b\u8a2d\u5b9a\u30df\u30b9\u3068\u305d\u308c\u3092\u56de\u907f\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>Redis \u306f\u3001\u69cb\u6210\u3001\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3001\u307e\u305f\u306f\u30a2\u30af\u30bb\u30b9\u30d1\u30bf\u30fc\u30f3\u304c\u9069\u5207\u3067\u306a\u3044\u5834\u5408\u3001\u52d5\u4f5c\u304c\u9045\u304f\u306a\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002\u307e\u3055\u306b\u3053\u3053\u3067 <strong>redis\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0<\/strong> \u3002\u5177\u4f53\u7684\u306b\u3001\u3069\u306e\u8a2d\u5b9a\u30df\u30b9\u304c\u9045\u5ef6\u306e\u539f\u56e0\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u305d\u308c\u3092\u4f53\u7cfb\u7684\u306b\u56de\u907f\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002.<\/p>\n\n<h2>\u4e2d\u5fc3\u70b9<\/h2>\n\n<ul>\n  <li><strong>\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0<\/strong> \u30ec\u30a4\u30c6\u30f3\u30b7\u3092\u89e3\u6d88\uff1aRAM\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306f\u3001\u3059\u3050\u306b\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002.<\/li>\n  <li><strong>\u30d5\u30a9\u30fc\u30af\u30e9\u30b0<\/strong> RDB\/AOF \u306b\u3088\u308b\uff1a\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068\u66f8\u304d\u63db\u3048\u306f\u3001\u77ed\u304f\u3066\u53b3\u3057\u3044\u4e2d\u65ad\u3092\u5f15\u304d\u8d77\u3053\u3057\u307e\u3059\u3002.<\/li>\n  <li><strong>AOF\/\u30b9\u30c8\u30ec\u30fc\u30b8<\/strong> \u9045\u5ef6\uff1a\u30c7\u30a3\u30b9\u30af\u306e\u901f\u5ea6\u304c\u9045\u3044\u5834\u5408\u3084 fsync \u304c\u7a4d\u6975\u7684\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u5fdc\u7b54\u6642\u9593\u304c\u9577\u304f\u306a\u308a\u307e\u3059\u3002.<\/li>\n  <li><strong>\u9045\u3044\u30b3\u30de\u30f3\u30c9<\/strong>\uff1a\u5927\u898f\u6a21\u306a\u69cb\u9020\u3068\u9ad8\u4fa1\u306a\u30b3\u30de\u30f3\u30c9\u306f CPU \u306b\u8ca0\u62c5\u3092\u304b\u3051\u307e\u3059\u3002.<\/li>\n  <li><strong>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d1\u30b9<\/strong> \u8003\u616e\u3059\u3079\u304d\u70b9\uff1a\u8ddd\u96e2\u3001\u30b3\u30f3\u30c6\u30ca\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3001\u30d7\u30ed\u30ad\u30b7\u306f\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3092\u5897\u52a0\u3055\u305b\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>\u8ca0\u8377\u304c\u304b\u304b\u308b\u3068Redis\u306e\u52d5\u4f5c\u304c\u9045\u304f\u306a\u308b\u7406\u7531<\/h2>\n\n<p>Redis \u306f\u975e\u5e38\u306b\u77ed\u3044\u5fdc\u7b54\u6642\u9593\u3092\u5b9f\u73fe\u3057\u307e\u3059\u304c\u3001 <strong>\u73fe\u5b9f<\/strong> \u307e\u305f\u3001\u5b9f\u9a13\u5ba4\u3068\u5b9f\u74b0\u5883\u3067\u306f\u72b6\u6cc1\u304c\u5927\u304d\u304f\u7570\u306a\u308a\u307e\u3059\u3002\u4eee\u60f3\u30ec\u30a4\u30e4\u30fc\u3001\u5171\u6709\u30db\u30b9\u30c8\u3001\u8ffd\u52a0\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306f\u3001\u7279\u306b\u8ca0\u8377\u306e\u30d4\u30fc\u30af\u6642\u306b\u3001\u30df\u30ea\u79d2\u5358\u4f4d\u3067\u8ca0\u8377\u3092\u5897\u52a0\u3055\u305b\u307e\u3059\u3002 \u30b3\u30f3\u30c6\u30ca\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3001\u30b5\u30a4\u30c9\u30ab\u30fc\u30d7\u30ed\u30ad\u30b7\u3001\u30ea\u30e2\u30fc\u30c8\u30be\u30fc\u30f3\u306b\u3088\u3063\u3066\u3001\u5b9f\u969b\u306e\u30a4\u30f3\u30e1\u30e2\u30ea\u901f\u5ea6\u304c\u96a0\u3055\u308c\u3066\u3044\u308b\u8a2d\u5b9a\u3092\u3088\u304f\u76ee\u306b\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u900f\u904e\u7684\u306a\u5de8\u5927\u30da\u30fc\u30b8\u3084\u7a4d\u6975\u7684\u306a\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u306a\u3069\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u7279\u6027\u3082\u9045\u5ef6\u3092\u3055\u3089\u306b\u60aa\u5316\u3055\u305b\u3066\u3044\u307e\u3059\u3002\u57fa\u76e4\u304c\u6574\u3063\u3066\u3044\u306a\u3044\u3068\u3001\u30a8\u30f3\u30b8\u30f3\u306f\u9ad8\u901f\u3067\u52d5\u4f5c\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4ee5\u5916\u306e\u90e8\u5206\u306b\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u304c\u3042\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001Redis \u304c\u7a81\u7136\u9045\u304f\u611f\u3058\u3089\u308c\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/redis-server-debug-4831.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u306e\u56de\u907f\uff1aRAM\u3001maxmemory\u3001\u304a\u3088\u3073\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u6226\u7565<\/h2>\n\n<p>\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u304c Redis \u30e1\u30e2\u30ea\u3092\u30c7\u30a3\u30b9\u30af\u306b\u30b9\u30ef\u30c3\u30d7\u3059\u308b\u3068\u3001 <strong>\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc<\/strong>. \u305d\u306e\u305f\u3081\u3001\u79c1\u306f\u5e38\u306b\u5341\u5206\u306a RAM \u3092\u78ba\u4fdd\u3057\u3001\u305d\u306e\u4f7f\u7528\u72b6\u6cc1\u3092\u7d99\u7d9a\u7684\u306b\u76e3\u8996\u3057\u3066\u3044\u307e\u3059\u3002 maxmemory \u3068\u9069\u5207\u306a\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u30dd\u30ea\u30b7\u30fc\u3092\u8a2d\u5b9a\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30b9\u30ef\u30c3\u30d7\u306b\u6ed1\u308a\u8fbc\u3080\u4ee3\u308f\u308a\u306b\u3001\u30bf\u30a4\u30e0\u30ea\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u7f6e\u63db\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u30e1\u30e2\u30ea\u3092\u5927\u91cf\u306b\u6d88\u8cbb\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306f Redis \u30db\u30b9\u30c8\u304b\u3089\u5207\u308a\u96e2\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7af6\u5408\u3059\u308b\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306f\u30ea\u30b9\u30af\u3092\u5897\u5927\u3055\u305b\u308b\u304b\u3089\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u57fa\u672c\u30eb\u30fc\u30eb\u304c\u5b88\u3089\u308c\u306a\u3044\u3068\u3001\u4ed6\u306e\u5bfe\u7b56\u3067\u306f\u5b9f\u969b\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3067\u304d\u305a\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3054\u3068\u306b\u7a81\u7136\u6570\u767e\u30df\u30ea\u79d2\u306e\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002.<\/p>\n\n<h2>RDB \u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068 AOF \u30ea\u30e9\u30a4\u30c8\u306b\u3088\u308b\u30d5\u30a9\u30fc\u30af\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3092\u6291\u5236<\/h2>\n\n<p>RDB\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068AOF\u30ea\u30e9\u30a4\u30c8\u306f\u3001\u30d5\u30a9\u30fc\u30af\u306b\u3088\u3063\u3066\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30d7\u30ed\u30bb\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u5927\u898f\u6a21\u306a\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u306f\u9855\u8457\u306a <strong>\u4f11\u61a9<\/strong> \u751f\u6210\u3057\u307e\u3059\u3002Linux \u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u30b3\u30d4\u30fc\u30aa\u30f3\u30e9\u30a4\u30c8\u306e\u30b3\u30b9\u30c8\u3092\u5897\u52a0\u3055\u305b\u3001\u30e9\u30b0\u3092\u9577\u5f15\u304b\u305b\u308b\u305f\u3081\u3001\u900f\u904e\u7684\u306a\u5de8\u5927\u30da\u30fc\u30b8\u3092\u7121\u52b9\u306b\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30d5\u30a9\u30fc\u30af\u306e\u983b\u5ea6\u3092\u5236\u9650\u3059\u308b\u305f\u3081\u306b\u3001\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u9593\u9694\u3068 AOF \u30ea\u30e9\u30a4\u30c8\u306e\u3057\u304d\u3044\u5024\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 \u5927\u898f\u6a21\u306a\u30e2\u30ce\u30ea\u30b7\u30c3\u30af\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u3001\u500b\u3005\u306e\u30d5\u30a9\u30fc\u30af\u306e\u5f71\u97ff\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u3001\u8907\u6570\u306e\u5c0f\u3055\u306a\u30b7\u30e3\u30fc\u30c9\u306b\u5206\u5272\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u7121\u8996\u3059\u308b\u3068\u3001\u305d\u308c\u307e\u3067\u306f\u3059\u3079\u3066\u304c\u9ad8\u901f\u306b\u52d5\u4f5c\u3057\u3066\u3044\u305f\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u77ac\u9593\u306b\u30af\u30e9\u30c3\u30b7\u30e5\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/redis_besprechung_0931.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>AOF\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u3001fsync \u6226\u7565\u3092\u6b63\u3057\u304f\u9078\u629e\u3059\u308b<\/h2>\n\n<p>AOF \u306f\u8010\u4e45\u6027\u3092\u9ad8\u3081\u307e\u3059\u304c\u3001\u30c7\u30a3\u30b9\u30af\u306e\u901f\u5ea6\u4f4e\u4e0b\u3084 fsync \u306e\u904e\u5ea6\u306a\u5b9f\u884c\u3092\u5f15\u304d\u8d77\u3053\u3057\u307e\u3059\u3002 <strong>\u5fdc\u7b54\u6642\u9593<\/strong> \u4e0a\u3078\u3002\u79c1\u306f Redis \u30c7\u30fc\u30bf\u3092\u9ad8\u901f SSD \u306b\u4fdd\u5b58\u3057\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e I\/O \u304b\u3089\u5206\u96e2\u3057\u3066\u3001\u66f8\u304d\u63db\u3048\u304c\u6e0b\u6ede\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u591a\u304f\u306e\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3067\u306f\u3001everysec \u3068 no-appendfsync-on-rewrite yes \u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30d4\u30fc\u30af\u3092\u5e73\u6e96\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u53cd\u5c04\u7684\u306b\u300cfsync always\u300d\u3092\u6709\u52b9\u306b\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001RDB \u3068 AOF \u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u8981\u4ef6\u306b\u9069\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5b9a\u671f\u7684\u306b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306b\u6ce8\u610f\u3092\u6255\u3044\u3001\u6226\u7565\u3092\u614e\u91cd\u306b\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u3092\u5236\u5fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002.<\/p>\n\n<h2>\u9045\u3044\u30b3\u30de\u30f3\u30c9\u3068\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3092\u7de9\u548c\u3059\u308b<\/h2>\n\n<p>\u5927\u898f\u6a21\u306a\u69cb\u9020\u7269\u3067\u306f\u3001\u7279\u5b9a\u306e\u30b3\u30de\u30f3\u30c9\u306f\u591a\u304f\u306e\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308a\u307e\u3059\u3002 <strong>CPU<\/strong>, \u3001\u305f\u3068\u3048\u3070 SORT\u3001ZINTERSTORE\u3001\u307e\u305f\u306f\u5927\u898f\u6a21\u306a LRANGE \u306a\u3069\u3067\u3059\u3002\u79c1\u306f\u30b9\u30ed\u30fc\u30ed\u30b0\u3092\u7a4d\u6975\u7684\u306b\u6d3b\u7528\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30bf\u30a4\u30d7\u3001\u30c7\u30fc\u30bf\u30b5\u30a4\u30ba\u3001\u30ad\u30fc\u3054\u3068\u306b\u5916\u308c\u5024\u3092\u5206\u6790\u3057\u3066\u3044\u307e\u3059\u3002 \u5927\u304d\u306a\u69cb\u9020\u306f\u3001\u3088\u308a\u5c0f\u3055\u306a\u30bb\u30b0\u30e1\u30f3\u30c8\u306b\u5206\u5272\u3059\u308b\u304b\u3001\u30a2\u30af\u30bb\u30b9\u30d1\u30bf\u30fc\u30f3\u306b\u3088\u308a\u9069\u3057\u305f\u4ee3\u66ff\u30c7\u30fc\u30bf\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001CPU \u3092\u5927\u91cf\u306b\u6d88\u8cbb\u3059\u308b\u8a55\u4fa1\u306f\u3001\u30db\u30c3\u30c8\u30d1\u30b9\u304c\u9ad8\u901f\u306a\u307e\u307e\u7dad\u6301\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u30ec\u30d7\u30ea\u30ab\u307e\u305f\u306f\u5c02\u7528\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u79fb\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30af\u30a8\u30ea\u306f\u3001\u6563\u767a\u7684\u306b\u6570\u79d2\u3092\u6d88\u8cbb\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u518d\u3073\u8a08\u753b\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/redis-fehlkonfiguration-vermeiden-7246.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3001\u30b3\u30f3\u30c6\u30ca\u3001\u8ddd\u96e2\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b<\/h2>\n\n<p>\u591a\u304f\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u554f\u984c\u306f\u3001\u5b9f\u969b\u306b\u306f <strong>\u8f38\u9001\u6642\u9593<\/strong> Redis \u306e\u554f\u984c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068 Redis \u3092\u540c\u3058\u30be\u30fc\u30f3\u306b\u4fdd\u6301\u3057\u3001\u4e0d\u8981\u306a\u30d7\u30ed\u30ad\u30b7\u3092\u907f\u3051\u3001MTU \u304a\u3088\u3073 TLS \u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002Kubernetes \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u306f\u3001\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068 CNI \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u6f5c\u5728\u7684\u306a\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306b\u6ce8\u610f\u3057\u307e\u3059\u3002\u30db\u30c3\u30d7\u6570\u304c\u5c11\u306a\u3044\u307b\u3069\u300195\/99 \u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u306e\u3070\u3089\u3064\u304d\u306f\u5c0f\u3055\u304f\u306a\u308a\u307e\u3059\u3002 \u4e88\u6e2c\u53ef\u80fd\u306a\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u5fdc\u7b54\u6642\u9593\u3092\u6c42\u3081\u308b\u306a\u3089\u3001Redis \u3092\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u5168\u4f53\u3067\u306f\u306a\u304f\u3001\u30b3\u30fc\u30c9\u306b\u3067\u304d\u308b\u3060\u3051\u8fd1\u3065\u3051\u3066\u8a2d\u7f6e\u3059\u308b\u3093\u3060\u3002.<\/p>\n\n<h2>\u30b5\u30a4\u30b8\u30f3\u30b0\u3001\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u3001\u30b7\u30e3\u30fc\u30c7\u30a3\u30f3\u30b0\u3078\u306e\u5b9f\u7528\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1<\/h2>\n\n<p>Redis\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u3067\u30b3\u30de\u30f3\u30c9\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u3001\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002 <strong>CPU\u30b3\u30a2<\/strong> \u304a\u3088\u3073\u30b3\u30de\u30f3\u30c9\u30ec\u30fc\u30c8\u304c\u5b9f\u969b\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3067\u3059\u3002\u5341\u5206\u306a vCPU \u3092\u9078\u629e\u3057\u3001\u30de\u30b7\u30f3\u304b\u3089\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3057\u3001\u8907\u6570\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u8cac\u4efb\u3092\u5206\u6563\u3057\u307e\u3059\u3002\u7d14\u7c8b\u306a\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u4f7f\u7528\u4e8b\u4f8b\u306b\u3064\u3044\u3066\u306f\u3001\u6642\u6298\u3001\u4ee3\u66ff\u6848\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/redis-memcached-%e3%82%ad%e3%83%a3%e3%83%83%e3%82%b7%e3%83%b3%e3%82%b0-%e3%83%af%e3%83%bc%e3%83%89%e3%83%97%e3%83%ac%e3%82%b9-%e6%af%94%e8%bc%83-%e3%83%91%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%b3\/\">Redis \u3068 Memcached \u306e\u6bd4\u8f03<\/a> \u6c7a\u5b9a\u3092\u4e0b\u3059\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u30b7\u30e3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u8ca0\u8377\u3092\u5206\u6563\u3057\u3001\u500b\u3005\u306e\u30e9\u30b0\u306e\u5f71\u97ff\u3092\u8efd\u6e1b\u3057\u307e\u3059\u3002\u3059\u3079\u3066\u3092 1 \u3064\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u8a70\u3081\u8fbc\u3080\u3068\u3001\u30d4\u30fc\u30af\u6642\u306e\u8ca0\u8377\u306b\u3088\u308b\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3084\u5fdc\u7b54\u6642\u9593\u306e\u9045\u5ef6\u304c\u767a\u751f\u3059\u308b\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/redis_debug_nightoffice_2947.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3001\u30e1\u30c8\u30ea\u30af\u30b9\u3001\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\n\n<p>\u6e2c\u5b9a\u5024\u304c\u306a\u3051\u308c\u3070\u3001\u6700\u9069\u5316\u306f <strong>\u30d6\u30e9\u30a4\u30f3\u30c9\u30d5\u30e9\u30a4\u30c8<\/strong>. \u3002\u30b3\u30de\u30f3\u30c9\u3054\u3068\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u300195\/99 \u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u3001\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3001\u65ad\u7247\u5316\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u6570\u3001BGSAVE\/AOF \u30a4\u30d9\u30f3\u30c8\u3092\u76e3\u8996\u3057\u3066\u3044\u307e\u3059\u3002INFO\u3001\u30b9\u30ed\u30fc\u30ed\u30b0\u3001\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306e\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u306b\u3088\u308a\u3001RAM\u3001CPU\u3001I\/O\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u3044\u305a\u308c\u304c\u5236\u9650\u8981\u56e0\u3067\u3042\u308b\u304b\u3092\u8fc5\u901f\u306b\u628a\u63e1\u3067\u304d\u307e\u3059\u3002 \u91cd\u8981\u306a\u306e\u306f\u3001\u30d5\u30a9\u30fc\u30af\u3001\u30ea\u30e9\u30a4\u30c8\u3001\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u3068\u30e9\u30b0\u3092\u95a2\u9023\u4ed8\u3051\u308b\u305f\u3081\u306b\u3001\u671f\u9593\u3092\u4e00\u8cab\u3057\u3066\u76e3\u8996\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u307e\u305f\u3001\u5e73\u5747\u5024\u3092\u898b\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30d3\u30b8\u30cd\u30b9\u30cb\u30fc\u30ba\u306b\u5408\u3063\u305f\u3057\u304d\u3044\u5024\u306b\u57fa\u3065\u3044\u3066\u30a2\u30e9\u30fc\u30e0\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002.<\/p>\n\n<h2>\u30ad\u30e3\u30c3\u30b7\u30e5\u6226\u7565\u3068\u30ad\u30fc\u8a2d\u8a08\u3001\u30d2\u30c3\u30c8\u7387\u3092\u5411\u4e0a\u3055\u305b\u308b<\/h2>\n\n<p>\u30ad\u30fc\u3068TTL\u304c <strong>\u6063\u610f\u7684<\/strong> \u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30d2\u30c3\u30c8\u7387\u306e\u50be\u5411\u304c\u4e0a\u6607\u3059\u308b\u3088\u3046\u306b\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30a2\u30b5\u30a4\u30c9\u3084\u4e00\u8cab\u6027\u306e\u3042\u308b\u3001\u610f\u5473\u306e\u3042\u308b\u30ad\u30fc\u306a\u3069\u306e\u660e\u78ba\u306a\u30d1\u30bf\u30fc\u30f3\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002TTL \u306f\u3001\u30c7\u30fc\u30bf\u304c\u5341\u5206\u306b\u6700\u65b0\u306e\u72b6\u614b\u3092\u4fdd\u3061\u306a\u304c\u3089\u3001\u5e38\u306b\u518d\u8a08\u7b97\u3055\u308c\u308b\u5fc5\u8981\u304c\u306a\u3044\u3088\u3046\u306b\u9078\u629e\u3057\u3066\u3044\u307e\u3059\u3002TTL\u3001\u30bf\u30b0\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3001Pub\/Sub \u4fe1\u53f7\u306a\u3069\u3092\u4f7f\u7528\u3057\u3066\u3001\u7121\u52b9\u5316\u3092\u660e\u793a\u7684\u306b\u8a08\u753b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5b9f\u8df5\u7684\u306a\u624b\u9806\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u30ac\u30a4\u30c9\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/%e3%82%ad%e3%83%a3%e3%83%83%e3%82%b7%e3%83%a5%e3%81%ae%e8%a8%ad%e5%ae%9a-wordpress-redis-%e3%83%91%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%b3%e3%82%b9%e3%81%ae%e9%ab%98%e9%80%9f%e5%8c%96-9324\/\">\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u8a2d\u5b9a<\/a> \u305d\u3057\u3066\u3001\u6b63\u78ba\u306b\u6e2c\u5b9a\u3059\u308b\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/redis_slow_config_tipps_7329.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u8a2d\u5b9a\u30c1\u30a7\u30c3\u30af\uff1a\u5408\u7406\u7684\u306a\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3068\u8fc5\u901f\u306a\u9032\u6357<\/h2>\n\n<p>\u3059\u3050\u306b\u52b9\u679c\u3092\u898b\u305f\u3044\u306a\u3089\u3001\u307e\u305a\u4fe1\u983c\u6027\u306e\u9ad8\u3044 <strong>\u30c7\u30d5\u30a9\u30eb\u30c8<\/strong> \u305d\u3057\u3066\u3001\u8ca0\u8377\u3092\u304b\u3051\u3066\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u306f\u53b3\u5bc6\u306b\u6392\u9664\u3057\u3001maxmemory \u3067\u30e1\u30e2\u30ea\u3092\u8abf\u6574\u3057\u3001RDB \u3068\u9069\u5ea6\u306a AOF \u3067\u6c38\u7d9a\u6027\u3092\u8abf\u6574\u3057\u3066\u3044\u307e\u3059\u3002THP \u306f\u7121\u52b9\u306b\u3057\u3001\u30c7\u30fc\u30bf\u3092 SSD \u306b\u3001\u4ed6\u306e I\/O \u30b8\u30e7\u30d6\u3068\u306f\u5225\u3005\u306b\u914d\u7f6e\u3057\u3066\u3044\u307e\u3059\u3002 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5074\u3067\u306f\u3001\u7d4c\u8def\u3092\u77ed\u304f\u3057\u3001\u4e0d\u8981\u306a\u30d7\u30ed\u30ad\u30b7\u3092\u524a\u6e1b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u8868\u306f\u3001\u5178\u578b\u7684\u306a\u30a8\u30e9\u30fc\u3068\u5b9f\u7528\u7684\u306a\u8a2d\u5b9a\u3092\u542b\u3080\u3001\u4e3b\u8981\u306a\u8abf\u6574\u9805\u76ee\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002.<\/p>\n\n<table>\n  <thead>\n    <tr>\n      <th>\u30c8\u30d4\u30c3\u30af<\/th>\n      <th>\u6e2c\u5b9a\u30de\u30fc\u30af<\/th>\n      <th>\u8aa4\u8a2d\u5b9a<\/th>\n      <th>\u63a8\u85a6<\/th>\n      <th>\u30d2\u30f3\u30c8<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td>RAM\/\u30b9\u30ef\u30c3\u30d7<\/td>\n      <td>\u9ad8\u3044\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u30d4\u30fc\u30af<\/td>\n      <td>\u6700\u5927\u30e1\u30e2\u30ea\u306a\u3057<\/td>\n      <td>maxmemory + \u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3<\/td>\n      <td>\u30b9\u30ef\u30c3\u30d7\u306f\u7d76\u5bfe\u306b\u907f\u3051\u308b<\/td>\n    <\/tr>\n    <tr>\n      <td>\u6c38\u7d9a\u6027<\/td>\n      <td>\u30d5\u30a9\u30fc\u30af\u30e9\u30b0<\/td>\n      <td>\u983b\u7e41\u306a BGSAVE<\/td>\n      <td>\u9593\u9694\u3092\u7a7a\u3051\u308b<\/td>\n      <td>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u5c0f\u3055\u304f\u30ab\u30c3\u30c8\u3059\u308b<\/td>\n    <\/tr>\n    <tr>\n      <td>AOF\/fsync<\/td>\n      <td>IO\u30d4\u30fc\u30af<\/td>\n      <td>fsync always<\/td>\n      <td>everysec + \u30aa\u30d7\u30b7\u30e7\u30f3<\/td>\n      <td>SSD\u3068\u5206\u96e2\u30c7\u30a3\u30b9\u30af<\/td>\n    <\/tr>\n    <tr>\n      <td>THP<\/td>\n      <td>\u9577\u3044\u30d5\u30a9\u30fc\u30af<\/td>\n      <td>THP \u30a2\u30af\u30c6\u30a3\u30d6<\/td>\n      <td>THP\u304b\u3089<\/td>\n      <td>\u30ab\u30fc\u30cd\u30eb\u8a2d\u5b9a\u306e\u78ba\u8a8d<\/td>\n    <\/tr>\n    <tr>\n      <td>\u30b3\u30de\u30f3\u30c9<\/td>\n      <td>\u9ad8\u3044CPU<\/td>\n      <td>SORT\/STORE \u5927<\/td>\n      <td>\u30b9\u30ed\u30fc\u30ed\u30b0\u3092\u4f7f\u7528\u3059\u308b<\/td>\n      <td>\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3092\u8abf\u6574\u3059\u308b<\/td>\n    <\/tr>\n    <tr>\n      <td>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/td>\n      <td>\u8f38\u9001\u304c\u652f\u914d\u7684<\/td>\n      <td>\u9060\u9694\u5730<\/td>\n      <td>\u5730\u57df\u5bc6\u7740<\/td>\n      <td>\u30db\u30c3\u30d7\u3068MTU\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n<h2>\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30d1\u30bf\u30fc\u30f3\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u968e\u5c64<\/h2>\n\n<p>\u512a\u308c\u305f\u5efa\u7bc9\u306f\u3001\u6700\u77ed\u306e\u7d4c\u8def\u3067\u554f\u3044\u5408\u308f\u305b\u3092\u8a98\u5c0e\u3057\u307e\u3059\u3002 <strong>\u30d1\u30b9<\/strong> \u56de\u7b54\u3078\u3002Edge\u3001App\u3001Redis\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u9ad8\u4fa1\u306a\u30aa\u30ea\u30b8\u30f3\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6e1b\u3089\u3057\u3001Redis\u81ea\u4f53\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u8aad\u307f\u53d6\u308a\u30a2\u30af\u30bb\u30b9\u304c\u5206\u6563\u3055\u308c\u3001Redis\u306f\u9ad8\u901f\u3067\u52d5\u7684\u306a\u30ad\u30fc\u3092\u51e6\u7406\u3057\u307e\u3059\u3002\u9069\u5207\u306a\u6bb5\u968e\u306e\u6982\u8981\u306f\u3001\u72ec\u81ea\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u5408\u308f\u305b\u3066\u8abf\u6574\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/%e3%82%ad%e3%83%a3%e3%83%83%e3%82%b7%e3%83%a5-%e9%9a%8e%e5%b1%a4-%e3%82%a6%e3%82%a7%e3%83%96%e3%83%86%e3%82%af%e3%83%8e%e3%83%ad%e3%82%b8%e3%83%bc-%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3%e3%83%b3\/\">\u30ad\u30e3\u30c3\u30b7\u30e5\u968e\u5c64<\/a> \u6700\u5927\u306e\u52b9\u679c\u306e\u3042\u308b\u8981\u7d20\u3092\u512a\u5148\u3057\u3066\u53d6\u308a\u7d44\u307f\u307e\u3057\u3087\u3046\u3002\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u69cb\u6210\u3092\u4e00\u7dd2\u306b\u8003\u3048\u308b\u3053\u3068\u3067\u3001\u500b\u5225\u306e\u8abf\u6574\u3088\u308a\u3082\u6301\u7d9a\u7684\u306b\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/redis-serverfehler-9284.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u63a5\u7d9a\u3001\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3001\u30d7\u30fc\u30eb<\/h2>\n\n<p>\u591a\u304f\u306e\u30df\u30ea\u79d2\u304c\u5931\u308f\u308c\u308b <strong>\u63e1\u624b<\/strong> Redis \u3067\u306f\u306a\u304f\u3001Connection Pooling \u306b\u3088\u308b\u9577\u5bff\u547d\u306e TCP\/TLS \u63a5\u7d9a\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001RTT \u304c\u77ed\u7e2e\u3055\u308c\u308b\u3060\u3051\u3067\u306a\u304f\u3001TLS \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3084\u8a3c\u660e\u66f8\u30c1\u30a7\u30c3\u30af\u3082\u524a\u6e1b\u3055\u308c\u307e\u3059\u3002\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u51e6\u7406\u306b\u3088\u308a\u3001\u591a\u304f\u306e\u5c0f\u3055\u306a\u30b3\u30de\u30f3\u30c9\u304c 1 \u3064\u306e RTT \u306b\u307e\u3068\u3081\u3089\u308c\u308b\u305f\u3081\u3001\u5fdc\u7b54\u304c\u53b3\u5bc6\u306b\u9806\u756a\u306b\u5fc5\u8981\u3068\u3055\u308c\u306a\u3044\u9650\u308a\u3001\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002 \u30a2\u30c8\u30df\u30c3\u30af\u30b7\u30fc\u30b1\u30f3\u30b9\u306b\u306f MULTI\/EXEC \u3092\u610f\u56f3\u7684\u306b\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001\u30db\u30c3\u30c8\u30d1\u30b9\u3067\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u7121\u5dee\u5225\u306b\u6df7\u5408\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306f\u53b3\u683c\u304b\u3064\u73fe\u5b9f\u7684\u306a\u5024\u306b\u8a2d\u5b9a\u3057\u3001 <strong>tcp-keepalive<\/strong> \u30c7\u30c3\u30c9\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u78ba\u5b9f\u306b\u691c\u51fa\u3059\u308b\u305f\u3081\u306b\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001 <strong>maxclients<\/strong>\u8a2d\u5b9a\u306b\u306fulimit\uff08<em>\u30d5\u30a1\u30a4\u30eb\u306a\u3057<\/em>\uff09\u3092\u4f7f\u7528\u3057\u3066\u3001\u8a18\u8ff0\u5b50\u306e\u6b20\u5982\u306b\u3088\u3063\u3066\u30d4\u30fc\u30af\u304c\u5931\u6557\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u307e\u305f\u3001Nagle \u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306f Redis \u306b\u306f\u5f79\u7acb\u3061\u307e\u305b\u3093\u3002\u30b5\u30fc\u30d0\u30fc\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u4e21\u65b9\u304c <strong>TCP_NODELAY<\/strong> \u56de\u7b54\u304c\u3059\u3050\u306b\u6d41\u308c\u51fa\u308b\u3088\u3046\u306b\u6d3b\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002.<\/p>\n\n<h2>I\/O\u30b9\u30ec\u30c3\u30c9\u3068TLS\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u52b9\u679c\u7684\u306b\u6d3b\u7528\u3059\u308b<\/h2>\n\n<p>Redis \u306f\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306e\u305f\u3081\u306b\u6b8b\u308a\u307e\u3059 <strong>\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9<\/strong>, \u3001\u305f\u3060\u3057\u30cd\u30c3\u30c8\u30ef\u30fc\u30af I\/O \u306f <strong>io\u30b9\u30ec\u30c3\u30c9<\/strong> \u8ca0\u8377\u3092\u8efd\u6e1b\u3057\u307e\u3059\u3002TLS \u306e\u8ca0\u8377\u304c\u9ad8\u3044\u5834\u5408\u3084\u30da\u30a4\u30ed\u30fc\u30c9\u304c\u5927\u304d\u3044\u5834\u5408\u306f\u3001\u9069\u5ea6\u306a\u8a2d\u5b9a\uff08\u4f8b\uff1a2\uff5e4 \u30b9\u30ec\u30c3\u30c9\uff09\u3092\u6709\u52b9\u306b\u3057\u3066\u3001 <em>io-threads-do-reads yes<\/em>. \u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30de\u30f3\u30c9\u306e CPU \u4f5c\u696d\u3067\u306f\u306a\u304f\u3001\u8aad\u307f\u53d6\u308a\/\u66f8\u304d\u8fbc\u307f\u304c\u9ad8\u901f\u5316\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u30b7\u30b9\u30c6\u30e0\u8ca0\u8377\u3068\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u3092\u76e3\u8996\u3057\u3066\u3044\u307e\u3059\u3002\u30b9\u30ec\u30c3\u30c9\u304c\u591a\u3059\u304e\u308b\u3068\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u304c\u5897\u52a0\u3057\u3001\u305d\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u76f8\u6bba\u3055\u308c\u3066\u3057\u307e\u3046\u304b\u3089\u3067\u3059\u3002TLS \u3092\u4f7f\u7528\u305b\u305a\u3001\u5c0f\u3055\u306a\u5fdc\u7b54\u3067\u4f5c\u696d\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u307b\u3068\u3093\u3069\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u305b\u3093\u304c\u3001TLS \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u78ba\u5b9f\u306b <strong>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u9045\u5ef6<\/strong>.<\/p>\n\n<h2>\u6709\u52b9\u671f\u9650\u3001TTL\u30b9\u30c8\u30fc\u30e0\u3001\u30ec\u30a4\u30b8\u30fc\u30d5\u30ea\u30fc<\/h2>\n\n<p>\u540c\u671f\u3057\u3066\u7d42\u4e86\u3059\u308b <strong>TTL<\/strong> \u30a8\u30af\u30b9\u30d1\u30a4\u30a2\u30b9\u30d1\u30a4\u30af\u3092\u767a\u751f\u3055\u305b\u307e\u3059\u3002TTL \u306b\u30b8\u30c3\u30bf\u30fc\u3092\u4ed8\u4e0e\u3057\u3001\u30d7\u30ed\u30bb\u30b9\u3092\u5206\u6563\u3055\u305b\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30a8\u30af\u30b9\u30d1\u30a4\u30a2\u8ca0\u8377\u3092\u4f4e\u304f\u6291\u3048\u307e\u3059\u3002\u5927\u898f\u6a21\u306a\u524a\u9664\u306f\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u305f\u3081\u3001\u79c1\u306f <strong>UNLINK<\/strong> DEL \u306e\u4ee3\u308f\u308a\u306b\u5927\u304d\u306a\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3001 <strong>lazyfree<\/strong>\u30aa\u30d7\u30b7\u30e7\u30f3\uff08\u4f8b\uff1a. <em>lazyfree-lazy-eviction<\/em>, <em>lazyfree-lazy-expire<\/em>, <em>lazyfree-lazy-server-del<\/em>\uff09\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30b9\u30c8\u306e\u304b\u304b\u308b\u30d5\u30ea\u30fc\u64cd\u4f5c\u306f\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30b9\u30ec\u30c3\u30c9\u306b\u79fb\u884c\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001INFO \u3067 Expire \u7d71\u8a08\u3092\u76e3\u8996\u3057\u3066\u3044\u307e\u3059\u3002\u5897\u52a0 <em>\u671f\u9650\u5207\u308c\u30ad\u30fc<\/em> \u305d\u3057\u3066 <em>evicted_keys<\/em> \u540c\u6642\u306b\u5f37\u3044\u5834\u5408\u3001\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u304c\u5927\u304d\u3059\u304e\u308b\u304b\u3001TTL\u6226\u7565\u306e\u30d0\u30e9\u30f3\u30b9\u304c\u60aa\u3044\u304b\u306e\u3069\u3061\u3089\u304b\u3067\u3059\u3002.<\/p>\n\n<h2>\u30e1\u30e2\u30ea\u306e\u65ad\u7247\u5316\u3068\u30a2\u30af\u30c6\u30a3\u30d6\u30c7\u30d5\u30e9\u30b0<\/h2>\n\n<p>\u9ad8\u3044 <strong>\u30e1\u30e2\u30ea\u65ad\u7247\u5316\u7387<\/strong> INFO \u306f\u65ad\u7247\u5316\u307e\u305f\u306f\u30b9\u30ef\u30c3\u30d7\u5727\u529b\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u306f <strong>activedefrag<\/strong> \u305d\u3057\u3066\u30b5\u30a4\u30af\u30eb\u3092\u8abf\u6574\u3059\u308b\uff08<em>active-defrag-cycle-min\/max<\/em>\uff09\u3092\u4f7f\u7528\u3057\u3066\u3001\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u306b\u904e\u5927\u306a\u8ca0\u8377\u3092\u304b\u3051\u308b\u3053\u3068\u306a\u304f\u3001\u6bb5\u968e\u7684\u306b\u30e1\u30e2\u30ea\u3092\u56de\u5fa9\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u4e2d\u898f\u6a21\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u66f4\u65b0\u3084\u524a\u9664\u304c\u591a\u3044\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3067\u7279\u306b\u6709\u52b9\u3067\u3059\u3002\u540c\u6642\u306b\u3001 <strong>\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<\/strong> \u5c0f\u3055\u306a\u69cb\u9020\u4f53\u3002\u8aa4\u3063\u3066\u8a2d\u5b9a\u3055\u308c\u305f\u30d1\u30c3\u30af\u5883\u754c\uff08\u30ea\u30b9\u30c8\u3001\u30cf\u30c3\u30b7\u30e5\u3001\u30bb\u30c3\u30c8\uff09\u306f\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3068 CPU \u3092\u5897\u52a0\u3055\u305b\u308b\u305f\u3081\u3067\u3059\u3002\u76ee\u6a19\u306f\u30d0\u30e9\u30f3\u30b9\u3067\u3059\u3002\u52b9\u7387\u6027\u3092\u78ba\u4fdd\u3059\u308b\u306e\u306b\u5341\u5206\u306a\u30d1\u30c3\u30af\u3067\u3042\u308a\u306a\u304c\u3089\u3001\u66f4\u65b0\u306e\u30b3\u30b9\u30c8\u3092\u9ad8\u3081\u308b\u307b\u3069\u5927\u304d\u306a\u30d1\u30c3\u30af\u69cb\u9020\u4f53\u3067\u306f\u306a\u3044\u3053\u3068\u3067\u3059\u3002\u307e\u305f\u3001\u5927\u304d\u306a\u300c\u30aa\u30fc\u30eb\u30fb\u30aa\u30a2\u30fb\u30ca\u30c3\u30b7\u30f3\u30b0\u300d\u306e\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3092\u907f\u3051\u3001\u524a\u9664\u3092 1 \u65e5\u3092\u901a\u3057\u3066\u5206\u6563\u3059\u308b\u3053\u3068\u3067\u3001\u65ad\u7247\u5316\u3092\u89e3\u6c7a\u3057\u3066\u3044\u307e\u3059\u3002.<\/p>\n\n<h2>\u30af\u30e9\u30b9\u30bf\u3001\u30b7\u30e3\u30fc\u30c7\u30a3\u30f3\u30b0\u3001\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u3092\u7ba1\u7406<\/h2>\n\n<p>\u30b7\u30e3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u3001\u30db\u30c3\u30c8\u30ad\u30fc\u304c\u3059\u3079\u3066\u540c\u3058\u30b7\u30e3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u5c5e\u3057\u3066\u3044\u308b\u5834\u5408\u3092\u9664\u304d\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3092\u4f4e\u6e1b\u3057\u307e\u3059\u3002\u79c1\u306f <strong>\u30cf\u30c3\u30b7\u30e5\u30bf\u30b0<\/strong>, \u95a2\u9023\u30ad\u30fc\u3092\u307e\u3068\u3081\u3066\u4fdd\u6301\u3057\u3001\u983b\u7e41\u306b\u4f7f\u7528\u3055\u308c\u308b\u30ad\u30fc\u306f\u610f\u56f3\u7684\u306b\u5206\u6563\u3055\u305b\u307e\u3059\u3002\u30de\u30eb\u30c1\u30ad\u30fc\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30af\u30e9\u30b9\u30bf\u5185\u3067\u306f\u30b9\u30ed\u30c3\u30c8\u5185\u3067\u3057\u304b\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002\u79c1\u306f\u3001\u3053\u308c\u3089\u306e\u64cd\u4f5c\u304c\u30b9\u30ed\u30c3\u30c8\u3092\u6a2a\u65ad\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u3088\u3046\u306b\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3092\u8a2d\u8a08\u3057\u3066\u3044\u307e\u3059\u3002\u30ea\u30b7\u30e3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u306f\u3001\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306e\u8c37\u3092\u751f\u6210\u3057\u306a\u3044\u3088\u3046\u306b\u30b9\u30e0\u30fc\u30ba\u306a\u79fb\u52d5\u306b\u6ce8\u610f\u3057\u3001 <strong>MOVED\/ASK<\/strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ec\u30fc\u30c8\u3002\u7d14\u7c8b\u306b\u8aad\u307f\u53d6\u308a\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u30ec\u30d7\u30ea\u30ab\u3092\u5229\u7528\u3057\u307e\u3059\u304c\u3001\u4e00\u8cab\u6027\u306e\u8981\u4ef6\u306b\u3082\u6ce8\u610f\u3092\u6255\u3044\u307e\u3059\u3002\u8a08\u753b\u306a\u3057\u306b\u30b7\u30e3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u884c\u3046\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u30e9\u30b0\u304c\u5206\u6563\u3055\u308c\u305f\u3001\u898b\u3064\u3051\u306b\u304f\u3044\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u30d4\u30fc\u30af\u306b\u7f6e\u304d\u63db\u308f\u308a\u307e\u3059\u3002.<\/p>\n\n<h2>\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001\u30d0\u30c3\u30af\u30ed\u30b0\u3001\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc<\/h2>\n\n<p>\u5b89\u5b9a\u3057\u305f\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u308a\u3001\u5b8c\u5168\u306a\u518d\u540c\u671f\u3084\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u30d4\u30fc\u30af\u304c\u767a\u751f\u3057\u307e\u305b\u3093\u3002\u79c1\u306f\u30b5\u30a4\u30ba\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002 <strong>repl-backlog-size<\/strong> PSYNC \u306b\u3088\u3063\u3066\u3001\u77ed\u3044\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e2d\u65ad\u5f8c\u306e\u30ec\u30d7\u30ea\u30ab\u304c\u8ffd\u3044\u3064\u304f\u3088\u3046\u306b\u3001\u4f59\u88d5\u3092\u6301\u305f\u305b\u3066\u304f\u3060\u3055\u3044\u3002. <strong>\u30c7\u30a3\u30b9\u30af\u30ec\u30b9\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong> (<em>repl-diskless-sync yes<\/em>\uff09\u306f\u540c\u671f\u4e2d\u306bI\/O\u3092\u7bc0\u7d04\u3057\u307e\u3059\u304c\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8981\u4ef6\u306f\u4f4e\u4e0b\u3057\u307e\u305b\u3093\u3002\u5e2f\u57df\u5e45\u306f\u9069\u5207\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002. <strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u51fa\u529b\u30d0\u30c3\u30d5\u30a1\u5236\u9650<\/strong> \u30ec\u30d7\u30ea\u30ab\u304a\u3088\u3073\u30d1\u30d6\/\u30b5\u30d6\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u4f4e\u901f\u306e\u30ea\u30fc\u30c0\u30fc\u304c\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002 <strong>min-replicas-to-write<\/strong> \u8010\u4e45\u6027\u3068\u53ef\u7528\u6027\u306e\u30d0\u30e9\u30f3\u30b9\u3092\u3068\u308a\u307e\u3059\u3002\u4e00\u90e8\u306e\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3067\u306f\u6709\u52b9\u3067\u3059\u304c\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u304c\u91cd\u8981\u306a\u30d1\u30b9\u3067\u306f\u6709\u52b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u91cd\u8981\uff1a\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u91cf\u3067\u5b9a\u671f\u7684\u306b\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u3092\u7df4\u7fd2\u3057\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u8abf\u6574\u3057\u3066\u3001\u5b9f\u969b\u306e\u969c\u5bb3\u304c\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u306e\u8ced\u3051\u4e8b\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002.<\/p>\n\n<h2>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d0\u30c3\u30af\u30d7\u30ec\u30c3\u30b7\u30e3\u30fc\u3068\u51fa\u529b\u30d0\u30c3\u30d5\u30a1<\/h2>\n\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c Redis \u304c\u751f\u6210\u3059\u308b\u30c7\u30fc\u30bf\u3088\u308a\u3082\u9045\u3044\u901f\u5ea6\u3067\u30c7\u30fc\u30bf\u3092\u6d88\u8cbb\u3059\u308b\u5834\u5408\u3001\u30c7\u30fc\u30bf\u306f\u5897\u52a0\u3057\u307e\u3059\u3002 <strong>\u51fa\u529b\u30d0\u30c3\u30d5\u30a1<\/strong>. \u79c1\u306f\u660e\u78ba\u306a\u5883\u754c\u7dda\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff08<em>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u51fa\u529b\u30d0\u30c3\u30d5\u30a1\u5236\u9650<\/em> \u901a\u5e38\u3001pubsub\u3001\u30ec\u30d7\u30ea\u30ab\uff09\u3068\u30ed\u30b0\u306e\u30c9\u30ed\u30c3\u30d7\u3092\u76e3\u8996\u3057\u3066\u3001\u554f\u984c\u306e\u3042\u308b\u5019\u88dc\u3092\u898b\u3064\u3051\u307e\u3059\u3002Pub\/Sub\u30d5\u30a1\u30f3\u30a2\u30a6\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u300c\u30aa\u30fc\u30eb\u30c1\u30e3\u30f3\u30cd\u30eb\u300d\u3088\u308a\u3082\u3001\u3088\u308a\u5c0f\u3055\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u30c6\u30fc\u30de\u5225\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u597d\u307f\u307e\u3059\u3002\u30ad\u30fc\u30b9\u30da\u30fc\u30b9\u901a\u77e5\u306f\u3001\u7bc4\u56f2\u304c\u5e83\u3059\u304e\u308b\u305f\u3081\u3001\u7279\u5b9a\u306e\u76ee\u7684\u3067\u306e\u307f\u6709\u52b9\u306b\u3057\u307e\u3059\u3002 <em>notify-keyspace-events<\/em> CPU \u306e\u30b3\u30b9\u30c8\u304c\u9855\u8457\u306b\u5897\u52a0\u3057\u307e\u3059\u3002\u30d0\u30c3\u30af\u30d7\u30ec\u30c3\u30b7\u30e3\u30fc\u306f\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u554f\u984c\u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002\u500b\u3005\u306e\u30b5\u30d6\u30b9\u30af\u30e9\u30a4\u30d0\u30fc\u306b\u904e\u5927\u306a\u8ca0\u8377\u3092\u304b\u3051\u308b 1 \u3064\u306e\u5927\u304d\u306a\u30b9\u30c8\u30ea\u30fc\u30e0\u3088\u308a\u3082\u3001\u8907\u6570\u306e\u7279\u6b8a\u5316\u3055\u308c\u305f\u30b9\u30c8\u30ea\u30fc\u30e0\/\u30c1\u30e3\u30cd\u30eb\u306e\u65b9\u304c\u671b\u307e\u3057\u3044\u3067\u3059\u3002.<\/p>\n\n<h2>\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\uff1a\u30bd\u30b1\u30c3\u30c8\u3001\u30d5\u30a1\u30a4\u30eb\u3001VM<\/h2>\n\n<p>THP \u306b\u52a0\u3048\u3066\u3001\u30ab\u30fc\u30cd\u30eb\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3082 <strong>\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc<\/strong> \u306f\u3063\u304d\u308a\u3002\u79c1\u306f\u5897\u984d\u3057\u307e\u3059\u3002 <em>somaxconn<\/em> \u304a\u3088\u3073\u30d0\u30c3\u30af\u30ed\u30b0\u306e\u5024\u3001\u9069\u5408 <em>fs.file-max<\/em> \u304a\u3088\u3073 ulimit (<em>\u30d5\u30a1\u30a4\u30eb\u306a\u3057<\/em>) \u3092\u62bc\u3057\u3066\u3001 <em>tcp_keepalive_time<\/em> \u30cf\u30f3\u30ac\u30fc\u3092\u907f\u3051\u308b\u306e\u306b\u5341\u5206\u306a\u307b\u3069\u4f4e\u3044\u3002. <em>vm.swappiness<\/em> \u79c1\u306f\u975e\u5e38\u306b\u6df1\u304f\u3001\u591a\u304f\u306e\u5834\u5408 1 \u306b\u8fd1\u304f\u8a2d\u5b9a\u3057\u307e\u3059\u3002 <em>vm.overcommit_memory<\/em> 1\u306b\u8a2d\u5b9a\u3057\u3066\u3001\u30d5\u30a9\u30fc\u30af\u306e\u901a\u904e\u3092\u9ad8\u901f\u5316\u3057\u307e\u3059\u3002CPU\u30ac\u30d0\u30ca\u30fc\u3092\u300c\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u300d\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u8ca0\u8377\u5909\u52d5\u6642\u306e\u5468\u6ce2\u6570\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u3092\u9632\u6b62\u3067\u304d\u307e\u3059\u3002\u30b9\u30c8\u30ec\u30fc\u30b8\u5074\u3067\u306f\u3001\u53ef\u80fd\u3067\u3042\u308c\u3070\u300c\u30ce\u30a4\u30ba\u306e\u591a\u3044\u96a3\u4eba\u300d\u3092\u6392\u9664\u3057\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b8\u30e7\u30d6\u304b\u3089\u30c7\u30fc\u30bf\u3092\u5206\u96e2\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3059\u3079\u3066\u3001\u5c0f\u3055\u306a\u8abf\u6574\u8981\u7d20\u3067\u3059\u304c\u3001\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067 <strong>\u30b8\u30c3\u30bf\u30fc<\/strong> 99\u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u306b\u9054\u3059\u308b\u3002.<\/p>\n\n<h2>\u73fe\u5b9f\u7684\u306a\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3001\u597d\u6cc1\u6642\u306e\u6570\u5b57\u3067\u306f\u306a\u304f<\/h2>\n\n<p><em>redis-\u30d9\u30f3\u30c1\u30de\u30fc\u30af<\/em> \u6709\u7528\u306a\u50be\u5411\u3092\u63d0\u4f9b\u3057\u307e\u3059\u304c\u3001\u5b9f\u969b\u306e\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306f\u7570\u306a\u308a\u307e\u3059\uff1a\u30b3\u30de\u30f3\u30c9\u30df\u30c3\u30af\u30b9\u3001\u30da\u30a4\u30ed\u30fc\u30c9\u30b5\u30a4\u30ba\u3001, <strong>\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u51e6\u7406<\/strong>, \u3001\u63a5\u7d9a\u6570\u3001TLS\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d4c\u8def\u3002\u79c1\u306f\u3001\u751f\u7523\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u884c\u3044\u3001 <em>-c<\/em> \uff08\u540c\u6642\u5b9f\u884c\u6027\uff09\u304a\u3088\u3073 <em>-P<\/em> \uff08\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\uff09\u3068\u3001\u9577\u671f\u9593\u306b\u308f\u305f\u308b\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002\u30ad\u30e3\u30c3\u30b7\u30e5\u3001JIT\u3001TCP \u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u73fe\u5b9f\u7684\u306b\u6a5f\u80fd\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30b3\u30fc\u30eb\u30c9\u30d5\u30a7\u30fc\u30ba\u3068\u30a6\u30a9\u30fc\u30e0\u30d5\u30a7\u30fc\u30ba\u304c\u91cd\u8981\u3067\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d1\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u30be\u30fc\u30f3\u5909\u66f4\u3092\u8a55\u4fa1\u3059\u308b\u305f\u3081\u306b\u3001\u4eba\u5de5\u7684\u306a RTT\/\u30b8\u30c3\u30bf\u30fc\u6ce8\u5165\u3092\u6642\u6298\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u91cd\u8981\u306a\u306e\u306f\u3001\u30d9\u30b9\u30c8\u30b1\u30fc\u30b9\u306e\u6570\u5024\u3067\u306f\u306a\u304f\u3001\u305d\u306e\u5b89\u5b9a\u6027\u3067\u3059\u3002 <strong>95\/99\u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb<\/strong> \u8ca0\u8377\u304c\u304b\u304b\u3063\u305f\u307e\u307e\u306e\u72b6\u614b\u3092\u7dad\u6301\u3059\u308b\u3002.<\/p>\n\n<h2>\u8a3a\u65ad\u30c4\u30fc\u30eb\u3092\u7684\u3092\u7d5e\u3063\u3066\u6d3b\u7528\u3059\u308b<\/h2>\n\n<p>INFO \u3068 Slow Log \u306e\u307b\u304b\u306b\u3001\u79c1\u306f\u4ee5\u4e0b\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002 <strong>\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u30c9\u30af\u30bf\u30fc<\/strong>, \u4f53\u7cfb\u7684\u306a\u30b9\u30d1\u30a4\u30af\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u3001\u304a\u3088\u3073 <strong>\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u30b0\u30e9\u30d5\/\u5c65\u6b74<\/strong> \u6642\u9593\u7684\u306a\u4f4d\u7f6e\u4ed8\u3051\u306e\u305f\u3081\u306b\u3002. <strong>\u30e1\u30e2\u30ea\u7d71\u8a08\/\u30c9\u30af\u30bf\u30fc<\/strong> \u30e1\u30e2\u30ea\u304c\u7121\u99c4\u306b\u306a\u3063\u3066\u3044\u308b\u7b87\u6240\u3092\u8868\u793a\u3057\u307e\u3059\u3002MONITOR \u306f\u77ed\u671f\u9593\u304b\u3064\u5b64\u7acb\u3057\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u306e\u307f\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306f\u73fe\u5b9f\u7684\u306a\u554f\u984c\u3067\u3059\u3002\u30db\u30b9\u30c8\u3067\u306f\u3001 <em>iostat<\/em>, <em>vmstat<\/em>, <em>pidstat<\/em> \u305d\u3057\u3066 <em>ss<\/em>, I\/O \u5f85\u6a5f\u3001\u30e9\u30f3\u30ad\u30e5\u30fc\u3001\u30bd\u30b1\u30c3\u30c8\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u76ee\u6a19\u306f\u3001\u4eee\u8aac\u306b\u57fa\u3065\u304f\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3067\u3059\u3002\u30e1\u30c8\u30ea\u30c3\u30af \u2192 \u7591\u308f\u3057\u3044\u70b9 \u2192 \u53cd\u8a3c\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u76f2\u76ee\u7684\u306a\u8abf\u6574\u3092\u907f\u3051\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3092\u6e2c\u5b9a\u53ef\u80fd\u306b\u4f4e\u6e1b\u3059\u308b\u5bfe\u7b56\u3092\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002.<\/p>\n\n<h2>\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\uff1aRedis \u306e\u9ad8\u901f\u6027\u3092\u7dad\u6301\u3059\u308b\u65b9\u6cd5<\/h2>\n\n<p>\u79c1\u306f\u3001\u6b21\u306e\u65b9\u6cd5\u3067 Redis \u306e\u901f\u5ea6\u4f4e\u4e0b\u3092\u9632\u304e\u307e\u3059\u3002 <strong>\u30b9\u30ef\u30c3\u30d7<\/strong> \u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u3001\u30e1\u30e2\u30ea\u3092\u53b3\u5bc6\u306b\u7ba1\u7406\u3057\u3001\u9069\u5207\u306a\u5224\u65ad\u3067\u6c38\u7d9a\u6027\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002THP \u3092\u30aa\u30d5\u306b\u3057\u3001SSD \u3092\u30aa\u30f3\u306b\u3057\u3001\u30d5\u30a9\u30fc\u30af\u306e\u983b\u5ea6\u3092\u6e1b\u3089\u3059\u3053\u3068\u3067\u3001\u307b\u3068\u3093\u3069\u306e\u30d4\u30fc\u30af\u306f\u89e3\u6d88\u3055\u308c\u307e\u3059\u3002\u9ad8\u4fa1\u306a\u30b3\u30de\u30f3\u30c9\u306f\u30b9\u30ed\u30fc\u30ed\u30b0\u3067\u8a8d\u8b58\u3057\u3001\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3092\u8abf\u6574\u3057\u3066\u3001\u30db\u30c3\u30c8\u30d1\u30b9\u3092\u30b9\u30ea\u30e0\u306b\u4fdd\u3061\u307e\u3059\u3002Redis \u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8fd1\u304f\u306b\u914d\u7f6e\u3057\u3001CPU \u3092\u9069\u5207\u306b\u30b5\u30a4\u30ba\u8a2d\u5b9a\u3057\u3001\u8ca0\u8377\u3092\u8907\u6570\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u5206\u6563\u3057\u307e\u3059\u3002 \u4e00\u8cab\u3057\u305f\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u306b\u3088\u308a\u3001\u30c8\u30ec\u30f3\u30c9\u3092\u65e9\u671f\u306b\u8a8d\u8b58\u3057\u3001\u300credis slow hosting\u300d\u306e\u5f71\u97ff\u3082\u6c38\u7d9a\u7684\u306b\u6291\u5236\u3057\u307e\u3059\u3002.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30e1\u30e2\u30ea\u6280\u8853\u3092\u63a1\u7528\u3057\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001Redis\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u901f\u5ea6\u304c\u9045\u3044\u7406\u7531\u3068\u3001Redis\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306b\u3088\u3063\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5927\u5e45\u306b\u6539\u5584\u3055\u308c\u308b\u7406\u7531\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002.<\/p>","protected":false},"author":1,"featured_media":15864,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"categories":[733],"tags":[],"class_list":["post-15871","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"acf":[],"_wp_attached_file":null,"_wp_attachment_metadata":null,"litespeed-optimize-size":null,"litespeed-optimize-set":null,"_elementor_source_image_hash":null,"_wp_attachment_image_alt":null,"stockpack_author_name":null,"stockpack_author_url":null,"stockpack_provider":null,"stockpack_image_url":null,"stockpack_license":null,"stockpack_license_url":null,"stockpack_modification":null,"color":null,"original_id":null,"original_url":null,"original_link":null,"unsplash_location":null,"unsplash_sponsor":null,"unsplash_exif":null,"unsplash_attachment_metadata":null,"_elementor_is_screenshot":null,"surfer_file_name":null,"surfer_file_original_url":null,"envato_tk_source_kit":null,"envato_tk_source_index":null,"envato_tk_manifest":null,"envato_tk_folder_name":null,"envato_tk_builder":null,"envato_elements_download_event":null,"_menu_item_type":null,"_menu_item_menu_item_parent":null,"_menu_item_object_id":null,"_menu_item_object":null,"_menu_item_target":null,"_menu_item_classes":null,"_menu_item_xfn":null,"_menu_item_url":null,"_trp_menu_languages":null,"rank_math_primary_category":null,"rank_math_title":null,"inline_featured_image":null,"_yoast_wpseo_primary_category":null,"rank_math_schema_blogposting":null,"rank_math_schema_videoobject":null,"_oembed_049c719bc4a9f89deaead66a7da9fddc":null,"_oembed_time_049c719bc4a9f89deaead66a7da9fddc":null,"_yoast_wpseo_focuskw":null,"_yoast_wpseo_linkdex":null,"_oembed_27e3473bf8bec795fbeb3a9d38489348":null,"_oembed_c3b0f6959478faf92a1f343d8f96b19e":null,"_trp_translated_slug_en_us":null,"_wp_desired_post_slug":null,"_yoast_wpseo_title":null,"tldname":null,"tldpreis":null,"tldrubrik":null,"tldpolicylink":null,"tldsize":null,"tldregistrierungsdauer":null,"tldtransfer":null,"tldwhoisprivacy":null,"tldregistrarchange":null,"tldregistrantchange":null,"tldwhoisupdate":null,"tldnameserverupdate":null,"tlddeletesofort":null,"tlddeleteexpire":null,"tldumlaute":null,"tldrestore":null,"tldsubcategory":null,"tldbildname":null,"tldbildurl":null,"tldclean":null,"tldcategory":null,"tldpolicy":null,"tldbesonderheiten":null,"tld_bedeutung":null,"_oembed_d167040d816d8f94c072940c8009f5f8":null,"_oembed_b0a0fa59ef14f8870da2c63f2027d064":null,"_oembed_4792fa4dfb2a8f09ab950a73b7f313ba":null,"_oembed_33ceb1fe54a8ab775d9410abf699878d":null,"_oembed_fd7014d14d919b45ec004937c0db9335":null,"_oembed_21a029d076783ec3e8042698c351bd7e":null,"_oembed_be5ea8a0c7b18e658f08cc571a909452":null,"_oembed_a9ca7a298b19f9b48ec5914e010294d2":null,"_oembed_f8db6b27d08a2bb1f920e7647808899a":null,"_oembed_168ebde5096e77d8a89326519af9e022":null,"_oembed_cdb76f1b345b42743edfe25481b6f98f":null,"_oembed_87b0613611ae54e86e8864265404b0a1":null,"_oembed_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_oembed_time_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_tldname":null,"_tldclean":null,"_tldpreis":null,"_tldcategory":null,"_tldsubcategory":null,"_tldpolicy":null,"_tldpolicylink":null,"_tldsize":null,"_tldregistrierungsdauer":null,"_tldtransfer":null,"_tldwhoisprivacy":null,"_tldregistrarchange":null,"_tldregistrantchange":null,"_tldwhoisupdate":null,"_tldnameserverupdate":null,"_tlddeletesofort":null,"_tlddeleteexpire":null,"_tldumlaute":null,"_tldrestore":null,"_tldbildname":null,"_tldbildurl":null,"_tld_bedeutung":null,"_tldbesonderheiten":null,"_oembed_ad96e4112edb9f8ffa35731d4098bc6b":null,"_oembed_8357e2b8a2575c74ed5978f262a10126":null,"_oembed_3d5fea5103dd0d22ec5d6a33eff7f863":null,"_eael_widget_elements":null,"_oembed_0d8a206f09633e3d62b95a15a4dd0487":null,"_oembed_time_0d8a206f09633e3d62b95a15a4dd0487":null,"_aioseo_description":null,"_eb_attr":null,"_eb_data_table":null,"_oembed_819a879e7da16dd629cfd15a97334c8a":null,"_oembed_time_819a879e7da16dd629cfd15a97334c8a":null,"_acf_changed":null,"_wpcode_auto_insert":null,"_edit_last":null,"_edit_lock":null,"_oembed_e7b913c6c84084ed9702cb4feb012ddd":null,"_oembed_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_time_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_03514b67990db061d7c4672de26dc514":null,"_oembed_time_03514b67990db061d7c4672de26dc514":null,"rank_math_news_sitemap_robots":null,"rank_math_robots":null,"_eael_post_view_count":"3080","_trp_automatically_translated_slug_ru_ru":null,"_trp_automatically_translated_slug_et":null,"_trp_automatically_translated_slug_lv":null,"_trp_automatically_translated_slug_fr_fr":null,"_trp_automatically_translated_slug_en_us":null,"_wp_old_slug":null,"_trp_automatically_translated_slug_da_dk":null,"_trp_automatically_translated_slug_pl_pl":null,"_trp_automatically_translated_slug_es_es":null,"_trp_automatically_translated_slug_hu_hu":null,"_trp_automatically_translated_slug_fi":null,"_trp_automatically_translated_slug_ja":null,"_trp_automatically_translated_slug_lt_lt":null,"_elementor_edit_mode":null,"_elementor_template_type":null,"_elementor_version":null,"_elementor_pro_version":null,"_wp_page_template":null,"_elementor_page_settings":null,"_elementor_data":null,"_elementor_css":null,"_elementor_conditions":null,"_happyaddons_elements_cache":null,"_oembed_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_time_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_time_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_59808117857ddf57e478a31d79f76e4d":null,"_oembed_time_59808117857ddf57e478a31d79f76e4d":null,"_oembed_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_time_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_81002f7ee3604f645db4ebcfd1912acf":null,"_oembed_time_81002f7ee3604f645db4ebcfd1912acf":null,"_elementor_screenshot":null,"_oembed_7ea3429961cf98fa85da9747683af827":null,"_oembed_time_7ea3429961cf98fa85da9747683af827":null,"_elementor_controls_usage":null,"_elementor_page_assets":[],"_elementor_screenshot_failed":null,"theplus_transient_widgets":null,"_eael_custom_js":null,"_wp_old_date":null,"_trp_automatically_translated_slug_it_it":null,"_trp_automatically_translated_slug_pt_pt":null,"_trp_automatically_translated_slug_zh_cn":null,"_trp_automatically_translated_slug_nl_nl":null,"_trp_automatically_translated_slug_pt_br":null,"_trp_automatically_translated_slug_sv_se":null,"rank_math_analytic_object_id":null,"rank_math_internal_links_processed":null,"_trp_automatically_translated_slug_ro_ro":null,"_trp_automatically_translated_slug_sk_sk":null,"_trp_automatically_translated_slug_bg_bg":null,"_trp_automatically_translated_slug_sl_si":null,"litespeed_vpi_list":null,"litespeed_vpi_list_mobile":null,"rank_math_seo_score":null,"rank_math_contentai_score":null,"ilj_limitincominglinks":null,"ilj_maxincominglinks":null,"ilj_limitoutgoinglinks":null,"ilj_maxoutgoinglinks":null,"ilj_limitlinksperparagraph":null,"ilj_linksperparagraph":null,"ilj_blacklistdefinition":null,"ilj_linkdefinition":null,"_eb_reusable_block_ids":null,"rank_math_focus_keyword":"redis tuning","rank_math_og_content_image":null,"_yoast_wpseo_metadesc":null,"_yoast_wpseo_content_score":null,"_yoast_wpseo_focuskeywords":null,"_yoast_wpseo_keywordsynonyms":null,"_yoast_wpseo_estimated-reading-time-minutes":null,"rank_math_description":null,"surfer_last_post_update":null,"surfer_last_post_update_direction":null,"surfer_keywords":null,"surfer_location":null,"surfer_draft_id":null,"surfer_permalink_hash":null,"surfer_scrape_ready":null,"_thumbnail_id":"15864","footnotes":null,"_links":{"self":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/15871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/comments?post=15871"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/15871\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media\/15864"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media?parent=15871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/categories?post=15871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/tags?post=15871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}