Jason Lee
  • Home
  • Github
Sign in Subscribe

event sourcing

A collection of 2 posts
event sourcing

Event Sourcing

整理一些不錯介紹 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/
Apr 22, 2019
event sourcing

Event Souring MQ 要求

基本需求 1. 支援 pub/sub 2. 支援 message queue (一次只有一個consumer 收到 message) 3. 可以手動傳遞 Ack message (可以達到 at-lease-once) 4. 最少在相同的topic下訊息順序保證 5. 訊息持久性不丟失 6. Cluster/Failover 架構 7. 可以重新播放 Message 8. 相同 topic 可以被不同的 consumer group 訂閱, 例如: order consumer group, payment consumer group 可以同時訂閱 order-topic 9. 支援 Log Retention 依照時間自動刪除
Apr 21, 2019 1 min read
Page 1 of 1
Jason Lee © 2025
Powered by Ghost