Skip to content

udhos/keyspaces-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keyspaces-demo

Quick start

git clone https://github.com/udhos/keyspaces-demo
cd keyspaces-demo
go run ./cmd/keyspaces-demo

Full build

git clone https://github.com/udhos/keyspaces-demo
cd keyspaces-demo
./build.sh
keyspaces-demo

Usage example

INSERT_LIMIT=1000000 INSERT_DURATION=30s INSERT_CONCURRENCY=30 keyspaces-demo

Benchmark

It took 37 seconds to fetch 113k records.

2024/06/26 23:56:43 query3: printQuery: rows=113880 elapsed=37.332884927s

Source

Example from: https://github.com/aws/aws-sigv4-auth-cassandra-gocql-driver-plugin

gocql auth plugin

https://github.com/aws/aws-sigv4-auth-cassandra-gocql-driver-plugin

This package implements an authentication plugin for the open-source Gocql Driver for Apache Cassandra.

SSL

Amazon Keyspaces requires the use of Transport Layer Security (TLS) to help secure connections with clients. To connect to Amazon Keyspaces using TLS, you need to download an Amazon digital certificate and configure the Go driver to use TLS.

Download the Starfield digital certificate using the following command and save sf-class2-root.crt locally or in your home directory.

curl https://certs.secureserver.net/repository/sf-class2-root.crt

curl https://www.amazontrust.com/repository/AmazonRootCA1.pem

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages