weblog d’un abbe


Instantaneous fortune

Filed under: Fun — Tags: , — abbe @ 1419
        In the year 2054, the entire defense budget will purchase just one
        aircraft.  This aircraft will have to be shared by the Air Force and
        Navy 3-1/2 days each per week except for leap year, when it will be
        made available to the Marines for the extra day.
        Software is like entropy.  It is difficult to grasp, weighs nothing,
        and obeys the Second Law of Thermodynamics, i.e., it always increases.
        It is very expensive to achieve high unreliability.  It is not uncommon
        to increase the cost of an item by a factor of ten for each factor of
        ten degradation accomplished.
        Although most products will soon be too costly to purchase, there will
        be a thriving market in the sale of books on how to fix them.
        In any given year, Congress will appropriate the amount of funding
        approved the prior year plus three-fourths of whatever change the
        administration requests -- minus 4-percent tax.
                -- Norman Augustine


HOTD: Tweaking colo

Filed under: Fun — Tags: , , , , — abbe @ 0149

Yesterday in the afternoon, I was pointed to the ServerTweak.com page by a good friend Tarun Dua showing me how quickly a 32 MiB file gets downloaded on his n Mbps connection (n <= 4, I don’t remember the actual value). I also tried taking their Speed Test: 32 MB File Test where you’ve to download a 32 MiB file from their servers. On my near 256 Kbps internet connection the file got downloaded in 1-2s. I’m surprised, then I suspected file being transferred is in a highly compressed fashion, so to confirm this I executed following:

└─(01:32:%)── hexdump -C Desktop/32mb.test.file.zip              ──(Wed,Sep17)─┘
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

The file is all zeroes, so this means the file is transferred with Content-Encoding HTTP header set to gzip.

└─(01:32:%)── telnet www.servertweak.com 80                      ──(Wed,Sep17)─┘
Connected to www.servertweak.com.
Escape character is '^]'.
GET /vip/dl.php?type=d&id=2 HTTP/1.1
Host: www.servertweak.com
Accept-Encoding: gzip
Connection: Close

HTTP/1.1 200 OK
Date: Tue, 16 Sep 2008 19:52:07 GMT
Server: Apache/2
Set-Cookie: PHPSESSID=03bf09c9c457814a9268896659c99257; path=/
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Last-Modified: Tue, 16 Sep 2008 19:52:20 GMT
Cache-Control: private
Content-Disposition: attachment; filename="32mb.test.file.zip"
Content-Transfer-Encoding: binary
Content-Length: 33554432
Content-Encoding: gzip
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: application/octet-stream

 �m7��w��       ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
��      ���(
�EEYConnection closed by foreign host.

The time it took is 2-3 seconds. And I don’t think this is unintentional, as this download is listed in the section titled Fastest Fiber Network. Anyways, that was marked as the humor of the day, since if you try to download the file using wget, curl or fetch, then you’ll figure out their real speeds :P. Happy loling…:-D

Blog at WordPress.com.