{"url":"https://yohei-a.hatenablog.jp/entry/20111211/1323618367","categories":["Linux"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20111211%2F1323618367\" title=\"\u30ce\u30f3\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0 I/O \u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u305f - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"yohei-a","width":"100%","author_url":"https://blog.hatena.ne.jp/yohei-a/","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51Oy0hCw4eL._SL160_.jpg","version":"1.0","provider_url":"https://hatena.blog","blog_title":"ablog","blog_url":"https://yohei-a.hatenablog.jp/","description":"\u30ce\u30f3\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0I/O\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u305f*1\u3002\u30ce\u30f3\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0I/O\u306fSQL\u306e\u300cSELECT ... FOR UPDATE NOWAIT\u300d\u306e\u30a4\u30e1\u30fc\u30b8\u306b\u8fd1\u3044\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002\u901a\u5e38\u306f\u5f85\u3064\u30b1\u30fc\u30b9\u3067\u5f85\u305f\u305a\u306b\u30a8\u30e9\u30fc\u304c\u8fd4\u3063\u3066\u304d\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5074\u3067\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3057\u3066\u30ea\u30c8\u30e9\u30a4\u3059\u308b\u3068\u3044\u3063\u305f\u4f7f\u3044\u65b9\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u306d\u3002\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u70b9\u3060\u3068\u601d\u3044\u307e\u3059\u3002 \u901a\u5e38\u3001\u30ce\u30f3\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0I/O\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30afI/O\u306b\u4f7f\u3044\u3001\u30c7\u30a3\u30b9\u30afI/O\u306b\u306f\u4f7f\u308f\u306a\u3044\u3002 open()\u306bO_NONBLOCK\u30d5\u30e9\u30b0\u3092\u6e21\u3057\u305f\u308a\u3001 ioctl(fd, FIONBIO, 1)\u3067\u30ce\u30f3\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0\u30e2\u30fc\u30c9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u30ce\u30f3\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0\u30e2\u30fc\u30c9\u3067\u306f\u901a\u2026","published":"2011-12-11 00:46:07","type":"rich","title":"\u30ce\u30f3\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0 I/O \u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u305f","provider_name":"Hatena Blog"}