Cassandra row level locking support while accessing same row by concurrent users

情到浓时终转凉″ 提交于 2019-12-04 12:05:48

Cassandra does not have built in support for locking yet. The Astyanax API provides recipes which are implementations for common use cases, one of which, Distributed Row Lock, is for such locking.

What you want is atomicity, Cassandra can syncronize with 1000 users, however it uses the timestamp to sincronize value in each column. You can use 'all' on consitence level for write and read, thereby to send and request the informations in all nodes, but maybe you can lost availability.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!