Brent Dax (brentdax) wrote,
Brent Dax
brentdax

  • Mood:

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).
Subscribe

  • New kid on the block

    Motoko finally stopped being able to charge her battery, so I got my new laptop a little early. This is Dagny, my 2GHz Macbook. I also got the…

  • Teh shininess of DOOM

    So, as predicted yesterday, I made a trip to the Apple Store today. Purchases included: 4GB white iPod nano. New in-ear headphones (the old ones…

  • (no subject)

    Franz Ferdinand's song The Outsiders is currently on repeat in amaroK. It has the bassy, complex sound of CSI background music—one of my…

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments