Jason Lee
  • Home
  • Github
Sign in Subscribe
event sourcing

Event Sourcing

Jason lee

Apr 22, 2019

整理一些不錯介紹 Event Sourcing 的文章

  1. https://ookami86.github.io/event-sourcing-in-practice/
  2. https://www.youtube.com/watch?v=rUDN40rdly8
名詞說明
  1. https://kickstarter.engineering/event-sourcing-made-simple-4a2625113224

如何解決一致性問題

  1. https://foreverframe.net/how-to-guarantee-username-uniqueness-with-cqrses/

Sign up for more like this.

Enter your email
Subscribe

Linux 系統中的 load average

如果你是一個 Linux 系統的使用者或管理者,你可能會經常看到一個叫做 load average 的數值,它通常出現在系統監控工具或命令行的輸出中,例如 top、uptime、w 等。那麼,load average 到底是什麼意思?它跟 cpu usage 有什麼關係?本文將嘗試解答這些問題,並幫助你更好地理解和使用 load average。 什麼是 load average? load average 是一種衡量系統資源使用情況的指標,它表示在一定時間間隔內,系統中正在執行或等待執行的進程數量的平均值。load average 通常有三個數字,分別代表過去一分鐘、五分鐘和十五分鐘的平均負載。 例如,如果你在命令行中輸入 uptime,你可能會看到這樣的輸出: $ uptime 14:40:39 up 2:00, 1
Nov 16, 2023 5 min read

Golang Guideline

1. Accept interfaces, return structs https://dev.to/lcaparelli/should-my-methods-return-structs-or-interfaces-in-go-3b7 2. Try to avoid using pointer https://blog.maxkit.com.tw/2015/08/null-null-reference-is-billion-dollar.html 2
Jul 4, 2021

Go Module with private github repository

今天用 go mod download 想下載新專案的依賴的時候一直遇到一個錯誤 go: github.com/your-repo/[email protected]: reading github.com/your-repo/your-kit/go.mod at revision v0.1.0: unknown revision v0.1.0 這是因為我們有使用到一些私有repo 上面的 library,然後我們沒有給權限,所以在使用 go mod download 無法成功抓取,就出現這樣的訊息了。這邊需要做下面這個流程就可以成功了 1. 因為 go mod 其實底層是呼叫 git 的指令來做事情,所以我們必須給 git
Jun 11, 2021 2 min read
Jason Lee © 2025
Powered by Ghost