helipilot50 / aerospike-counters

How to create atomic counters using Aerospike, with Java, C# or JavaScript and Node,js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atomic Counters using Aerospike

How to create atomic counters using Aerospike Read the full article at Medium

Companion Code

The companion code is deliberately simple to focus on counters without the distraction of idiomatic language patterns or frameworks. Examples are provided in Java, C# and JavaScript ES6.

Clone the repository using:

git clone https://github.com/helipilot50/aerospike-counters.git

Local Aerospike database using docker

sudo docker-compose -f aerospike-single-docker-compose.yml up

Run C# example

dotnet build
dotnet run

Run Java example

mvn build
mvn exec:java

Run JavaScript/Node example

npm install
npm start

About

How to create atomic counters using Aerospike, with Java, C# or JavaScript and Node,js

License:MIT License


Languages

Language:Java 43.8%Language:C# 30.9%Language:JavaScript 25.3%