I have successfully built and installed the Aerospike server and c client and ran a benchmark… everything seems to be working. Please see my steps below. Now I’m wondering what to do next!
Is there a chat room for Aerospike or is this forum as good as it gets?
I’d like to be able ‘see how Aerospike is doing’ – e.g. how much RAM is it using, how much disk is it using, etc and preferably from the command line – so which tools / utilities can I do this with? I had a look at  but it’s not obvious how to build and install these tools. Are they on GitHub? Also, I heard about the Aerospike Management Console but also couldn’t find it on GitHub and why isn’t it listed on  too? How to build and instal it?
Why running the benchmark then I noticed that it doesn’t seem to go much faster after using 4 threads. I have 64 cores available. I’ve read that Aerospike can handle 1 M ops/second/box but I’m only getting about 123k/s/box via localhost. What to tune to make the performance go up?
I’m interested in writing a UDF function which calls my C code. Does anybody have any links to useful info / tutorials about that?
Thanks in advance, Simon
$ git clone https://github.com/aerospike/aerospike-server.git $ cd aerospike-server/ $ git submodule update --init $ sudo yum install openssl openssl-devel openssl-static $ sudo yum install lua lua-devel lua-static $ sudo yum install python $ make -j64 $ make init $ make start
$ git clone https://github.com/aerospike/aerospike-client-c.git $ cd aerospike-client-c/ $ sudo yum install openssl-devel glibc-devel autoconf automake libtool $ sudo yum install lua-devel $ sudo yum install gcc-c++ graphviz rpm-build $ ./install_libev $ git submodule update --init $ make EVENT_LIB=libev $ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib make EVENT_LIB=libev AS_HOST=127.0.0.1 test ... SUMMARY ... 185 tests: 185 passed, 0 failed
$ cd benchmarks/ $ make EVENT_LIB=libev $ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib make run $ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ./target/benchmarks -h 127.0.0.1 -p 3000 -n test -s demoset -k 1000000 -o S:1400 -w RU,80 -z 4 -L 4,3 hosts: 127.0.0.1 port: 3000 user: (null) namespace: test set: demoset startKey: 1 keys/records: 1000000 bins: 1 object spec: UTF8 string random values: false workload: read 80% write 20% stop after: 0 transactions threads: 4 max throughput: unlimited read timeout: 0 ms write timeout: 0 ms max retries: 1 debug: false latency: 4 columns, shift exponent 3 shared memory: false read replica: master read consistency level: one write commit level: all Conn pools per node: 1 asynchronous mode: off 2017-07-11 18:19:30 INFO Add node BB948E04A701B06 127.0.0.1:3000 2017-07-11 18:19:30 INFO Read/write using 1000000 records 2017-07-11 18:19:30 INFO Start 4 generator threads 2017-07-11 18:19:31 INFO write(tps=23696 timeouts=0 errors=0) read(tps=95020 timeouts=0 errors=0) total(tps=118716 timeouts=0 errors=0) <=1ms >1ms >8ms >64ms write 100% 0% 0% 0% read 100% 0% 0% 0% 2017-07-11 18:19:32 INFO write(tps=23895 timeouts=0 errors=0) read(tps=95110 timeouts=0 errors=0) total(tps=119005 timeouts=0 errors=0) <=1ms >1ms >8ms >64ms write 100% 0% 0% 0% read 100% 0% 0% 0% 2017-07-11 18:19:33 INFO write(tps=24572 timeouts=0 errors=0) read(tps=98757 timeouts=0 errors=0) total(tps=123329 timeouts=0 errors=0) <=1ms >1ms >8ms >64ms write 100% 0% 0% 0% read 100% 0% 0% 0% ^C