Lynn Langit
Cloud Architect who codes
Benchmarking NoSQL
on the AWS Cloud
@Lynn Langit
AerospikeDB or Redis
Hello Aerospike AMC
using the AWS Cloud
Disk IO & Memory
Network & Cloud (VPC)
Text
SSH Aerospike tools
Cluster
Node
Namespace = Database
Set = Table
Key / Record = Row
Bin = Column
private static void writeSingleValue(AerospikeClient client,
WritePolicy writePolicy, Key key) {
Bin bin = new Bin("mybin", "myReadModifyWriteValue");
client.put(writePolicy, key, bin);
System.out.println("Wrote this new value (or bin): "+ key);
}
private static void addSingleValue(AerospikeClient client,
WritePolicy writePolicy, Key key) {
Key newKey = new Key("test","myAddSet","myAddKey");
Bin counter = new Bin("mybin", 1);
client.add(writePolicy, newKey, counter);
System.out.println("Wrote this additional value (or bin): "+ newKey);
}
Aerospike Java client
By Lynn Langit
Presentation given at NDCOslo on Benchmarking NoSQL databases on the AWS Cloud - for AerospikeDB and Redis