Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

8/3/2018

Reading time:1 min

GoCQL

by John Doe

Under Development: The GoCQL package is currently actively developed and the API may change in the future.Cluster ManagementGoCQL automatically discovers all data centers, racks and hosts in your cluster, manages a pool of connections to them and distributes queries in a reasonable and efficient way.Type ConversionAutomatic and safe type conversion between Cassandra and Go without any loss of precision. Basic types, collections and UUIDs are supported by default and custom types can implement their own marshaling logic.Synchronous and ConcurrentSynchronous API with an asynchronous and concurrent back-end. Each connection can handle up to 128 concurrent queries and may receive server side push events at any time.Failover ManagementTODO :(Result PagingIterate over large results sets and let GoCQL fetch one page after another. The next page is automatically pre-fetched in the background once the iterator has passed a certain threshold.Atomic BatchesExecute a batch of related updates in a single query. GoCQL supports logged, unlogged and counter batches.Query TracingTrace queries to obtain a detailed output of all events that happened during the query execution from Cassandra. The output might help to identify bugs and performance bottlenecks in your application.Frame CompressionSpeed up and reduce the network traffic by compressing the frames that are sent to Cassandra. Snappy, a compression algorithm that aims for very high speeds and reasonable compression, is enabled by default.Multiple Cassandra VersionsGoCQL supports multiple Cassandra version. Currently Cassandra 1.2 and Cassandra 2.0 are fully supported.Thoroughly TestedTODO :(BSD LicenseCompletely open source. Browse the source on GitHub and start contributing today.

Illustration Image

Under Development: The GoCQL package is currently actively developed and the API may change in the future.

Cluster Management

GoCQL automatically discovers all data centers, racks and hosts in your cluster, manages a pool of connections to them and distributes queries in a reasonable and efficient way.

Type Conversion

Automatic and safe type conversion between Cassandra and Go without any loss of precision. Basic types, collections and UUIDs are supported by default and custom types can implement their own marshaling logic.

Synchronous and Concurrent

Synchronous API with an asynchronous and concurrent back-end. Each connection can handle up to 128 concurrent queries and may receive server side push events at any time.

Failover Management

TODO :(

Result Paging

Iterate over large results sets and let GoCQL fetch one page after another. The next page is automatically pre-fetched in the background once the iterator has passed a certain threshold.

Atomic Batches

Execute a batch of related updates in a single query. GoCQL supports logged, unlogged and counter batches.

Query Tracing

Trace queries to obtain a detailed output of all events that happened during the query execution from Cassandra. The output might help to identify bugs and performance bottlenecks in your application.

Frame Compression

Speed up and reduce the network traffic by compressing the frames that are sent to Cassandra. Snappy, a compression algorithm that aims for very high speeds and reasonable compression, is enabled by default.

Multiple Cassandra Versions

GoCQL supports multiple Cassandra version. Currently Cassandra 1.2 and Cassandra 2.0 are fully supported.

Thoroughly Tested

TODO :(

BSD License

Completely open source. Browse the source on GitHub and start contributing today.

Related Articles

cassandra
langchain
llamaindex

GitHub - michelderu/chat-with-your-data-in-cassandra: Chat with your data stored in DataStax Enterprise, Astra DB and Apache Cassandra - In Natural Language!

John Doe

3/26/2024

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

go