[OH-Publicity] New blog, same as the old blog
Asheesh Laroia
asheesh at asheesh.org
Thu Aug 16 07:00:13 UTC 2012
Hello, dear everyone,
TL;DR
-----
The blog has a new host, but the URL is the same. It should be more
reliable now.
More details
------------
After much struggling over the past week with php5-fpm acting up on
linode.openhatch.org, I've moved openhatch.org/blog/ to the well-loved
hosting services of nearlyfreespeech.net.
I began this move at about 00:15am US/Eastern, and it's finished as of
02:46am US/Eastern. I also checked the old WordPress database and there
were no posts edited during that period. There were also no comments left
during that period.
To test things, I went through this checklist:
https://openhatch.org/wiki/Making_changes_to_the_blog . I also improved
the checklist so that it adds a test for file uploads, which I also
checked.
This does mean we'll pay something for the hosting, but it won't be
very much money.
It does mean we're trading control away to get possible problems down the
road, such as the fact that we now need to adjust our backup strategy to
include this, and also who knows, maybe one day nearlyfreespeech.net will
let us down.
In terms of making the domain name work: We proxy all access to the
OpenHatch blog through nginx on linode.openhatch.org, which was already
acting as the frontend proxy for the rest of the site.
Footnote about scale
--------------------
The good news with this change is that we can easily handle >800 requests
per second, non-HTTP. For HTTPS we're stuck at a "measly" 100 requests per
second, which honestly is pretty okay too!
If you're giving out links that will be put on Hacker News or Slashdot or
similar, you might as well continue to use HTTP links, but suddenly it
matters a lot less. Full "ab" output:
for https:
$ /usr/sbin/ab -c 300 -n 500 https://openhatch.org/blog/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking openhatch.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Finished 500 requests
Server Software: nginx/1.2.1
Server Hostname: openhatch.org
Server Port: 443
SSL/TLS Protocol: TLSv1/SSLv3,RC4-SHA,2048,128
Document Path: /blog/
Document Length: 1873 bytes
Concurrency Level: 300
Time taken for tests: 5.182 seconds
Complete requests: 500
Failed requests: 196
(Connect: 0, Receive: 0, Length: 196, Exceptions: 0)
Write errors: 0
Non-2xx responses: 304
Total transferred: 12627800 bytes
HTML transferred: 12466200 bytes
Requests per second: 96.49 [#/sec] (mean)
Time per request: 3109.148 [ms] (mean)
Time per request: 10.364 [ms] (mean, across all concurrent requests)
Transfer rate: 2379.78 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 16 1309 975.6 957 3481
Processing: 147 1267 1092.6 726 3636
Waiting: 147 1234 1104.1 725 3636
Total: 365 2576 1356.0 3636 3983
Percentage of the requests served within a certain time (ms)
50% 3636
66% 3668
75% 3677
80% 3679
90% 3713
95% 3727
98% 3729
99% 3747
100% 3983 (longest request)
for http:
$ /usr/sbin/ab -c 300 -n 500 http://openhatch.org/blog/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking openhatch.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Finished 500 requests
Server Software: nginx/1.2.1
Server Hostname: openhatch.org
Server Port: 80
Document Path: /blog/
Document Length: 1873 bytes
Concurrency Level: 300
Time taken for tests: 0.631 seconds
Complete requests: 500
Failed requests: 12
(Connect: 0, Receive: 0, Length: 12, Exceptions: 0)
Write errors: 0
Non-2xx responses: 488
Total transferred: 1771000 bytes
HTML transferred: 1642400 bytes
Requests per second: 792.83 [#/sec] (mean)
Time per request: 378.391 [ms] (mean)
Time per request: 1.261 [ms] (mean, across all concurrent requests)
Transfer rate: 2742.39 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 6 6.8 3 21
Processing: 124 151 29.4 152 461
Waiting: 124 148 16.5 151 334
Total: 125 157 30.1 157 461
Percentage of the requests served within a certain time (ms)
50% 157
66% 160
75% 164
80% 167
90% 175
95% 180
98% 256
99% 296
100% 461 (longest request)
-- Asheesh.
More information about the Publicity
mailing list