This a collection of code snippets that do the same thing: lpush
a URL parameter into redis. To add a language, create a simple webapp that listens on port 3001. The app should then accept a single URL parameter, test
, and then lpush
its contents to the redis list titled test_list
.
brew install go redis node maven
bundle install
ruby app.rb
npm install
node app.js
First, create your go workspace:
mkdir ~/go
echo 'export GOPATH=~/go' >> ~/.zshrc
Install the redigo package:
go get github.com/garyburd/redigo/redis
Run the app:
go run app.go
cd java
mvn package jetty:run
./benchmark.sh