English 中文(简体)
他/卡桑德拉如何处理顺序行动?
原标题:How hector/cassandra handles sequential operations?

利用一名主子Mutator I更新了N顺序操作的几行。 是否存在着保证,这种变化是在他们加入“谁”的顺序上发生的?

最简单的事例是,如果我删除一些行文,然后立即收回。 删除发生在插入之后吗?

如果向不同节点发出两项顺序要求,则如何管理该组? 总是有可能在节点之间出现微秒差异。

最佳回答

Cassandra利用客户提供的时间营地解决冲突。 举例来说,如果按错误顺序向服务器投放某种how,则退行时间将比行删除时间要长。

客户提供的时间序列的一个后果是,你要么需要把 clo放在客户机器上,要么设计你的数据模型,以便不同客户之间不发生冲突。

问题回答

暂无回答




相关问题
Consistenty header file names between C++ libraries

In my project I use two libraries, v8 and boost. Boost uses the .hpp extension for its headers, while v8 uses the .h extension for its headers. In the end of day, my source code starts like that: #...

Consistency in placing operator functions

I have a class like this: class A { ...private functions, variables, etc... public: ...some public functions and variables... A operator * (double); A operator / (double); A ...

Heap Consistency Checking on Embedded System

I get a crash like this: #0 0x2c58def0 in raise () from /lib/libpthread.so.0 #1 0x2d9b8958 in abort () from /lib/libc.so.0 #2 0x2d9b7e34 in __malloc_consolidate () from /lib/libc.so.0 #3 ...

How to Treat Race Condition of Session in Web Application?

I was in a ASP.NET application has heavy traffic of AJAX requests. Once a user login our web application, a session is created to store information of this user s state. Currently, our solution to ...

How do I automate the formatting of PHP source?

I have a large-ish PHP project (hundreds of files) that I ve been brought in to work on and the source formatting hasn t been very consistent from the beginning. I d now like to take all source and ...

sleep(0)? consistent time keeping in code?

Right now i am loading a file then using gettimeofday and tracking the CPU time with tv_usec My results varies, i get 250 s to 280s but sometimes 300 s or 500 s. I wrote usleep and sleep (0) and (1) ...

热门标签