New in Cassandra 3.0: Materialized Views : DataStax
(www.datastax.com)
popcorny
積分 1
這個好!! 尤其是對Cassandra這種一天到晚在denormalize得更棒。而且對client side不用改,就可以讓未來新增的Materialized View也有資料進來,真是太棒了。
不過不太懂這一段
Materialized views do not have the same write performance characteristics that normal table writes have The materialized view requires an additional read-before-write, as well as data consistency checks on each replica before creating the view updates. These additions overhead, and may change the latency of writes.
感覺實作上不需要read-before-write啊
IngramChen
積分 0
可能還是要比一下 timestamp ? 不然 out of order 的話,materialized view 結果會不一樣?
還有cassandra有一個anti-pattern就是read before write1。為什麼要在這邊會有這種anti-pattern呢?