Spring Boot - Helloworld 入門
<div>下載 Spring Initializer</div><div>https://start.spring.io/#!type=gradle-project&language=java&platformVersion=2.2.7.RELEASE&...
<div>下載 Spring Initializer</div><div>https://start.spring.io/#!type=gradle-project&language=java&platformVersion=2.2.7.RELEASE&...
Run No arg main class Java package examples; public class TestMain { public static void main(String[] params) { &n...
執行沒有參數的 main class Java package examples; public class TestMain { public static void main(String[] params) {  ...
Edit build.gradle task helloworld { println "Hello world" } List tasks and find helloworld $gradle tasks --all ... Ot...
編輯 build.gradle task helloworld { println "Hello world" } 列出所有 task 並找到 helloworld $gradle tasks --all ... Other task...
Reference https://openhome.cc/Gossip/Spring/Gradle.html Thanks 良葛格, his explanation is so simple and good to read and practice!! Class package exam...
參考資料 https://openhome.cc/Gossip/Spring/Gradle.html 感謝良葛格,他的說明簡單明瞭又好上手!! Class package examples; public class HelloMain { &nbs...
Reference https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 The isolation property of ACID transactions ensure...
參考資料 https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 ACID 交易的隔離性確保同時執行多個交易的結果,跟以某種串行順序執行它們的結果相同 隔離性讓撰寫同時執行...
Reference https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 Sagas process Saga init by system command Coordina...
參考資料 https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 Saga 流程 Saga 由系統命令啟動 協調邏輯選擇並告訴第一個 Saga 參與者執行本地交易 完成後,...
Reference https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 Challenges In a monolithic system, a createOrder oper...
參考資料 https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 挑戰 在單體系統中,createOrder 操作只需要依賴帶有 transactional annotation 的...
Introduction One day, Cassandra stop listening for thrift client until restart it manually. After checking Cassandra log, found it encountered OutOfMemory...
前言 某天,Cassandra 停止監聽 thrift client 的連線,直到手動重啟才恢復。 檢查 Cassandra log 之後,發現遇到了 OutOfMemoryError ERROR [Thrift-Selector_27] 2020-03-31 06:00:44,020 TDisrupt...
Reference https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 synchronous communication with other services as part ...
參考資料 https://www.amazon.com/Microservices-Patterns-examples-Chris-Richardson/dp/1617294543 在處理請求時與其他服務做同步通訊會降低應用程式的可用性 因此,你應該盡可能設計服務使用非同步 messaging ...
Reference Notes 應該 知道該停止做甚麼 => 認清沉沒成本, 勇敢不做 調整成中立的 => 不用當混蛋, 不用太討好人. 甚麼都不做 不該 贏太多 => 太專注於贏別人 加值過度 => 聽到好的提案, 應該說謝謝以及考慮執行, 不用再加上自己的...