読書会(データ指向アプリケーションデザイン)第10回議事録
[ 戻る ]
===================================================================
Java読書会BOF「データ指向アプリケーションデザイン」を読む会 第10回
===================================================================
.. csv-table:: 開催概要
"日時", "2021年7月24日 10:00 - 17:00"
"場所", "てくのかわさき 第4研修室"
"出席者(敬称略)", "松永、平山、岩室、加藤、遠藤、高橋(徹)"
* 本日はp558 12.2.3から読書開始です。
12章 データシステムの将来
==========================
-------------------------------
12.2 データベースを解きほぐす
-------------------------------
12.2.3 導出された状態の監視
---------------------------------------------------
* P558
* 書き込みは先行評価で、読み込みは遅延評価ってどういう意味?
* ユーザから見て、意味のある機能を提供するのは、読み取りだから遅延評価?
12.2.3.1 マテリアライズドビューとキャッシュ
```````````````````````````````````````````````
12.2.3.2 ステートフルでオフライン動作できるクライアント
```````````````````````````````````````````````````````````````
12.2.3.3 クライアントへの状態の変化のプッシュ
````````````````````````````````````````````````````
12.2.3.4 エンドツーエンドのイベントストリーム
````````````````````````````````````````````````````
* P562 こういう設計します?
* 組み込みでは当たり前。
* よくwebsocketで逆向きを実現するなぁ
* 北海道では電波の繋がらないことが多いのでオフライン必要
12.2.3.5 読み取りもイベントである
`````````````````````````````````````````````
12.2.3.6 複数パーティションにわたるデータの処理
```````````````````````````````````````````````````````
-------------------------------
12.3 正確性を求めて
-------------------------------
12.3.1 データベースのエンドツーエンド論
---------------------------------------------------
12.3.1.1 操作を厳密に一度だけ実行する
``````````````````````````````````````
12.3.1.2 重複の抑制
``````````````````````````````````````
12.3.1.3 操作識別子
``````````````````````````````````````
12.3.1.4 エンドツーエンド論
``````````````````````````````````````
12.3.1.5 データシステムへのエンドツーエンドの考え方の適用
`````````````````````````````````````````````````````````````
* P570
* 分散トランザクションは自分で作ってはいけない
12.3.2 制約の強制
---------------------------------------------------
12.3.2.1 ユニーク制約には合意が必要
``````````````````````````````````````
12.3.2.2 ログベースのメッセージングにおけるユニーク性
````````````````````````````````````````````````````````
12.3.2.3 マルチパーティションのリクエスト処理
````````````````````````````````````````````````````````
12.3.3 適時性と整合性
---------------------------------------------------
12.3.3.1 データフローシステムの正確性
````````````````````````````````````````````````````````
12.3.3.2 制約の緩やかな解釈
````````````````````````````````````````````````````````
* P576
* 補正トランザクションはが必要かどうかはいつ気づくのか?
* クライアント次第
* ナチュラルキーを使うか、サロゲートキーを使うか
* redmineの移行でサロゲートキーが邪魔で手間取った
* redmineのチケットidはナチュラルキーか?サロゲートキーか?それとも両方か?
12.3.3.3 調整を回避するデータシステム
````````````````````````````````````````````````````````
12.3.4 信頼しつつも検証を
---------------------------------------------------
12.3.4.1 ソフトウェアのバグがあっても整合性を保つ
````````````````````````````````````````````````````````
12.3.4.2 約束を単純に盲信してはならない
````````````````````````````````````````````````````````
* P580
* バックアップはするけど、リストアはしませんよね。
* バックアップが壊れたことはある。リストあできることも試して置かないといけない
12.3.4.3 検証の文化
````````````````````````````````````````````````````````
12.3.4.4 監査性のための設計
````````````````````````````````````````````````````````
12.3.4.5 エンドツーエンド論再び
````````````````````````````````````````````````````````
12.3.4.6 監査可能なデータシステムのためのツール
````````````````````````````````````````````````````````
---------------------------------------------------
12.4 正しいことを行う
---------------------------------------------------
12.4.1 予測分析
---------------------------------------------------
12.4.1.1 バイアス(偏見)と差別
````````````````````````````````````````````````````````
12.4.1.2 責任と説明責任
````````````````````````````````````````````````````````
12.4.1.3 フィードバックループ
````````````````````````````````````````````````````````
12.4.2 プライバシーと追跡
---------------------------------------------------
12.4.2.1 監視
````````````````````````````````````````````````````````
12.4.2.2 承諾と選択の自由
````````````````````````````````````````````````````````
12.4.2.3 プライバシーとデータの利用
````````````````````````````````````````````````````````
12.4.2.4 資産や権力としてのデータ
````````````````````````````````````````````````````````
12.4.2.5 産業革命を忘れない
````````````````````````````````````````````````````````
12.4.2.6 法律と自己規制
````````````````````````````````````````````````````````
---------------------------------------------------
まとめ
---------------------------------------------------
用語集
==========================
本日は「データ指向アプリケーションデザイン」を読み終えました。
次回は新しい課題図書になります。
[ 戻る ]