{"id":263,"date":"2019-09-27T16:01:52","date_gmt":"2019-09-27T07:01:52","guid":{"rendered":"https:\/\/weseek.co.jp\/tech\/?p=263"},"modified":"2023-04-17T11:45:25","modified_gmt":"2023-04-17T02:45:25","slug":"%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e9%96%8b%e7%99%ba%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%ad%e3%83%83%e3%82%af%e3%81%ae%e9%87%8d%e8%a6%81%e6%80%a7%e3%81%a8-o","status":"publish","type":"post","link":"https:\/\/weseek.co.jp\/tech\/263\/","title":{"rendered":"\u958b\u767a\u306b\u304a\u3051\u308b\u30ed\u30c3\u30af\u306e\u91cd\u8981\u6027\u3068 ORM \u3067\u306e\u30ed\u30c3\u30af\u306e\u5b9f\u73fe\u4f8b"},"content":{"rendered":"<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u304a\u3044\u3066\u30c7\u30fc\u30bf\u3092\u6271\u3046\u6642\u306b\u30ed\u30c3\u30af\u3092\u884c\u3046\u3053\u3068\u306f\u30c7\u30fc\u30bf\u4fdd\u5168\u6027\u306e\u89b3\u70b9\u304b\u3089\u91cd\u8981\u3067\u3059\u3002\uff08\u3082\u3061\u308d\u3093 SEROKU \u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u3067\u3082\u30b7\u30b9\u30c6\u30e0\u5074\u3067\u306f\u30c7\u30fc\u30bf\u306e\u30ed\u30c3\u30af\u3092\u884c\u3063\u3066\u3044\u307e\u3059\uff09<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u4e00\u822c\u7684\u306a\u8a71\u3068\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u300c\u30ed\u30c3\u30af\u300d\u306b\u3064\u3044\u3066\u6398\u308a\u4e0b\u3052\u3001\u30ed\u30c3\u30af\u65b9\u6cd5\u306e\u7a2e\u985e\u3084 DB \u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3068\u306e\u95a2\u9023\u6027\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u56de\u4ee5\u964d\u306f\u3001\u697d\u89b3\u7684\u30ed\u30c3\u30af\u306b\u3064\u3044\u3066\u3068\u3001ORM \u3092\u4f7f\u3063\u305f\u30ed\u30c3\u30af\u306e\u5b9f\u73fe\u65b9\u6cd5\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3054\u3068\u306b\u7d39\u4ecb\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n\n<h1>\u30ed\u30c3\u30af\u3068\u306f<\/h1>\n<p>\u307e\u305a\u3001\u30ed\u30c3\u30af\u3068\u306f\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u8aad\u307f\u66f8\u304d\u306e\u51e6\u7406\u3092\u540c\u6642\u306b\u884c\u3046\u3053\u3068\u3092\u6392\u9664\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n<p>\u30ed\u30c3\u30af\u3092\u884c\u308f\u306a\u3044\u5834\u5408\u3001\u540c\u3058\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u8907\u6570\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u7d50\u679c\u306b\u6574\u5408\u6027\u304c\u53d6\u308c\u306a\u304f\u306a\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5546\u54c1\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306e\u58f2\u4e0a\u306e\u5408\u8a08\u3092\u8a08\u7b97\u3059\u308b\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u9593\u306b\u3001\u5546\u54c1\u30ab\u30c6\u30b4\u30ea\u304c\u5909\u66f4\u3055\u308c\u308b\u3068\u3001\u5546\u54c1\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306e\u58f2\u4e0a\u306e\u5408\u8a08\u306f\u7dcf\u58f2\u308a\u4e0a\u3052\u3068\u9055\u3046\u5024\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u30ed\u30c3\u30af\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001\u4e00\u65b9\u306e\u51e6\u7406\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u3082\u3046\u4e00\u65b9\u306e\u51e6\u7406\u306e\u8aad\u307f\u66f8\u304d\u3092\u7981\u6b62\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u7d50\u679c\u306e\u6574\u5408\u6027\u3092\u53d6\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<h1>\u30ed\u30c3\u30af\u3092\u6398\u308a\u4e0b\u3052\u308b<\/h1>\n<p>\u30b7\u30b9\u30c6\u30e0\u306e\u300c\u3069\u306e\u30ec\u30d9\u30eb\u300d\u3067\u30ed\u30c3\u30af\u3092\u884c\u3046\u304b\u306b\u3088\u308a\u3001\u8003\u616e\u3059\u3079\u304d\u30dd\u30a4\u30f3\u30c8\u3084\u30ed\u30c3\u30af\u3067\u304d\u308b\u30c7\u30fc\u30bf\u306e\u5358\u4f4d\u304c\u7570\u306a\u308a\u307e\u3059\u3002\u30ec\u30d9\u30eb\u6bce\u306b\u6398\u308a\u4e0b\u3052\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>DB \u30ec\u30d9\u30eb\u306e\u30ed\u30c3\u30af\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ec\u30d9\u30eb\u306e\u30ed\u30c3\u30af<\/h2>\n<p>DB \u306b\u306f MySQL, PostgreSQL, Oracle, Microsoft SQL Server, MongoDB, Cassandra, Redis \u7b49\u5e7e\u3064\u304b\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u307b\u307c\u4f8b\u5916\u306a\u304f\u30ed\u30c3\u30af\u6a5f\u80fd\u3092\u6709\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>DB \u3067\u30ed\u30c3\u30af\u3092\u884c\u3046\u5834\u5408 DB \u306b\u3088\u3063\u3066\u8a73\u7d30\u306a\u6319\u52d5\u306f\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u8aad\u307f\u66f8\u304d(RW)\u3092\u540c\u6642\u306b\u6392\u9664\u3059\u308b\u30ed\u30c3\u30af\u3001\u66f8\u304d\u8fbc\u307f\u306e\u307f\u3092\u6392\u9664\u3059\u308b\u30ed\u30c3\u30af\u7b49\u3001\u300c\u3069\u306e\u64cd\u4f5c\u300d\u306b\u5bfe\u3057\u3066\u30ed\u30c3\u30af\u3092\u884c\u3046\u304b\u3092\u6c7a\u3081\u308b\u3053\u3068\u304c\u51fa\u6765\u305f\u308a\u3001RDB \u306b\u304a\u3051\u308b\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u3092\u6392\u9664\u3059\u308b\u30ed\u30c3\u30af\u3001\u30ec\u30b3\u30fc\u30c9\u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u3092\u6392\u9664\u3059\u308b\u30ed\u30c3\u30af\u7b49\u3001\u300c\u3069\u306e\u30c7\u30fc\u30bf\u5358\u4f4d\u300d\u306b\u5bfe\u3057\u3066\u30ed\u30c3\u30af\u3092\u884c\u3046\u304b\u3092\u6c7a\u3081\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u3067\u884c\u308f\u308c\u308b\u8907\u6570\u306e\u51e6\u7406\u306b\u304a\u3044\u3066\u3001\u305d\u308c\u305e\u308c\u5171\u901a\u306e\u30eb\u30fc\u30eb\u3092\u6301\u305f\u305b\u308b\u3053\u3068\u3067\u30ed\u30c3\u30af\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\uff08\u30eb\u30fc\u30eb\u3092\u7834\u308b\u51e6\u7406\u304c\u7121\u3044\u524d\u63d0\uff09<\/p>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u5171\u6709\u3067\u304d\u308b\u30e1\u30e2\u30ea\u7a7a\u9593\u306b\u30ed\u30c3\u30af\u6709\u7121\u3092\u793a\u3059 boolean \u5909\u6570\u3092\u7528\u610f\u3057\u6b21\u306e\u30eb\u30fc\u30eb\u3092\u8a2d\u3051\u308b\u3053\u3068\u3067\u30ed\u30c3\u30af\u304c\u884c\u3048\u307e\u3059\u3002<\/p>\n<ol>\n<li>DB \u3078\u8aad\u307f\u66f8\u304d\u3092\u884c\u3046\u969b\u306f\u5fc5\u305a\u305d\u306e\u5909\u6570\u3092\u53c2\u7167\u3059\u308b<\/li>\n<li>\u30ed\u30c3\u30af\u6709\u7121\u304c false \u3067\u3042\u308c\u3070\u5909\u6570\u3092 true \u306b\u3057\u3066 DB \u3078\u8aad\u307f\u66f8\u304d\u3092\u884c\u3044\u3001\u7d42\u308f\u3063\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u5909\u6570\u3092 false \u306b\u623b\u3059<\/li>\n<li>\u30ed\u30c3\u30af\u6709\u7121\u304c true \u3067\u3042\u308c\u3070\u5909\u6570\u304c false \u3068\u306a\u308b\u307e\u3067\u5f85\u6a5f\u3059\u308b<\/li>\n<\/ol>\n<h2>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066<\/h2>\n<p>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3068\u306f DB \u306b\u5bfe\u3059\u308b\u4e00\u9023\u306e\u64cd\u4f5c\u3092\u4e00\u3064\u306e\u51e6\u7406\u5358\u4f4d\u3068\u3057\u3066\u6271\u3046\u6a5f\u80fd\u3067\u3059\u3002<br \/>\n\u51e6\u7406\u306e\u9014\u4e2d\u3067\u5931\u6557\u3057\u305f\u5834\u5408\u306f\u3001\u64cd\u4f5c\u3092\u958b\u59cb\u3057\u305f\u6642\u306e\u72b6\u614b\u306b\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u3055\u308c\u307e\u3059\u3002<br \/>\n\u51e6\u7406\u306e\u5b8c\u4e86\u306f\u30b3\u30df\u30c3\u30c8\u3068\u547c\u3070\u308c\u307e\u3059\u3002<\/p>\n<p>\u4e26\u5217\u3067\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u308b\u5834\u5408\u306b\u3001\u64cd\u4f5c\u306e\u4e00\u8cab\u6027\u3092\u4fdd\u3066\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u30ed\u30c3\u30af\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u6642\u3001\u3069\u306e\u3088\u3046\u306a\u51e6\u7406\u3092\u30ed\u30c3\u30af\u3059\u308b\u304b\u3092\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u5206\u96e2\u30ec\u30d9\u30eb\u3068\u547c\u3073\u3001DB \u6bce\u306b\u5206\u96e2\u30ec\u30d9\u30eb\u304c\u3044\u304f\u3064\u304b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001MySQL \u306e\u5206\u96e2\u30ec\u30d9\u30eb\u306f\u6b21\u306e\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>READ UNCOMMITTED<\/li>\n<li>READ COMMITTED<\/li>\n<li>REPEATABLE READ<\/li>\n<li>SERIALIZABLE<\/li>\n<\/ul>\n<p>\u305d\u308c\u305e\u308c\u7c21\u5358\u306b\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u5206\u96e2\u30ec\u30d9\u30eb\u3092 READ UNCOMMITTED \u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u4e2d\u306b\u5909\u66f4\u3055\u308c\u305f\u975e\u30b3\u30df\u30c3\u30c8\u306a\u5024\u306e\u8aad\u307f\u8fbc\u307f\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30922\u3064\u5b9f\u884c\u3057\u305f\u969b\u306b\u3001\u4e00\u65b9\u3067\u5024\u306e\u5909\u66f4\u3092\u884c\u3063\u305f\u3082\u306e\u306e\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u3055\u308c\u305f\u5834\u5408\u3001\u3082\u3046\u4e00\u65b9\u3067\u5909\u66f4\u5f8c\u306e\u5024\u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3068\u7d50\u679c\u306e\u6574\u5408\u6027\u304c\u3068\u308c\u306a\u3044\u72b6\u614b\u3068\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5206\u96e2\u30ec\u30d9\u30eb\u3092 READ COMMITTED \u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30b3\u30df\u30c3\u30c8\u3055\u308c\u305f\u5024\u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30922\u3064\u5b9f\u884c\u3057\u305f\u969b\u306b\u3001\u4e00\u65b9\u3067\u5024\u306e\u5909\u66f4\u304c\u884c\u308f\u308c\u3001\u3082\u3046\u4e00\u65b9\u3067\u540c\u3058\u5024\u3092\u53c2\u7167\u3057\u3066\u3044\u305f\u3068\u3057\u305f\u5834\u5408\u3001\u5024\u3092\u5909\u66f4\u3059\u308b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u5b8c\u4e86\u6b21\u7b2c\u3001\u3082\u3046\u4e00\u65b9\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304b\u3089\u306f\u5909\u66f4\u5f8c\u306e\u5024\u304c\u53c2\u7167\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u5024\u306e\u53c2\u7167\u3092\u884c\u3046\u5074\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u8003\u3048\u308b\u3068\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u9014\u4e2d\u304b\u3089\u540c\u3058\u5024\u306e\u547c\u3073\u51fa\u3057\u3092\u884c\u3063\u305f\u7d50\u679c\u304c\u7570\u306a\u308b\u3053\u3068\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5206\u96e2\u30ec\u30d9\u30eb\u3092 REPEATABLE READ \u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u4e2d\u306b\u4f55\u5ea6\u5024\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3082\u7d50\u679c\u304c\u5909\u308f\u3089\u306a\u3044\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u5206\u96e2\u30ec\u30d9\u30eb\u3092 SERIALIZABLE \u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306f\u4e26\u5217\u306b\u884c\u308f\u308c\u305a\u9806\u6b21\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h1>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u7279\u6027<\/h1>\n<p>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u3001\u305d\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u5b9f\u73fe\u3059\u308b\u3068\u3088\u3044\u3068\u3055\u308c\u308b\u7279\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u7279\u6027\u306e\u7a2e\u985e\u3068\u3057\u3066\u306f\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u81ea\u4f53\u306b\u3064\u3044\u3066\u306e\u7279\u6027\u3092\u793a\u3059 ACID \u7279\u6027\u3001\u30b7\u30b9\u30c6\u30e0\u81ea\u4f53\u306e\u7279\u6027\u3092\u793a\u3059 BASE \u7279\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30b9\u30c6\u30e0\u81ea\u4f53\u306e\u7279\u6027\u3068\u3057\u3066 ACID \u7279\u6027\u3092\u6301\u305f\u305b\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u53ef\u7528\u6027\u3084\u6027\u80fd\u304c\u4f4e\u4e0b\u3059\u308b\u30c8\u30ec\u30fc\u30c9\u30aa\u30d5\u3068\u306a\u308b\u3053\u3068\u304b\u3089\u3001\u53ef\u7528\u6027\u3084\u6027\u80fd\u3092\u91cd\u8996\u3057\u305f BASE \u7279\u6027\u304c Eric Brewer \u306b\u3088\u308a\u63d0\u5531\u3055\u308c\u307e\u3057\u305f\u3002(\u53c2\u8003\u60c5\u5831: <a href=\"http:\/\/yohei-y.blogspot.com\/2009\/03\/cap-base.html\">yohei-y:weblog: CAP \u3068BASE \u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u3053\u3068<\/a>)<\/p>\n<p>ACID \u7279\u6027\u3068 BASE \u7279\u6027\u306f\u5171\u5b58\u53ef\u80fd\u306a\u306e\u3067\u3001DB \u306f ACID \u7279\u6027\u3092\u4fdd\u3061\u3001\u30b7\u30b9\u30c6\u30e0\u306f BASE \u7279\u6027\u306b\u5f93\u3046\u3068\u3044\u3063\u305f\u69cb\u6210\u3092\u3068\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>ACID \u7279\u6027<\/h2>\n<p>ACID \u7279\u6027\u3068\u306f\u3001\u6b21\u306e4\u3064\u306e\u7279\u6027\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u539f\u5b50\u6027(Atomicity)<\/li>\n<li>\u4e00\u8cab\u6027(Consistency)<\/li>\n<li>\u72ec\u7acb\u6027(Isolation)<\/li>\n<li>\u6c38\u7d9a\u6027(Durability)<\/li>\n<\/ul>\n<p>\u305d\u308c\u305e\u308c\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u539f\u5b50\u6027\u3068\u306f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u51e6\u7406\u304c\u4e00\u9023\u306e\u51e6\u7406\u300c\u5168\u3066\u304c\u5b9f\u884c\u3055\u308c\u305f\u300d\u304b\u3001\u3042\u308b\u3044\u306f\u300c\u5168\u3066\u304c\u5b9f\u884c\u3055\u308c\u306a\u304b\u3063\u305f\u300d(\u5b9f\u884c\u524d\u306e\u72b6\u614b\u306b\u623b\u3059) \u3053\u3068\u3092\u4fdd\u8a3c\u3059\u308b\u7279\u6027\u306e\u3053\u3068<\/li>\n<li>\u4e00\u8cab\u6027\u3068\u306f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u51e6\u7406\u304c\u3042\u3089\u304b\u3058\u3081\u6c7a\u3081\u3089\u308c\u305f\u30eb\u30fc\u30eb\u306b\u5f93\u3063\u3066\u6574\u5408\u6027\u304c\u4fdd\u305f\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3059\u308b\u7279\u6027\u306e\u3053\u3068<\/li>\n<li>\u72ec\u7acb\u6027\u3068\u306f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u51e6\u7406\u306e\u9014\u4e2d\u7d4c\u904e\u304c\u96a0\u853d\u3067\u304d\u308b\u7279\u6027\u306e\u3053\u3068<\/li>\n<li>\u6c38\u7d9a\u6027\u3068\u306f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u51e6\u7406\u304c\u5b8c\u4e86\u3057\u305f\u3053\u3068\u3092\u30e6\u30fc\u30b6\u306b\u901a\u77e5\u3057\u305f\u6642\u70b9\u3067\u3001\u305d\u306e\u64cd\u4f5c\u304c\u6c38\u7d9a\u5316\u3055\u308c\u305f\u3053\u3068\u3092\u4fdd\u8a3c\u3059\u308b\u7279\u6027\u306e\u3053\u3068<\/li>\n<\/ul>\n<p>\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f <a href=\"https:\/\/ja.wikipedia.org\/wiki\/ACID_(%E3%82%B3%E3%83%B3%E3%83%94%E3%83%A5%E3%83%BC%E3%82%BF%E7%A7%91%E5%AD%A6)\">ACID (\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u79d1\u5b66) - Wikipedia<\/a> \u7b49\u3092\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>BASE \u7279\u6027<\/h2>\n<p>BASE \u7279\u6027\u3068\u306f\u3001\u6b21\u306e\u7279\u6027\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Basically Available<\/li>\n<li>Soft-State<\/li>\n<li>Eventual Consistency<\/li>\n<\/ul>\n<p>\u305d\u308c\u305e\u308c\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\n<p>Basically Available \u3068\u306f\u53ef\u7528\u6027\u304c\u57fa\u672c\u3067\u3042\u308b\u7279\u6027\u306e\u3053\u3068<\/p>\n<ul>\n<li>\u30ed\u30c3\u30af\u306b\u3088\u308a\u51e6\u7406\u304c\u5f85\u6a5f\u3055\u308c\u308b\u3053\u3068\u304c\u306a\u3044\u3053\u3068\u3092\u6307\u3057\u307e\u3059 (\u697d\u89b3\u7684\u30ed\u30c3\u30af)<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Soft-State \u3068\u306f\u7de9\u3044\u30b9\u30c6\u30fc\u30c8\u7ba1\u7406\u3092\u884c\u3046\u7279\u6027\u306e\u3053\u3068<\/p>\n<\/li>\n<li>\n<p>Eventual Consistency \u3068\u306f\u9014\u4e2d\u3067\u6574\u5408\u6027\u304c\u4fdd\u305f\u308c\u3066\u3044\u306a\u304f\u3066\u3082\u3001\u7d50\u679c\u7684\u306b\u6574\u5408\u6027\u304c\u4fdd\u305f\u308c\u3066\u3044\u308c\u3070\u3088\u3057\u3068\u3059\u308b\u7279\u6027\u306e\u3053\u3068<\/p>\n<\/li>\n<\/ul>\n<h1>\u307e\u3068\u3081<\/h1>\n<p>\u4eca\u56de\u306f\u30ed\u30c3\u30af\u306b\u3064\u3044\u3066\u6398\u308a\u4e0b\u3052\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u3068\u305d\u306e\u7279\u5fb4\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b21\u56de\u306f\u3001\u697d\u89b3\u7684\u30ed\u30c3\u30af\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u95a2\u9023\u8a18\u4e8b<\/p>\n<p><a href=\"https:\/\/weseek.co.jp\/tech\/525\/\">\u958b\u767a\u3067\u306e\u30ed\u30c3\u30af\u306e\u91cd\u8981\u6027\u3068ORM\u306e\u30ed\u30c3\u30af\u5b9f\u73fe\u4f8b\u301c\u697d\u89b3\u7684\u30ed\u30c3\u30af\u306e\u5229\u7528\u4f8b|\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af O\/R \u30de\u30c3\u30d1\u30fc<\/a><\/p>\n<p><a href=\"https:\/\/weseek.co.jp\/tech\/137\/\">\u958b\u767a\u3067\u306e\u30ed\u30c3\u30af\u306e\u91cd\u8981\u6027\u3068ORM\u3067\u306e\u30ed\u30c3\u30af\u306e\u5b9f\u73fe\u4f8b |\u697d\u89b3\u7684\u30ed\u30c3\u30af\u306e\u7d39\u4ecb<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u304a\u3044\u3066\u30c7\u30fc\u30bf\u3092\u6271\u3046\u6642\u306b\u30ed\u30c3\u30af\u3092\u884c\u3046\u3053\u3068\u306f\u30c7\u30fc\u30bf\u4fdd\u5168\u6027\u306e\u89b3\u70b9\u304b\u3089\u91cd\u8981\u3067\u3059\u3002\uff08\u3082\u3061\u308d\u3093 SEROKU \u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u3067\u3082\u30b7\u30b9\u30c6\u30e0\u5074\u3067\u306f\u30c7\u30fc\u30bf\u306e\u30ed\u30c3\u30af\u3092\u884c\u3063\u3066\u3044\u307e\u3059\uff09 \u672c\u8a18\u4e8b\u3067\u306f\u3001\u4e00\u822c\u7684\u306a\u8a71\u3068\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc<\/p>\n","protected":false},"author":3,"featured_media":2146,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[192],"tags":[],"_links":{"self":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/263"}],"collection":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":27,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"predecessor-version":[{"id":4075,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/263\/revisions\/4075"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media\/2146"}],"wp:attachment":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}