开发者

Is there a .Net wrapper or driver for Cassandra NoSQL database? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts开发者_如何学JAVA and citations.

Closed 6 years ago.

Improve this question

Is there a .Net wrapper or driver for Cassandra NoSQL database? If so could anyone point me at a link to it?


There are several, as can be seen on the Cassandra Wiki page for ClientOptions:

  • Aquiles
  • Hector Sharp
  • Fluent Cassandra


I wouldn't recommend Hector Sharp due to there are some concurrencies issues when it is over heavy traffic.

Here i copy what aquiles gives:

  • A 3.5 .NET friendly interface to cassandra operations. You operates against cassandra as you would operate against an SQL (See examples)
  • Connection Pool with warm-up and size control capabilities
  • An Endpoint Manager to manage all the entrypoint nodes to one cluster. It will automatically distribute the connections against all the cluster endpoints defined, and will check for healthiness of the nodes with a defensive node health check strategy. Command parameter Validation: Input Parameter Completeness (no more going against a cluster to detect that you are missing a parameter!) Prior Keyspace and ColumnFamily existance validation against a cluster information (retrieved on initialization)
  • a simple and user-friendly configuration section to configure all your clusters
  • You can handle more than 1 cluster in your application
  • You can configure what ConnectionPool you want to use and its internal parameters.
  • You can choose what EndpointManager you want to use
  • You can choose what Transport do you want to use, and even when using TBufferedTransport you can set the length of the buffer!

I didn't check FluentCassandra, but it only works over .NET 4.0, so if you are still working with 3.5 it will be a little difficult to make it work.


This question is old, but one of the top Google results, so I thought I'd provide some input. Also, in light of some new information I thought I would update my answer.

Information on the official DataStax C# CQL driver can be found here. DataStax provides plenty of good documentation and examples for it.

The latest version (2.5, released on Feb 5, 2015) of this driver has some exciting new features, foremost that it now has a Mapper/ORM component. To get it, go to the project's GitHub repository, or simply search for "datastax" in NuGet.

In terms of support and stability, you cannot go wrong by using a DataStax-supported driver.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜