2015-09-13 42 views
0

我正在做一個在Disruptor上創建actor模型的原型(https://github.com/LMAX-Exchange/disruptor/wiki)。根據所有示例,事件的變化不會使用易失性或任何其他方式來確保可見性得以保留。我想知道什麼讓這個安全?disruptor事件可視性

在常見問題解答中,這聽起來像是照顧(https://github.com/LMAX-Exchange/disruptor/wiki/Frequently-Asked-Questions#do-you-relax-the-consistency-model-to-gain-performance),但我還沒有看到如何。

感謝您的閱讀時間!

回答