문제

Imho, there are 2 available protocols to connect client app to cassandra server: CQL and thrift.

What protocol used by SSTableLoader utility to load sstables to cassandra cluster? As I understand it does not use CQL because it is impossible to do bulk loading with good performance via CQL.

If thrift then the question is: how it uses thrift for bulk loading?

도움이 되었습니까?

해결책

Yep, thrift is used.

it is impossible to do bulk loading with good performance via CQL

Not really true, its just that the functionality has already been implemented and there's no reason for re-implementing it in CQL because thrift wont be getting dropped (allows for good backwards compatibility)

To sum it up, the sstables are read in, a thrift client is created for streaming said data and then a LoaderFuture task is created to coordinate the streaming.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top