Seata 簡要筆記

2021-10-03 17:50:58 字數 443 閱讀 9223

seata 簡介

seata (****** extensible autonomous transaction architecture)是一款開源的分布式事務解決方案,致力於在微服務架構下提供高效能和簡單易用的分布式事務服務。

前身是 fescar(fast & easy commit and rollback),fescar 是 阿里巴巴 開源的 分布式事務中介軟體,以 高效 並且對業務 0 侵入 的方式,解決 微服務 場景下面臨的分布式事務問題。

tm 向 tc 申請開啟乙個全域性事務,全域性事務建立成功並生成乙個全域性唯一的 xid。

xid 在微服務呼叫鏈路的上下文中傳播。

rm 向 tc 註冊分支事務,將其納入 xid 對應全域性事務的管轄。

tm 向 tc 發起針對 xid 的全域性提交或回滾決議。

tc 排程 xid 下管轄的全部分支事務完成提交或回滾請求。

MySql簡要筆記

1.連線資料庫 mysql hlocalhost u username p password 2.顯示所有資料庫 show databases 3.建立資料庫 create dbname 4.刪除資料庫 drop dbname 5.開啟資料庫 use dbname 6.建立一張表 create ta...

Git簡要筆記

1.刪除某個資料夾的版本控制資訊 git rm r n cached 檢視當前路徑下有哪些檔案會被刪除。git rm r cached 刪除當前路徑下檔案。2.git建立版本庫 切換到專案所在目錄,將所有的檔案新增到並版本庫 git init git add 新增單個檔案 git add pom.x...

Android touch事件簡要筆記

主要測試下intercept viewgroup dispatchtouchevent 超級偽碼 if actionmasked motionevent.action down mfirsttouchtarget viewparent中消費 事件序列 的子view 從down到up或cancel這一...