- marv: MacBook Air 11-inch, Mid 2013 (256 GB APPLE SSD SM0256F)
- hild: Supermicro SuperServer 2027TR-H72RF+ (6x Samsung 840 Pro, HW RAID10)
- Storm SSD
$ iozone -l 32 -O -i 0 -i 1 -i 2 -e -+n -r 4K -s 4G
Iozone: Performance Test of File I/O
$ iozone -l 32 -O -i 0 -i 1 -i 2 -e -+n -r 4K -s 4G
Iozone: Performance Test of File I/O
# This is a code example for the Ruby HTTP library Typhoeus | |
# here's an example for twitter search | |
# Including Typhoeus adds http methods like get, put, post, and delete. | |
# What's more interesting though is the stuff to build up what I call | |
# remote_methods. | |
class Twitter | |
include Typhoeus | |
remote_defaults :on_success => lambda {|response| JSON.parse(response.body)}, | |
:on_failure => lambda {|response| puts "error code: #{response.code}"}, |