We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文中提到想要保持線性一致性其中一個的做法是使用 寄存器,很直覺的就想到使用快取(如Redis)去進行。 我主管以前就做過類似的事:利用Redis作為寫入鎖,與單執行緒的特性消除併發,當同時有多人想要寫入時同一筆資料時,只有一個人能夠成功,其他人見到的狀態會是該資料正在編輯中。做法有點類似這篇 但在搜尋網路上有沒有人做過類似的事情時,意外發現了這篇使用Redis cluster,發現這我主管這樣的設計沒有考慮過Redis掛掉怎麼辦XD 因此好奇請問大家覺得使用Redis能否做到線性一致性這件事情?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
文中提到想要保持線性一致性其中一個的做法是使用 寄存器,很直覺的就想到使用快取(如Redis)去進行。
我主管以前就做過類似的事:利用Redis作為寫入鎖,與單執行緒的特性消除併發,當同時有多人想要寫入時同一筆資料時,只有一個人能夠成功,其他人見到的狀態會是該資料正在編輯中。做法有點類似這篇
但在搜尋網路上有沒有人做過類似的事情時,意外發現了這篇使用Redis cluster,發現這我主管這樣的設計沒有考慮過Redis掛掉怎麼辦XD
因此好奇請問大家覺得使用Redis能否做到線性一致性這件事情?
The text was updated successfully, but these errors were encountered: