Friday, February 23, 2007

Accelerated Death

Recently, all my 4 computers went down. I would like to share one of the death of my computers so as to alert you visitors.

One of my hard disk, which is ran on Debian Sarge, starts to pop error messages out unstoppingly.


The error probably came from extremely frequent random disk write on the hard disk 2 months ago. I wrote a crawler and save the contents to the hard disk directly at lightning speed for days. This probably inflicted a heavy load on the hard disk. Bad.

The correct way should have been putting them into memory and writing into the hard disk at a buffer, not piece by piece like what I do. ( I have been rushing the project within days, which drove me to do it the bad way )

Anyway, remember this is a bad style for coding. Now, are SQL databases different?

No comments: