{"id":4872,"date":"2020-01-01T00:00:00","date_gmt":"2019-12-31T15:00:00","guid":{"rendered":"https:\/\/majisemi.com\/topics\/uncategorized\/4872\/"},"modified":"2020-01-01T00:00:00","modified_gmt":"2019-12-31T15:00:00","slug":"%e3%80%90oss%e6%83%85%e5%a0%b1%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%96%e3%80%91memcached","status":"publish","type":"post","link":"https:\/\/majisemi.com\/topics\/oss\/4872\/","title":{"rendered":"\u3010OSS\u60c5\u5831\u30a2\u30fc\u30ab\u30a4\u30d6\u3011memcached"},"content":{"rendered":"<p><small><span style=\"border-bottom: solid 5px red;\">\u203b\u5f53\u8a18\u4e8b\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u306f\u3001\u53e4\u304f\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u30aa\u30d5\u30a3\u30b7\u30e3\u30eb\u30b5\u30a4\u30c8\u3067\u6700\u65b0\u60c5\u5831\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/span><\/small><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u30b3\u30f3\u30c6\u30f3\u30c4<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/majisemi.com\/topics\/oss\/4872\/#%E3%80%8Cmemcached%E3%80%8D%E3%81%A8%E3%81%AF\" >\u300cmemcached\u300d\u3068\u306f<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/majisemi.com\/topics\/oss\/4872\/#%E5%9F%BA%E6%9C%AC%E6%83%85%E5%A0%B1%E6%A6%82%E8%A6%81memcached%E3%83%A1%E3%83%A0%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5%E3%83%87%E3%82%A3%E3%83%BC%E3%81%A8%E3%81%AF%E3%80%81%E9%AB%98%E6%80%A7%E8%83%BD%E5%88%86%E6%95%A3%E3%83%A1%E3%83%A2%E3%83%AA%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7%E3%81%99%E3%80%82%E6%97%A2%E5%AD%98%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%81%AB%E5%B0%8E%E5%85%A5%E3%81%97%E3%81%A6%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%83%AC%E3%82%B9%E3%83%9D%E3%83%B3%E3%82%B9%E3%81%AE%E9%AB%98%E9%80%9F%E5%8C%96%E3%82%92%E5%9B%B3%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%E5%9F%BA%E6%9C%AC%E8%AA%AC%E6%98%8E\" >\u57fa\u672c\u60c5\u5831\u6982\u8981memcached(\u30e1\u30e0\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30fc)\u3068\u306f\u3001\u9ad8\u6027\u80fd\u5206\u6563\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u3067\u3059\u3002\u65e2\u5b58\u30b7\u30b9\u30c6\u30e0\u306b\u5c0e\u5165\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u9ad8\u901f\u5316\u3092\u56f3\u308c\u307e\u3059\u3002\u57fa\u672c\u8aac\u660e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/majisemi.com\/topics\/oss\/4872\/#%E4%B8%BB%E3%81%AA%E7%89%B9%E5%BE%B4%E6%8F%AE%E7%99%BA%E6%80%A7%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5\" >\u4e3b\u306a\u7279\u5fb4\u63ee\u767a\u6027\u30ad\u30e3\u30c3\u30b7\u30e5<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1 class=\"h1Custom\"><span class=\"ez-toc-section\" id=\"%E3%80%8Cmemcached%E3%80%8D%E3%81%A8%E3%81%AF\"><\/span>\u300cmemcached\u300d\u3068\u306f<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div class=\"main-c\">\n<h3 class=\"h2smalltitle\">\u57fa\u672c\u60c5\u5831<\/h2>\n<h3 class=\"h2smalltitle\">\u6982\u8981<\/h2>\n<p><strong>memcached<\/strong>(\u30e1\u30e0\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30fc)\u3068\u306f\u3001\u9ad8\u6027\u80fd\u5206\u6563\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u3067\u3059\u3002\u65e2\u5b58\u30b7\u30b9\u30c6\u30e0\u306b\u5c0e\u5165\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u9ad8\u901f\u5316\u3092\u56f3\u308c\u307e\u3059\u3002<\/p>\n<h4 class=\"subtitle-h4\">\u57fa\u672c\u8aac\u660e<\/h3>\n<p>\u300cmemcached\u300d\u306f\u300cmemory cache daemon\u300d\u306e\u7565\u8868\u8a18\u3067\u3059\u3002<\/p>\n<p>memcached\u306f\u3001\u30e1\u30e2\u30ea\u4e0a\u3067\u52d5\u4f5c\u3059\u308b\u30ad\u30fc\u30d0\u30ea\u30e5\u30fc\u578b\u63ee\u767a\u6027\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u554f\u3044\u5408\u308f\u305b\u7d50\u679c(\u30c7\u30fc\u30bf\/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\u3092\u4e00\u6642\u7684\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3001\u6b21\u306b\u540c\u3058\u30c7\u30fc\u30bf\u304c\u53c2\u7167\u3055\u308c\u305f\u6642\u306b\u30e1\u30e2\u30ea\u304b\u3089\u5373\u5ea7\u306b\u8fd4\u305b\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u56de\u6570\u3092\u6e1b\u3089\u3057\u3001\u52d5\u7684Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u9ad8\u901f\u5316\/\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u5411\u4e0a\u306e\u305f\u3081\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5de8\u5927\u306a\u5206\u6563\u30ad\u30e3\u30c3\u30b7\u30e5\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3067\u304d\u3001\u30b5\u30fc\u30d0\u53f0\u6570\u3092\u5897\u3084\u3059\u3053\u3068\u3067\u6027\u80fd\u3092\u5411\u4e0a\u3067\u304d\u308b\u305f\u3081\u3001\u5927\u898f\u6a21Web\u30b5\u30fc\u30d3\u30b9\u306a\u3069\u3067\u3088\u304f\u7528\u3044\u3089\u308c\u307e\u3059\u3002\u7279\u5b9a\u306e\u74b0\u5883\u306e\u307f\u3067\u4f7f\u7528\u3057\u305f\u308a\u3001\u65e2\u5b58\u306e\u74b0\u5883\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u3044\u30e1\u30e2\u30ea\u3092\u6d3b\u7528\u3059\u308b\u624b\u6bb5\u3068\u3057\u3066\u3082\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4 class=\"subtitle-h4\">\u7d4c\u7def<\/h3>\n<p>memcached\u306f\u3001Danga Interactive\u793e\u304c\u4e2d\u5fc3\u3068\u306a\u3063\u3066\u958b\u767a\u3055\u308c\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u3002<\/p>\n<h3 class=\"h2smalltitle\">\u4e3b\u306a\u7279\u5fb4<\/h2>\n<h4 class=\"subtitle-h4\">\u63ee\u767a\u6027\u30ad\u30e3\u30c3\u30b7\u30e5<\/h3>\n<p>memcached\u306f\u30e1\u30e2\u30ea\u4e0a\u306b\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u305f\u3081\u3001\u975e\u5e38\u306b\u9ad8\u901f\u306a\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f\/\u66f8\u304d\u8fbc\u307f\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u63ee\u767a\u6027\u3067\u3042\u308b\u305f\u3081\u3001memcached\u81ea\u4f53\u306e\u505c\u6b62\/\u30cf\u30fc\u30c9\u96fb\u6e90\u55aa\u5931\u306a\u3069\u304c\u767a\u751f\u3059\u308b\u3068\u3001memcached\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u306f\u6d88\u5931\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30e1\u30e2\u30ea\u304c\u6307\u5b9a\u3055\u308c\u305f\u5bb9\u91cf\u306b\u9054\u3059\u308b\u3068\u3001LRU(Least Recently Used)\u306b\u57fa\u3065\u3044\u3066\u5229\u7528\u3055\u308c\u306a\u3044\u30ad\u30e3\u30c3\u30b7\u30e5\u304b\u3089\u81ea\u52d5\u7684\u306b\u524a\u9664\u3055\u308c\u3066\u3044\u304d\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u3088\u3046\u306b\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u3042\u304f\u307e\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u69cb\u3068\u3057\u3066\u306e\u4f7f\u7528\u304c\u60f3\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4 class=\"subtitle-h4\">\u8ca0\u8377\u5206\u6563\u300c\u30b3\u30f3\u30b7\u30b9\u30c6\u30f3\u30c8\u30fb\u30cf\u30c3\u30b7\u30f3\u30b0\u300d<\/h3>\n<p>memcached\u306f\u3001\u300c\u30b3\u30f3\u30b7\u30b9\u30c6\u30f3\u30c8\u30cf\u30c3\u30b7\u30f3\u30b0(Consistent Hashing)\u300d\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306b\u3088\u3063\u3066\u30c7\u30fc\u30bf\u5206\u5272\/\u8ca0\u8377\u5206\u6563\u3092\u884c\u3044\u307e\u3059\u3002\u5206\u6563\u578b\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u6210\u3059\u308b\u5404\u30ce\u30fc\u30c9(memcached)\u304c\u3001\u8ad6\u7406\u7684\u306b\u30ea\u30f3\u30b0(\u8f2a)\u3092\u5f62\u4f5c\u308b\u3088\u3046\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4 class=\"subtitle-h4\">\u30b7\u30f3\u30d7\u30eb\u30d7\u30ed\u30c8\u30b3\u30eb<\/h3>\n<p>memcached\u30b5\u30fc\u30d0\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u901a\u4fe1\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u884c\u30d9\u30fc\u30b9\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u3088\u3063\u3066\u884c\u308f\u308c\u307e\u3059\u3002\u8907\u96d1\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8(XML\u306a\u3069)\u306f\u5229\u7528\u3057\u307e\u305b\u3093\u3002<\/p>\n<h4 class=\"subtitle-h4\">\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u300clibevent\u300d<\/h3>\n<p>\u300clibevent\u300d\u3068\u306f\u3001\u30b5\u30fc\u30d0\u306b\u5bfe\u3059\u308b\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u6570\u304c\u5897\u52a0\u3057\u3066\u3082\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u843d\u3061\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306e\u5171\u901a\u4ed5\u69d8\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002Linux\u306e\u300cepoll\u300d\u3001BSD\u7cfbOS\u306e\u300ckqueue\u300d\u306a\u3069\u306e\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u6a5f\u80fd\u3092\u30e9\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p>memcached\u306f\u3001\u3053\u306e\u300clibevet\u300d\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001Linux\/BSD\/Solaris\u306a\u3069\u306eOS\u4e0a\u3067\u9ad8\u3044\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u767a\u63ee\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4 class=\"subtitle-h4\">\u975e\u30bb\u30ad\u30e5\u30a2<\/h3>\n<p>memcached\u306f\u3001\u6700\u9ad8\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5f97\u308b\u305f\u3081\u306b\u3001\u8a8d\u8a3c\/\u6697\u53f7\u5316\u306a\u3069\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u95a2\u3057\u3066\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u74b0\u5883\/\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c4\u30fc\u30eb\u306a\u3069\u3067\u306e\u78ba\u4fdd\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h3 class=\"h2smalltitle\">\u540c\u69d8\u88fd\u54c1<\/h2>\n<p>\u540c\u69d8\u306a\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u88fd\u54c1\u3068\u3057\u3066\u3001\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u88fd\u54c1\uff1a\u300c<a href=\"http:\/\/www.ossnews.jp\/oss_info\/Redis\" target=\"jumpsite\" rel=\"nofollow noopener\">Redis<\/a>\u300d\u300cKyoto Tycoon\u300d\u306a\u3069\u3002<\/p>\n<h3 class=\"h2smalltitle\">\u5c0e\u5165\u4e8b\u4f8b<\/h2>\n<p>Facebook\/YouTube\/Wikipedia\/mixi\u306a\u3069\u306eWeb\u30b5\u30fc\u30d3\u30b9\u3067\u63a1\u7528\u3055\u308c\u3001\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u5411\u4e0a\u306e\u305f\u3081\u306e\u91cd\u8981\u8981\u7d20\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 class=\"h2smalltitle\">\u30e9\u30a4\u30bb\u30f3\u30b9\u60c5\u5831<\/h2>\n<p>memcached\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u306f\u300cBSD\u30e9\u30a4\u30bb\u30f3\u30b9\u300d\u3067\u3059\u3002\u3053\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u306b\u5f93\u3046\u3053\u3068\u3092\u6761\u4ef6\u3068\u3057\u3066\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u6539\u5909\u3068\u516c\u958b\u304c\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 class=\"h2smalltitle\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h2>\n<p><a href=\"https:\/\/memcached.org\/downloads\" target=\"jumpsite\" rel=\"nofollow noopener\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a><\/p>\n<p class=\"text80\">\u203b\u5b9a\u671f\u7684\u306b\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3092\u5b9f\u65bd\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u4e00\u90e8\u60c5\u5831\u304c\u53e4\u3044\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<p><!-- main-c--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>memcached(\u30e1\u30e0\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30fc)\u3002\u9ad8\u6027\u80fd\u5206\u6563\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u3067\u3059\u3002\u65e2\u5b58\u30b7\u30b9\u30c6\u30e0\u306b\u5c0e\u5165\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u9ad8\u901f\u5316\u3092\u56f3\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"author":4,"featured_media":3972,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[243],"tags":[543],"class_list":["post-4872","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oss","tag-memcached"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/posts\/4872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/comments?post=4872"}],"version-history":[{"count":0,"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/posts\/4872\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/media\/3972"}],"wp:attachment":[{"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/media?parent=4872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/categories?post=4872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/majisemi.com\/topics\/wp-json\/wp\/v2\/tags?post=4872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}