maverickgautam / Aerospike-unit

Aerospike-unit enables unit + integration test cases for Aerospike
GNU General Public License v2.0
9 stars 4 forks source link

Aerospike

       |     NameSpace       |
       |  -----------------  |                 
       | |                 | |
       | |      Set        | |  
       | |  -------------  | |
       | |  |  Bin:Value | | |
       | |   ------------  | |
       | |                 | |
       |  -----------------  | 
       |                     |
        ---------------------

Key = NameSpace + Set + PrimaryKey Client.put = key + BinName + BinValue

Aerospike FAQ : http://www.aerospike.com/docs/guide/FAQ.html Aerospike Tar Download : http://www.aerospike.com/docs/operations/install/linux/other/ Aerospike 3.6.0 Tar : http://www.aerospike.com/download/server/3.6.0/artifact/tgz

Tar uses in this project : http://www.aerospike.com/download/server/3.6.0/artifact/tgz

Aerospike Unit Key Features:

General Usage :

* AerospikeSingleNodeCluster cluster = new AerospikeSingleNodeCluster(namespace, memorySize);
          cluster.start();
         AerospikeRunTimeConfig runtimConfig = runtimConfig = cluster.getRunTimeConfiguration();
* Faster Dev Effort Use Constructor cluster = new AerospikeSingleNodeCluster(namespace, memorySize,"file:///usr/share/aerospike.tgz");

Sample Test Case Refrence: Single NameSpace Multiple Sets

Links :

Upstart daemon through which Aerospike is spawned http://upstart.ubuntu.com/

Resue port https://meteatamel.wordpress.com/2010/12/01/socket-reuseaddress-property-and-linux/

Tcp port Range http://stackoverflow.com/questions/10476987/best-tcp-port-number-range-for-internal-applications

//FileSystem Operation http://www.java2novice.com/java-file-io-operations/