Category: nosql
-
LevelDB – Installation and Performance Tests in Python
py-leveldb installation # http://code.google.com/p/py-leveldb/ # install subversion sudo apt-get install -y subversion # get source code from SVN mkdir -p ~/build/py-leveldb-read cd ~/build/py-leveldb-read svn checkout http://py-leveldb.googlecode.com/svn/trunk/ py-leveldb-read-only cd py-leveldb-read-only # build the leveldb library ./compile_leveldb.sh # build the Python extensions python setup.py build # install it sudo python setup.py install python -c ‘import leveldb; print…
-
Kyoto Cabinet – Performance Tests using python
Install Kyoto Cabinet # http://torum.net/2010/01/kyotocabinet-alpha-release/ ulimit -u unlimited #zlib compression sudo apt-get install -y zlib1g-dev build-essential #lzma compression sudo apt-get install -y lzma liblzma-dev #lzo compression sudo apt-get install -y liblzo2-dev sudo apt-get remove -y libtokyocabinet-dbg libtokyocabinet-dev tokyocabinet-bin libtokyocabinet9 sudo apt-get install -y xz-utils #lua sudo apt-get remove -y lua5.2 liblua5.2-0 liblua5.2-0-dbg liblua5.2-dev sudo apt-get…
-
RocksDB – Installation and Performance Tests
RocksDB is a low-latency embedded key value database created by Facebook engineers. It is based on the LevelDB which was created by Google Engineers Jeffrey Dean and Sanjay Ghemawat. According the rocksdb website, it offers the following advantages compared to LevelDB: – much better performance for databases larger than RAM – great performance for IO…
-
beanstalkc – beanstalkd queue – python client library
Installation beanstalkc is a c-based python client library for beanstalkd. Installation using PIP Installer The library and dependencies can be easily install using the pip installer sudo pip install PyYAML sudo pip install beanstalkc Installation directly from Github This can useful if the pip installed library is too old and required new functionality/bug fixes are…
-
Beanstalkd – Simple, Fast Queue – Installation
Installation through Ubuntu Repository sudo apt-get install -y beanstalkd The version installation is often one to three versions behind. Currently the latest stable is 1.9, the repository has 1.7. It is sometime better to install the latest binary from the beanstalkd home. Manual Installation from Github Repository # create download and build directory mkdir -p…
-
Apache Cassandra CQL3 – Installation and Tests using Python
Installation using PIP # install python-pip sudo apt-get install -y python-pip # install cql driver sudo pip install cql Manual Installation from the Sources # download path mkdir -p ~/build/python-cql cd ~/build/python-cql # download git clone https://github.com/pcmanus/python-cql cd python-cql sudo python setup.py install Query Example # create and move to diretory mkdir -p ~/build/python-cql cd…
-
pycassa – Gettting started with Apache Cassandra using python
Install easy_install and pip # install easy_install sudo apt-get install -y python-setuptools # install python-pip sudo apt-get install -y python-pip Install pycassa sudo pip install pycassa Test pycassa cat > cassandra_test.py
-
Kestrel Queue – Installation in Ubuntu
Introduction Kestrel is a cool, light-weight persistent message queue server written in Scala that speaks the memcached protocol. It was originally developed by Robey Pointer (robey) from Twitter. It was originally a port of its predecessor Starling, which is written in Ruby. Installation It’s pretty straight forward to install Kestrel but requires a number steps…
-
Cassandra-Cluster-Admin – Apache Cassandra GUI – Installation
# create download directory mkdir -p ~/build/cassandra-cluster-admin cd ~/build/cassandra-cluster-admin # download git clone https://github.com/sebgiroux/Cassandra-Cluster-Admin # copy to web hosting directory – typically /var/www/ sudo cp -r Cassandra-Cluster-Admin /var/www/cassandra sudo chown -R www-data:www-data /var/www/cassandra #In a web browser, go to http://localhost/cassandra/ # enjoy 🙂 References 1. Home: https://github.com/sebgiroux/Cassandra-Cluster-Admin 2. Overview of Cassandra GUIs: http://wiki.apache.org/cassandra/Administration%20Tools 3. Overview…