{"id":34283,"date":"2022-11-09T00:45:12","date_gmt":"2023-08-26T13:59:44","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/"},"modified":"2024-04-28T23:44:08","modified_gmt":"2024-04-28T15:44:08","slug":"%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/","title":{"rendered":"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night"},"content":{"rendered":"<p>\u5f53\u5929\uff0c\u6211\u4eec\u4f7f\u7528ESA\u7684\u6f14\u793a\u6a21\u5f0f\u8fdb\u884c\u4e86\u5c55\u793a\u3002<\/p>\n<p>\uff08\u5728\u798f\u5188\u7684pixiv\u4e4b\u591c#02 &#8211; \u4e00\u591c\u4e86\u89e3\u56f4\u7ed5pixiv\u7684\u6280\u672f\uff01 &#8211; \u8fd9\u662fconnpass\u7684\u6f14\u8bb2\u6750\u6599\uff09<\/p>\n<h2>\u6211\u662f\u81ea\u5df1\u4ecb\u7ecd\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5404\u7a2eSNS\u3092catatsuy\u3067\u3084\u3063\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u304b\u305f\u3064\u3044\u3068\u547c\u3070\u308c\u308b\u3053\u3068\u304c\u591a\u3044<\/p>\n<p>\u30d4\u30af\u30b7\u30d6\u682a\u5f0f\u4f1a\u793e\u3067\u958b\u767a\u57fa\u76e4\u30c1\u30fc\u30e0\u3068\u5e83\u544a\u30c1\u30fc\u30e0\u306e\u517c\u4efb<\/p>\n<p>2014\u5e74\u5ea6\u65b0\u5352\uff082013\/10\u5165\u793e\uff09<br \/>\npixiv\u306e\u6280\u8853\u7684\u306a\u6539\u5584\u304c\u4e3b\u306a\u696d\u52d9\uff08\u5f8c\u3067\u8a73\u3057\u304f\uff09<\/p>\n<p>\u5358\u8457\u300epixiv\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u6559\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\uff08\u661f\u6d77\u793e\u65b0\u66f8\uff09<\/p>\n<p>\u30d4\u30af\u30b7\u30d6\u793e\u5185\u306e\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7814\u4fee\u306e\u66f8\u7c4d\u5316<\/p>\n<p>pixiv\u793e\u5185ISUCON\u3084ISUCON6\u672c\u9078\u306e\u554f\u984c\u4f5c\u6210<\/p>\n<h2>Pixiv\u7684\u56e2\u961f\u5206\u7ec4<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pixiv\u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u306f\u5de8\u5927<\/ul>\n<\/li>\n<\/ul>\n<p>www.pixiv.net\/touch.pixiv.net\/\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u7528API\u306a\u3069\u306a\u3069<br \/>\n\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u3082\u591a\u3044<\/p>\n<p>pixiv\u3068\u3044\u30461\u3064\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u3057\u3066\u8907\u6570\u306e\u30c1\u30fc\u30e0\u304c\u5b58\u5728<\/p>\n<p>\u30c1\u30fc\u30e0\u5206\u3051\u306f\u5b9a\u671f\u7684\u306b\u5909\u308f\u308b<br \/>\n\u73fe\u5728\u306f\u6295\u7a3f\u4f53\u9a13\u30fbweb\u95b2\u89a7\u30fb\u30a2\u30d7\u30ea\u95b2\u89a7\u30fb\u30d7\u30ec\u30df\u30a2\u30e0\u306a\u3069\u3067\u5206\u3051\u3066\u3044\u308b<\/p>\n<p>\u3053\u308c\u3089\u306e\u30c1\u30fc\u30e0\u306f\u3056\u3063\u304f\u308a\u8a00\u3046\u3068\u300e\u62c5\u5f53\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u8996\u70b9\u3067\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u6539\u5584\u3057\u3066\u4f38\u3070\u3059\u300f\u306e\u304c\u76ee\u6a19<\/p>\n<h2>pixiv.git -&gt;<br \/>\npixiv\u7684\u4ee3\u7801\u4ed3\u5e93<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pixiv\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7ba1\u7406\u3057\u3066\u3044\u308bgit\u30ea\u30dd\u30b8\u30c8\u30ea\u306fpixiv.git\u3068\u3044\u30461\u3064\u306e\u30ea\u30dd\u30b8\u30c8\u30ea<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pixiv.git\u306b\u306fpixiv\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u793e\u5185\u306e\u69d8\u3005\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u5165\u3063\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>sensei\/pixivision\/pixivFANBOX\uff08pixiv\u306e\u4e00\u6a5f\u80fd\uff09\u306a\u3069\u306a\u3069<br \/>\n\u8907\u6570\u306e\u30c1\u30fc\u30e0\u304cpixiv.git\u306b\u5bfe\u3057\u3066\u30b3\u30df\u30c3\u30c8\u3057\u3001\u30c7\u30d7\u30ed\u30a4\u3092\u884c\u3063\u3066\u3044\u308b<br \/>\n\u5171\u901a\u3057\u3066\u6271\u3048\u308b\u51e6\u7406\u306fpixiv-lib\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u308b<\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u7528\u306eaccounts.pixiv.net\u3001OAuth\u3001\u5916\u90e8\u516c\u958b\u7528\u306eAPI\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u7528API\u306a\u3069\u3082\u3042\u308b<\/p>\n<p>BOOTH\/pixivFACTORY\/pixivSketch\u306a\u3069\u793e\u5185\u306e\u30b5\u30fc\u30d3\u30b9\u3067\u3082OAuth\u3084API\u3067\u8a8d\u8a3c\u30fbpixiv\u3068\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u306a\u3069\u306e\u3084\u308a\u53d6\u308a\u3092\u3057\u3066\u3044\u308b<br \/>\npixiv\u30b3\u30df\u30c3\u30af\u3082\u5225\u306e\u4ed5\u7d44\u307f\u3067pixiv\u3068\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u306a\u3069\u306e\u3084\u308a\u53d6\u308a\u3092\u3057\u3066\u3044\u308b<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u306b\u76f4\u63a5\u95a2\u4fc2\u305b\u305a\u3001\u6280\u8853\u7684\u306a\u89b3\u70b9\u3067pixiv.git\u3084\u3001pixiv\u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u3001pixiv\u4ee5\u5916\u306e\u793e\u5185\u306e\u69d8\u3005\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u6539\u5584\u3059\u308b\u30c1\u30fc\u30e0\u304c\u5fc5\u8981<\/p>\n<p>\u958b\u767a\u57fa\u76e4\u30c1\u30fc\u30e0\u306e\u5fc5\u8981\u6027<\/p>\n<h2>\u958b\u767c\u57fa\u790e\u5efa\u8a2d\u5718\u968a\u7684\u76ee\u6a19\u662f\u4ec0\u9ebc\uff1f<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u76ee\u6a19\u4e00\u4f8b<\/ul>\n<\/li>\n<\/ul>\n<p>\u6a5f\u68b0\u5b66\u7fd2<br \/>\n\u691c\u7d22\u30fb\u304a\u3059\u3059\u3081\u6539\u5584<br \/>\npixiv\u306eHTTPS\u5316<br \/>\npixiv\u304c\u4f7f\u7528\u3059\u308b\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u5237\u65b0\u30fbPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7<\/p>\n<p>Kyoto Tycoon\u304b\u3089Redis\u3078\u306e\u79fb\u884c\uff08\u5f8c\u3067\u8a73\u3057\u304f\uff09<br \/>\nPHP7\u5316<\/p>\n<p>\u958b\u767a\u52b9\u7387\u306e\u6539\u5584<\/p>\n<p>\u3056\u3063\u304f\u308a\u8a00\u3046\u3068\u6280\u8853\u7684\u306a\u89b3\u70b9\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u6539\u5584\u3057\u3066\u3044\u304f\u30c1\u30fc\u30e0<\/p>\n<p>\u3068\u306f\u3044\u3048\u958b\u767a\u57fa\u76e4\u30c1\u30fc\u30e0\u3060\u3051\u3067\u5168\u90e8\u3084\u308b\u306b\u306f\u91cf\u304c\u591a\u3059\u304e\u308b\u306e\u3067\u3001\u4e00\u90e8\u306e\u30bf\u30b9\u30af\u306f\u4ed6\u306e\u30c1\u30fc\u30e0\u3068\u3082\u5354\u529b\u3057\u306a\u304c\u3089\u5206\u62c5\u3057\u3066\u3044\u308b<br \/>\n\u30a4\u30f3\u30d5\u30e9\u30c1\u30fc\u30e0\u3068\u306e\u5354\u529b\u304c\u4e0d\u53ef\u6b20\u306a\u4f5c\u696d\u304c\u304b\u306a\u308a\u591a\u3044\u305f\u3081\u3001\u30a4\u30f3\u30d5\u30e9\u30c1\u30fc\u30e0\u3068\u306e\u95a2\u4fc2\u3092\u5bc6\u306b\u3057\u3066\u3044\u308b<\/p>\n<h2>\u958b\u767a\u57fa\u7840\u6784\u5efa\u56e2\u961f\u7684\u5de5\u4f5c\u5185\u5bb9<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5177\u4f53\u7684\u3067\u751f\u3005\u3057\u3044\u60c5\u5831\u306e\u65b9\u304c\u9762\u767d\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u5b9f\u969b\u306b\u81ea\u5206\u304c\u3084\u3063\u305f\uff08\u3066\u3044\u308b\uff09\u3053\u3068\u3092\u8a71\u3057\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u3042\u304f\u307e\u3067\u3082\u4ed5\u4e8b\u5185\u5bb9\u306e\u4e00\u4f8b\u3067\u3059<\/ul>\n<h2>KT\u505c\u7528\u7684\u52a8\u5411<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pixiv\u3067\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u3057\u3066Kyoto Tycoon(\u4ee5\u4e0bKT)\u3092\u305a\u3063\u3068\u4f7f\u3063\u3066\u3044\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>memcached\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u30de\u30eb\u30c1\u30de\u30b9\u30bf\u30fc\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u53ef\u80fd<br \/>\n\u30aa\u30f3\u30e1\u30e2\u30ea\u306ememcached\u3068\u9055\u3044\u3001\u6c38\u7d9a\u30c7\u30fc\u30bf\u3092\u6271\u3048\u308b\u306e\u3067\u518d\u8d77\u52d5\u3057\u3066\u3082\u30c7\u30fc\u30bf\u304c\u6d88\u3048\u306a\u3044<br \/>\npixiv\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u6d88\u3048\u308b\u3068\u307e\u3068\u3082\u306b\u52d5\u4f5c\u3057\u306a\u3044\u7b87\u6240\u304c\u304b\u306a\u308a\u591a\u3044\uff08\uff01\uff09<\/p>\n<p>\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u983c\u308a\u3059\u304e\u308b\u306e\u306fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u975e\u5e38\u306b\u307e\u305a\u3044<\/p>\n<p>\u3068\u306f\u3044\u3048\u3084\u308a\u304c\u3061\u306a\u69cb\u6210<\/p>\n<p>pixiv\u81ea\u4f53\u304c\u81a8\u5927\u306a\u91cf\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u306e\u3067\u4eca\u56de\u4fee\u6b63\u306f\u898b\u9001\u308a<br \/>\n\u500b\u4eba\u7684\u306b\u306f\u3044\u305a\u308c\u958b\u767a\u57fa\u76e4\u30c1\u30fc\u30e0\u3068\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u4f7f\u3044\u65b9\u6539\u5584\u306f\u3084\u308a\u305f\u3044\u30bf\u30b9\u30af\u306e1\u3064<br \/>\n\u73fe\u72b6\u306e\u69cb\u6210\u3067\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30aa\u30f3\u30e1\u30e2\u30ea\u306ememcached\u306b\u4fdd\u5b58\u3059\u308b\u3068\u3001memcached\u304c\u6b7b\u3093\u3060\u3068\u304d\u306b\u9577\u6642\u9593\u5fa9\u65e7\u304c\u51fa\u6765\u306a\u304f\u306a\u308b<br \/>\npixiv\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u306f\u6c38\u7d9a\u30c7\u30fc\u30bf\u30fb\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u8907\u6570\u53f0\u69cb\u6210\u306b\u51fa\u6765\u308b\u3053\u3068\u304c\u5fc5\u9808<\/p>\n<p>KT\u304cpixiv\u306e\u898f\u6a21\u306b\u8010\u3048\u3089\u308c\u306a\u304f\u306a\u3063\u3066\u304d\u305f<\/p>\n<p>KT\u5185\u90e8\u306eGC\u306b\u6642\u9593\u304c\u304b\u304b\u308b<br \/>\nKT\u5185\u306e\u30c7\u30fc\u30bf\u304c\u4f55\u6545\u304b\u58ca\u308c\u3066\u3001pixiv\u304c\u969c\u5bb3\u306b\u306a\u308b\u3053\u3068\u304c\u4f55\u56de\u304b\u3042\u3063\u305f<\/p>\n<p>KT\u81ea\u4f53\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u505c\u6b62\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u4fee\u6b63\u3055\u308c\u308b\u898b\u8fbc\u307f\u304c\u306a\u3044<br \/>\n\u81ea\u5206\u305f\u3061\u3067\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3059\u308b\u3088\u308a\u3082\u3001\u4ed6\u306eKVS\u306b\u79fb\u884c\u3057\u305f\u65b9\u304c\u672a\u6765\u304c\u3042\u308a\u305d\u3046<\/p>\n<p>\u65e9\u6025\u306bKT\u4ee5\u5916\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u30fc\u306b\u79fb\u884c\u3059\u308b\u5fc5\u8981\u6027\u3092\u8a8d\u8b58<\/p>\n<h2>Memcached\u534f\u8bae\u548cPHP<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">memcached\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u6271\u3046pecl\u30e2\u30b8\u30e5\u30fc\u30eb\u306fmemcached\u3068memcache\u306e2\u3064\u3042\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pixiv\u3067\u306fmemcache\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u304d\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">memcache\u306f2013-04-07\u304b\u3089\u66f4\u65b0\u304c\u306a\u3044<\/ul>\n<\/li>\n<\/ul>\n<p>PHP7\u306b\u672a\u5bfe\u5fdc<\/p>\n<p>memcached\u30e2\u30b8\u30e5\u30fc\u30eb\u306fPHP7\u306b\u5bfe\u5fdc<br \/>\nPHP7\u5316\u306b\u5411\u3051\u3066memcache\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5ec3\u6b62\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<\/p>\n<p>memcached\u30e2\u30b8\u30e5\u30fc\u30eb\u3078\u306e\u5358\u7d14\u306a\u7f6e\u304d\u63db\u3048\u3067\u306f\u5bfe\u5fdc\u304c\u51fa\u6765\u306a\u3044<br \/>\nmemcached\u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u30b3\u30de\u30f3\u30c9\u540d\u30fb\u30ad\u30fc\u30fbflag\u30fbexpire time\u30fb\u30d0\u30a4\u30c8\u6570\u3092\u6307\u5b9a\u3059\u308b<\/p>\n<p>&nbsp;<\/p>\n<p>flag\u306e\u5024\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u6c7a\u3081\u3089\u308c\u308b<\/p>\n<p>memcache\u30fbmemcached\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u5727\u7e2e\u5f62\u5f0f\u306a\u3069\u3092flag\u306e\u5024\u304b\u3089\u5224\u65ad\u3057\u3066\u3044\u308b<br \/>\nflag\u306e\u5bfe\u5fdc\u306b\u4e92\u63db\u6027\u304c\u7121\u3044\u305f\u3081\u3001\u5358\u7d14\u306a\u7f6e\u304d\u63db\u3048\u3067\u306f\u6b63\u3057\u304f\u52d5\u4f5c\u3057\u306a\u3044<br \/>\n\u4e26\u884c\u3057\u3066\u65b0\u3057\u3044\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u30fc\u306b\u3082set\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u7f6e\u304d\u63db\u3048\u3066\u3044\u304f\u3057\u304b\u306a\u3044<br \/>\n2\u5ea6\u624b\u9593\u306b\u306a\u308b\u306e\u3067KT\u304b\u3089\u306e\u79fb\u884c\u3068memcached\u30e2\u30b8\u30e5\u30fc\u30eb\u3078\u306e\u79fb\u884c\u3092\u540c\u6642\u306b\u3084\u308a\u305f\u3044<\/p>\n<h2>\u4eceKT\u7684\u8fc1\u79fb\u76ee\u7684\u5730<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5f53\u521d\u306fMySQL InnoDB memcached plugin\u304c\u6709\u529b\u5019\u88dc\u3060\u3063\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>memcached\u30d7\u30ed\u30c8\u30b3\u30eb\u304c\u4f7f\u3048\u308b<br \/>\n\u793e\u5185\u306b\u5927\u898f\u6a21MySQL\u904b\u7528\u306e\u77e5\u898b\u304c\u3042\u308a\u3001MySQL\u306b\u7d71\u4e00\u3067\u304d\u308b\u306e\u306f\u904b\u7528\u4e0a\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b<br \/>\n\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u306a\u3069\u6c42\u3081\u3066\u3044\u308b\u6a5f\u80fd\u304c\u5168\u3066\u63c3\u3063\u3066\u3044\u305f<\/p>\n<p>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u9762\u30fb\u5b89\u5b9a\u6027\u306a\u3069\u3092\u30a4\u30f3\u30d5\u30e9\u90e8\u3067\u691c\u8a3c<\/p>\n<p>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u9762\u306fMySQL5.7\u7cfb\u3092\u4f7f\u3044\u3001my.cnf\u306e\u8a2d\u5b9a\u6b21\u7b2c\u3067\u554f\u984c\u304c\u7121\u304f\u306a\u308a\u305d\u3046\u3060\u3063\u305f<br \/>\n\u5b89\u5b9a\u6027\u306b\u3064\u3044\u3066\u306e\u554f\u984c\u304c\u89e3\u6c7a\u3067\u304d\u305a\u3001MySQL InnoDB memcached plugin\u306e\u5c0e\u5165\u3092\u65ad\u5ff5<\/p>\n<p>Redis\u3078\u306e\u79fb\u884c\u304c\u6c7a\u5b9a<\/p>\n<p>\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u6c38\u7d9a\u30c7\u30fc\u30bf\u306a\u3069\u5fc5\u8981\u306a\u6a5f\u80fd\u304c\u63c3\u3063\u3066\u3044\u308b<\/p>\n<p>\u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u72ec\u81ea\u3067\u3001\u5358\u7d14\u306aKVS\u4ee5\u4e0a\u306b\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u578b\u3084\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308b<\/p>\n<p>pixiv\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u91cf\u3092\u8003\u3048\u308b\u3068\u3001memcached\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u3053\u3060\u308f\u308b\u7406\u7531\u304c\u8584\u3044<\/p>\n<p>\u4e26\u5217\u30672\u3064\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u30fc\u306bset\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001pecl\u30e2\u30b8\u30e5\u30fc\u30eb\u3082\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<br \/>\n\u4eca\u56deRedis\u79fb\u884c\u3057\u3066\u3082\u4f5c\u696d\u91cf\u3068\u3057\u3066\u5927\u5dee\u304c\u306a\u3044\u3068\u5224\u65ad<br \/>\n\u79fb\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u304cphpredis\u304bmemcached\u304b\u306e\u9055\u3044<\/p>\n<p>Redis\u306f\u793e\u5185\u306eRails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u63a1\u7528\u4e8b\u4f8b\u304c\u591a\u304f\u3001\u691c\u8a3c\u306e\u7d50\u679c\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u9762\u30fb\u5b89\u5b9a\u6027\u306b\u3082\u554f\u984c\u304c\u7121\u304b\u3063\u305f<\/p>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u3068KT\u306e\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u6e1b\u3089\u3059\u305f\u3081\u306b\u4f7f\u3063\u3066\u3044\u305ftwemproxy\u306fRedis\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u305f<br \/>\n\u305f\u3060\u3057twemproxy\u3067\u4f7f\u3048\u308bRedis\u306e\u30b3\u30de\u30f3\u30c9\u306b\u306f\u5236\u9650\u304c\u3042\u308b<br \/>\nmemcached\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3082\u51fa\u6765\u308b\u30ec\u30d9\u30eb\u306e\u3053\u3068\u3057\u304b\u3057\u306a\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u554f\u984c\u306a\u3057<\/p>\n<h2>\u4eceKT\u8fc1\u79fb\u5230Redis<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pixiv\u3067\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u3057\u304b\u5b58\u5728\u3057\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u304c\u5b58\u5728\uff08\uff01\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u306f\u306a\u3044<\/p>\n<p>Redis\u79fb\u884c\u306e\u524d\u306b\u5168\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u3092MySQL\u3078\u79fb\u884c<\/p>\n<p>pixiv\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\/\u30ad\u30e3\u30c3\u30b7\u30e5\u6226\u7565 \u305d\u306e2 &#8211; pixiv inside<\/p>\n<p>\u53e4\u3044\u8a18\u4e8b\u3060\u304c\u3001\u5927\u7b4b\u306f\u5909\u308f\u3063\u3066\u306a\u3044<br \/>\nKVSClient\u3092\u901a\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30ad\u30fc\u540d\u304b\u3089set\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u3092\u6307\u5b9a\u3059\u308b<br \/>\nKVSClient\u5074\u3067KT\u306bset\u3059\u308b\u969b\u306bRedis\u306b\u3082set\u3059\u308b\u3088\u3046\u306b<br \/>\nKVSClient\u3092\u4f7f\u308f\u305a\u306bKT\u306bset\u3059\u308b\u30b3\u30fc\u30c9\u3082\u3042\u3063\u305f\u306e\u3067\u3001get\u3059\u308b\u969b\u306bKT\u3068Redis\u4e21\u65b9\u304b\u3089get\u3057\u3001\u5024\u304c\u98df\u3044\u9055\u3063\u3066\u3044\u305f\u3089\u30ed\u30b0\u306b\u6d41\u3059\u3088\u3046\u306b<\/p>\n<p>fluentd\u7d4c\u7531\u3067MongoDB\u306b\u30ed\u30b0\u3092\u96c6\u3081\u3066\u3001\u793e\u5185\u306e\u30ed\u30b0\u30d3\u30e5\u30fc\u30ef\u30fc\u3067\u898b\u308c\u308b\u3088\u3046\u306a\u30ed\u30b0\u53ce\u96c6\u57fa\u76e4\u304c\u3042\u308b\u306e\u3067\u305d\u308c\u3092\u4f7f\u7528<br \/>\n\u3072\u305f\u3059\u3089\u629c\u3051\u6f0f\u308c\u3092\u63a2\u3057\u3066\u4fee\u6b63<\/p>\n<h2>\u5173\u4e8ephpredis\u6a21\u5757\u7684Redis\u5ba2\u6237\u7aef\u7684\u5e8f\u5217\u5316\u95ee\u9898\u3002<\/h2>\n<pre class=\"post-pre\"><code><span class=\"nv\">$redis<\/span><span class=\"o\">-&gt;<\/span><span class=\"nf\">setOption<\/span><span class=\"p\">(<\/span><span class=\"nc\">Redis<\/span><span class=\"o\">::<\/span><span class=\"no\">OPT_SERIALIZER<\/span><span class=\"p\">,<\/span> <span class=\"nc\">Redis<\/span><span class=\"o\">::<\/span><span class=\"no\">SERIALIZER_NONE<\/span><span class=\"p\">);<\/span>   <span class=\"c1\">\/\/ don't serialize data<\/span>\r\n<span class=\"nv\">$redis<\/span><span class=\"o\">-&gt;<\/span><span class=\"nf\">setOption<\/span><span class=\"p\">(<\/span><span class=\"nc\">Redis<\/span><span class=\"o\">::<\/span><span class=\"no\">OPT_SERIALIZER<\/span><span class=\"p\">,<\/span> <span class=\"nc\">Redis<\/span><span class=\"o\">::<\/span><span class=\"no\">SERIALIZER_PHP<\/span><span class=\"p\">);<\/span>    <span class=\"c1\">\/\/ use built-in serialize\/unserialize<\/span>\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066<\/ul>\n<\/li>\n<\/ul>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306fRedis::SERIALIZER_NONE<\/p>\n<p>\u5168\u3066\u6587\u5b57\u5217\u306b\u5909\u63db\u3055\u308c\u3066SET\u3055\u308c\u308b<br \/>\n\u914d\u5217\u306fArray\u3068\u3044\u3046\u6587\u5b57\u5217\u306b\u306a\u308b<\/p>\n<p>Redis::SERIALIZER_PHP<\/p>\n<p>\u6570\u50241\u306fi:1;\u3068\u3044\u3046PHP\u7d44\u307f\u8fbc\u307f\u306eserialize\u95a2\u6570\u306e\u8fd4\u308a\u5024\u304c\u5165\u308b<br \/>\n\u6587\u5b57\u5217\u3082\u540c\u69d8\u306bs:4:&#8221;abcd&#8221;;\u306e\u3088\u3046\u306b\u306a\u308b<br \/>\nget\u3059\u308b\u969b\u306b\u81ea\u52d5\u3067deserialize\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b<\/p>\n<p>Redis::SERIALIZER_NONE\u3068Redis::SERIALIZER_PHP\u3092\u6df7\u305c\u308b<\/p>\n<p>Redis::SERIALIZER_PHP\u3067set\u3057\u305f\u5f8c\u306b\u3001Redis::SERIALIZER_NONE\u3067get\u3059\u308b\u3068serialize\u306e\u8fd4\u308a\u5024\u306e\u6587\u5b57\u5217\u304c\u8fd4\u3063\u3066\u304f\u308b<br \/>\nRedis::SERIALIZER_NONE\u3067set\u3057\u305f\u5f8c\u306b\u3001Redis::SERIALIZER_PHP\u3067get\u3059\u308b\u3068\u6587\u5b57\u5217\u3068\u3057\u3066\u53d6\u5f97\u3067\u304d\u308b<br \/>\n\u8aa4\u4f5c\u52d5\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u306f\u898b\u3064\u3051\u3089\u308c\u306a\u304b\u3063\u305f<\/p>\n<p>pixiv\u3067\u306f\u914d\u5217\uff08PHP\u306a\u306e\u3067\u9023\u60f3\u914d\u5217\u3092\u542b\u3080\uff09\u3092\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u305b\u305a\u306bset\u3057\u3066\u3044\u308b\u7b87\u6240\u304c\u5927\u91cf\u306b\u3042\u3063\u305f<\/p>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u5185\u90e8\u3067set\u6642\u306b\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3001get\u6642\u306b\u30c7\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3059\u308b\u6319\u52d5\u306b\u983c\u3063\u3066\u3044\u305f<\/p>\n<p>pixiv\u306e\u30b3\u30fc\u30c9\u3067\u306fKVSClient\u7d4c\u7531\u3067KT\u3078\u306e\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b<\/p>\n<p>PHP\u306a\u306e\u30671\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u9593\u3067\u4f7f\u3044\u56de\u3055\u308c\u308b<br \/>\n\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u4e2d\u306b\u5207\u308a\u66ff\u3048\u308b\u306e\u306f\u4e88\u671f\u3057\u306a\u3044\u4e8b\u6545\u306b\u3064\u306a\u304c\u308a\u3046\u308b<br \/>\n\u5e38\u306bRedis::SERIALIZER_PHP\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f<\/p>\n<h2>\u53d1\u751f\u7684\u95ee\u9898<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">memcached\u3068Redis\u306b\u306f\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3059\u308b\u30b3\u30de\u30f3\u30c9\u304c\u3042\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u30ad\u30fc\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306e\u6271\u3044\u304c\u7570\u306a\u308b<br \/>\nmemcached<\/p>\n<p>the item must already exist for incr\/decr to work; these commands won&#8217;t pretend that a non-existent key exists with value 0; instead, they will fail.<br \/>\n\u65e2\u306b\u5b58\u5728\u3059\u308b\u30a2\u30a4\u30c6\u30e0\u306b\u5bfe\u3057\u3066\u3057\u304b\u4f7f\u3048\u306a\u3044\u3002\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3001\u5024\u306b0\u304c\u5165\u3063\u3066\u3044\u308b\u30ad\u30fc\u3068\u3057\u3066\u632f\u308b\u821e\u3046\u3053\u3068\u306f\u306a\u3044\u3002\u4ee3\u308f\u308a\u306b\u5931\u6557\u3059\u308b\u3002<br \/>\nhttps:\/\/github.com\/memcached\/memcached\/blob\/master\/doc\/protocol.txt<\/p>\n<p>redis<\/p>\n<p>If the key does not exist, it is set to 0 before performing the operation.<br \/>\n\u30ad\u30fc\u304c\u5b58\u5728\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u305d\u306e\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b0\u3092\u30bb\u30c3\u30c8\u3059\u308b<\/p>\n<p>https:\/\/redis.io\/commands\/incr<\/p>\n<p>\u3053\u308c\u307e\u3067\u306e\u30b3\u30fc\u30c9\u306fmemcached\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u610f\u8b58\u3057\u3066\u3044\u305f\u305f\u3081\u3001\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3057\u305f\u3044\u30ad\u30fc\u3067\u5b58\u5728\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f0\u3092set\u3059\u308b\u30b3\u30fc\u30c9\u306b\u306a\u3063\u3066\u3044\u305f<\/p>\n<p>Redis::SERIALIZER_PHP\u30670\u3092set\u3059\u308b\u3068i:0;\u306b\u306a\u308b<br \/>\n\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3067\u304d\u308b\u306e\u306f\u6570\u5024\u3068\u3057\u3066\u89e3\u91c8\u3067\u304d\u308b\u6587\u5b57\u5217\u304cvalue\u306b\u5165\u3063\u3066\u3044\u308b\u5834\u5408\u306e\u307f\u3001\u306a\u306e\u3067i:0;\u306f\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3067\u304d\u306a\u3044<br \/>\n\u8fd4\u308a\u5024\u306fphpredis\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306fINT\u304c\u8fd4\u308b\u3068\u3042\u308b\u304c\u3001\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u306b\u5931\u6557\u3057\u305f\u3089false\u304c\u8fd4\u3063\u3066\u304f\u308b<\/p>\n<p>\u63a5\u7d9a\u306b\u5931\u6557\u3059\u308b\u306a\u3069\u81f4\u547d\u7684\u306a\u554f\u984c\u304c\u8d77\u3053\u3063\u305f\u5834\u5408\u306f\u4f8b\u5916\u304c\u98db\u3076<br \/>\n\u7279\u306b\u4f8b\u5916\u304c\u98db\u3076\u308f\u3051\u3067\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u52d5\u3044\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u6c17\u4ed8\u304f\u306e\u304c\u9045\u308c\u305f<\/p>\n<p>pixiv\u3068\u30d4\u30af\u30b7\u30d6\u767e\u79d1\u4e8b\u5178\u306f\u5225\u30ea\u30dd\u30b8\u30c8\u30ea\u3060\u304c\u3001pixiv\u304b\u3089set\u3057\u305f\u5024\u3092\u30d4\u30af\u30b7\u30d6\u767e\u79d1\u4e8b\u5178\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u53c2\u7167\u3057\u3066\u3044\u305f\u305f\u3081\u3001\u52d5\u304d\u3092\u8ffd\u3046\u306e\u304c\u96e3\u3057\u304f\u306a\u3063\u3066\u3044\u3066\u3001\u66f4\u306b\u6c17\u4ed8\u304f\u306e\u304c\u9045\u308c\u305f<\/p>\n<p>Redis::SERIALIZER_NONE\u306b\u3057\u30660\u3092set\u3059\u308c\u3070\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3067\u304d\u308b\u304c\u3001\u524d\u8ff0\u306e\u7406\u7531\u304b\u3089\u9014\u4e2d\u3067\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3057\u305f\u304f\u306a\u3044<\/p>\n<p>\u4eca\u306f0\u3092set\u3059\u308b\u5834\u5408\u306fdelete\u30010\u4ee5\u5916\u306e\u5024\u3092set\u3059\u308b\u5834\u5408\u306fdelete\u3057\u3066\u304b\u3089incrBy\u3067\u305d\u306e\u6570\u5024\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b<br \/>\n\u4e8b\u6545\u9632\u6b62\u306e\u305f\u3081\u3001KVSClient\u5074\u3067\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u5c02\u7528\u306e\u30ad\u30fc\u306b\u306fincrement\u3068delete\u3057\u304b\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3001\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3057\u306a\u3044\u30ad\u30fc\u306b\u306f\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u5909\u66f4<\/p>\n<h2>KT\u7684\u8f6c\u578b\u8fdb\u5c55<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u8ca0\u8377\u304c\u5927\u304d\u304f\u3001\u554f\u984c\u304c\u8d77\u3053\u3063\u3066\u3044\u305f\u30ad\u30e3\u30c3\u30b7\u30e5\u7528\u9014\u306eKT\u306fRedis\u306b\u79fb\u884c\u3057\u305f\u304c\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306a\u3069\u307e\u3060KT\u3092\u4f7f\u3063\u3066\u3044\u308b\u90e8\u5206\u306f\u591a\u3044<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u304b\u3089\u79fb\u884c\u3057\u305f\u3044<\/p>\n<h2>\u5c06\u7f51\u7ad9\u8f6c\u5316\u4e3aHTTPS\u534f\u8bae<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u73fe\u5728Redis\u5316\u3088\u308a\u3082\u3001pixiv\u306eHTTPS\u5316\u3092\u6700\u512a\u5148\u306b\u3057\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u8fd1\u65e5\u4e2d\u306btouch\u304c\u30d5\u30ebHTTPS\u5316\u3059\u308b\u4e88\u5b9a<\/ul>\n<\/li>\n<\/ul>\n<p>www(PC\u7248)\u306f\u3082\u3046\u5c11\u3057\u5f85\u3063\u3066\u304f\u3060\u3055\u3044\u2026<\/p>\n<p>\u3053\u308c\u306b\u3064\u3044\u3066\u3082\u69d8\u3005\u306a\u6311\u6226\u4e2d<\/p>\n<p>\u307e\u3060\u9014\u4e2d\u306a\u306e\u3067\u3053\u308c\u306b\u3064\u3044\u3066\u306f\u6b21\u306e\u6a5f\u4f1a\u3067\uff01<\/p>\n<h2>\u6700\u540e<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pixiv\u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u306f\u6b74\u53f2\u304c\u3042\u308a\u3001\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u62b1\u3048\u308b\u305f\u3081\u3001\u6280\u8853\u7684\u306b\u89e3\u6c7a\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u554f\u984c\u3082\u591a\u3044<\/ul>\n<\/li>\n<\/ul>\n<p>\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u4e8b\u4f8b\u306f\u307b\u3093\u306e\u4e00\u4f8b\u3067\u3059<\/p>\n<p>\u6280\u8853\u9762\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u652f\u3048\u308b\u3053\u3068\u306b\u8208\u5473\u3092\u6301\u3063\u3066\u3082\u3089\u3048\u308c\u3070\u5e78\u3044\u3067\u3059<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u5929\uff0c\u6211\u4eec\u4f7f\u7528ESA\u7684\u6f14\u793a\u6a21\u5f0f\u8fdb\u884c\u4e86\u5c55\u793a\u3002 \uff08\u5728\u798f\u5188\u7684pixiv\u4e4b\u591c#02 &#8211; \u4e00\u591c\u4e86\u89e3\u56f4\u7ed5pix [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34283","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f-pixiv_night\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night\" \/>\n<meta property=\"og:description\" content=\"\u5f53\u5929\uff0c\u6211\u4eec\u4f7f\u7528ESA\u7684\u6f14\u793a\u6a21\u5f0f\u8fdb\u884c\u4e86\u5c55\u793a\u3002 \uff08\u5728\u798f\u5188\u7684pixiv\u4e4b\u591c#02 &#8211; \u4e00\u591c\u4e86\u89e3\u56f4\u7ed5pix [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f-pixiv_night\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-26T13:59:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T15:44:08+00:00\" \/>\n<meta name=\"author\" content=\"\u6587, \u7fd4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6587, \u7fd4\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/\",\"name\":\"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-08-26T13:59:44+00:00\",\"dateModified\":\"2024-04-28T15:44:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\",\"name\":\"\u6587, \u7fd4\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"caption\":\"\u6587, \u7fd4\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f-pixiv_night\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night","og_description":"\u5f53\u5929\uff0c\u6211\u4eec\u4f7f\u7528ESA\u7684\u6f14\u793a\u6a21\u5f0f\u8fdb\u884c\u4e86\u5c55\u793a\u3002 \uff08\u5728\u798f\u5188\u7684pixiv\u4e4b\u591c#02 &#8211; \u4e00\u591c\u4e86\u89e3\u56f4\u7ed5pix [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f-pixiv_night\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-08-26T13:59:44+00:00","article_modified_time":"2024-04-28T15:44:08+00:00","author":"\u6587, \u7fd4","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6587, \u7fd4","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/","name":"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-08-26T13:59:44+00:00","dateModified":"2024-04-28T15:44:08+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5f00\u53d1\u57fa\u7840\u56e2\u961f\u7684\u76ee\u6807\u662f #pixiv_night"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c","name":"\u6587, \u7fd4","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","caption":"\u6587, \u7fd4"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e5%9b%a2%e9%98%9f%e7%9a%84%e7%9b%ae%e6%a0%87%e6%98%af-pixiv_night%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=34283"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34283\/revisions"}],"predecessor-version":[{"id":65881,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34283\/revisions\/65881"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=34283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=34283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=34283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}