Benchmarking for VoltDB-Node.js driver
JavaScript Java Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
compiler-latest(3)
node_modules
voltdb-client-nodejs @ 6dcdcf5
voltdb-client-nodejs-dev
voltdb-client-nodejs-org
.DS_Store
.gitignore
.gitmodules
Client.class
Client.java
Client1.class
Client1.java
Insert.class
Insert.java
Makefile
README
Results.java
Select.class
Select.java
bench.js
compiler-latest(3).zip
deployment.xml
helloworld.sql
log4j.xml
project.xml
run.sh
swoff
swopt
writes-forked.js
xbench.js

README

VoltJS Bench
============
Benchmarking for VoltDB-Node.js driver

    # compile stored procedures
    export CLASSPATH='./:/Users/hd/voltdb/lib/*:/Users/hd/voltdb/voltdb/*'
    javac *.java

    # compile catalogue
    java org.voltdb.compiler.VoltCompiler project.xml helloworld.jar

    # run server
    java -Djava.library.path=/Users/hd/voltdb/voltdb org.voltdb.VoltDB catalog helloworld.jar deployment deployment.xml leader localhost license /Users/hd/voltdb/voltdb/license.xml

In second terminal:
    export CLASSPATH='./:/Users/hd/voltdb/lib/*:/Users/hd/voltdb/voltdb/*'
    java Client
    java Client1 English # same as Client but no inserts and language parameter
    
Server prints on screen:
xxx

/hd 2/28/12