May 11th, 2004

music, ubergeek, michael

Deep hack mode

Had an idea at 4:30 (woke up to use the bathroom) about how to handle Filespace's load problems...been studying mod_perl filters ever since. Essentially I want to make requests sleep() every kilobyte for short periods, and if a given file goes over a certain threshold of kilobytes per (e.g.) minute, the sleep period gets longer. Exponentially longer. With the right numbers, I could avoid what happened recently. I could even make the kilobyte measure be per-user instead of per-file, or all sorts of other nifty things.

Gonna involve a lot of database requests, but that's unavoidable.

This...could be interesting.

Anyway, I'm in deep hack mode. Please, people, no chat invitations or IMs (except for Liz, who knows how delicate DHM can be anyway).
  • Current Mood
    deep hack mode
amused, silly, ha ha only serious

(no subject)

I'll be taking a break from AIM and LJ until Thursday.

And Dani: you asked why I didn't just log off this morning. I don't log off unless there's something wrong, technically or otherwise.

[edit]Or not. Realized I was bullshitting myself. gomen ne.[/edit]
amused, silly, ha ha only serious

Heh...

My brother is learning geometry from the same guy who taught it to me in high school. His latest test included this question:
14. Bianca Rodrick lives in west Irvine, which is approximately triangular. For all practical purposes, Irvine (all of it) is rectangular (shown below). What is the probability that Brenton Royal-Gordon's missile will hit Bianca's neighborhood? By the way, Brenton is shooting his missile from the moon.
The funny thing is, if anything I had a crush on that girl...
  • Current Mood
    amused amused