Ztyx
Ztyx

Reputation: 14908

What implications does consistency have on async writes?

Both Datastax Python and Java Cassandra drivers supports async writes. Both of them also allows setting consistency level. Does the consistency level have any implication whatsoever for async writes?

Upvotes: 0

Views: 134

Answers (1)

RussS
RussS

Reputation: 16576

It has all of the same implications as a non-async write. In fact the code for non async operations in the drivers just calls the async execute method and blocks waiting for the future to return. The futures will not be returned until the contract set by the consistency level is met or will return an error.

Upvotes: 2

Related Questions