Just add this to your bash_rc … quick easy way to access script/generate
alias rg='script/generate'

The dashboard allows you to quickly see your entire network at a glance, including top 10 servers and a snapshot of everything going on at once.

Thin won out in pretty much every category showing it can handle a larger volume of traffic faster than mongrel can.
-------------------------------------
MONGREL
Server Software: Mongrel
Server Hostname: 127.0.0.1
Server Port: 3000
Document Path: /
Document Length: 1184 bytes
Concurrency Level: 10
Time taken for tests: 65.020 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 1722107 bytes
HTML transferred: 1184000 bytes
Requests per second: 15.38 [#/sec] (mean)
Time per request: 650.195 [ms] (mean)
Time per request: 65.020 [ms] (mean, across all concurrent requests)
Transfer rate: 25.87 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.2 0 60
Processing: 290 647 76.9 618 966
Waiting: 174 599 67.2 576 930
Total: 291 648 77.0 618 968
Percentage of the requests served within a certain time (ms)
50% 618
66% 675
75% 695
80% 704
90% 750
95% 795
98% 866
99% 896
100% 968 (longest request)
-------------------------------------
THIN
Server Software: thin
Server Hostname: 127.0.0.1
Server Port: 3000
Document Path: /
Document Length: 1184 bytes
Concurrency Level: 10
Time taken for tests: 53.618 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 1685045 bytes
HTML transferred: 1184000 bytes
Requests per second: 18.65 [#/sec] (mean)
Time per request: 536.184 [ms] (mean)
Time per request: 53.618 [ms] (mean, across all concurrent requests)
Transfer rate: 30.69 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.7 0 17
Processing: 35 534 100.8 512 1115
Waiting: 35 485 110.8 502 879
Total: 36 535 100.9 513 1116
Percentage of the requests served within a certain time (ms)
50% 513
66% 549
75% 570
80% 577
90% 657
95% 710
98% 799
99% 880
100% 1116 (longest request)
This release is mostly maintenance and bug fixes and me finally getting around to merging with the master branch and packaging it.
Changelog
Download Here: BlueBug (3348)
I just made a quick rails app to store problems/solutions and index them for later on http://bluefault.com/
Simply add a problem/solution and choose a type and hit submit!
Got tired of doing these by hand for classes so I made a little program… VERY basic, only handles one missing variable, but it orders them in terms of min terms and multiplies them out properly… perhaps ill generalize it more the N terms and make a little web service out of it….
Servly is getting closer and closer to launch, I’ll provide more information as soon as it goes live….
For now I got a camera (finally) for Christmas and started taking some random photos…. I also managed to drop my iPhone… it still works so hopefully I wont have to replace it for a while…
![]() |
| January Random |
Well I was doing some homework today in XCode and ran across a strange error…
Assume the first line of the file is an integer, lets say 127
ifstream inFile; int number; inFile >> number;
You would think, on both windows and mac this would store 127 in number.
Only on windows. On my mac it would read in 0 as the value.
On mac (specifically in xcode) to get that number…
ifstream inFile; int num; string temp_num; inFile >> temp_num; num = atoi(temp_num.c_str());
Interesting little bug, or perhaps design choice?