简体   繁体   中英

Is there any cassandra C++ client library which is thread safe?

I am looking for a client library which is thread safe . If you can provide me with an example for multithread insertion it will help me a lot !

Many thanks.

I don't know if you are still interested... anyway, the standard c++ client library at the moment is cpp-driver .

It is quite straightforward to use, even though still missing many functionalities of its java-python counterpart.

Doing multi-thread insertions is as easy as sharing the "session" instance amongst threads. You will know what I mean if you just look at the simple demo app provided with the driver.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM