This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@redis:~# redis-benchmark -q -n 100000 | |
PING (inline): 45392.64 requests per second | |
PING: 45433.89 requests per second | |
MSET (10 keys): 41631.97 requests per second | |
SET: 45578.85 requests per second | |
GET: 45808.52 requests per second | |
INCR: 46317.74 requests per second | |
LPUSH: 46168.05 requests per second | |
LPOP: 46125.46 requests per second | |
SADD: 46125.46 requests per second |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#install script for ganglia monitor node | |
#using Vladimir Vuksan's RPMs | |
yum -y install rrdtool mod_php php-gd make | |
chkconfig httpd on | |
/etc/init.d/httpd start | |
cd /lib64 | |
ln -s libexpat.so.1 libexpat.so.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# David Lutz's Multi VM Vagrantfile | |
# inspired from Mark Barger's https://gist.github.com/2404910 | |
boxes = [ | |
{ :name => :web, :role => 'web_dev', :ip => '192.168.33.1', :ssh_port => 2201, :http_fwd => 9980, :cpus =>4, :shares => true }, | |
{ :name => :data, :role => 'data_dev', :ip => '192.168.33.2', :ssh_port => 2202, :mysql_fwd => 9936, :cpus =>4 }, | |
{ :name => :railsapp, :role => 'railsapp_dev', :ip => '192.168.33.3', :ssh_port => 2203, :http_fwd => 9990, :cpus =>1} | |
] |
OlderNewer