Brent Dax (brentdax) wrote,
Brent Dax

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

  • Paging madlori (and anyone who knows her)

    An interesting thing just happened on Facebook chat. Lori Summers [2:29:44] Got my message ? Brent Royal-Gordon [2:33:45] I did. Lori Summers…

  • guest post

    kate is the best better than the rest the best the best haikus about kate: kate's my favourite i want to lick her ballsack it would taste so…

  • Practice

    This December, I will have been practicing programming seriously for ten years. That will mark the tenth anniversary of me starting to learn Perl. I…

  • Post a new comment


    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.