waving android

I am currently a software engineer at Google, where as a member of the Android platform team I build frameworks and user interfaces.

The blog here at is mostly historical; you can find more recent posts on .

Archive for March 31st, 2003

Is dsandler.org faster for you?

March 31st, 2003

Is dsandler.org faster for you? Let
me know.

I spent about an hour and implemented a pagecache for the front page.
The first visitor to see fresh content will incur the usual page load
time, including loading all 1600 entry files off disk, stat()
and sorting them, and generating the output HTML.

Every subsequent visitor will see the same page, loaded from MySQL as a
complete chunk. Every subsequent visitor, that is, until I add a new
entry, in which case the cache is flushed and we start all over again.
It should be a lot faster for most readers, and much less punishing to
my server’s filesystem.

Variations on the front page (such as the previous
N entries
) should not be cached, and will be slow as usual. (If
you see caching breakage—that is, stale content where you expect
something else—please report the bug.)

Cory Doctorow has posted a 2 kiloword excerpt from his current book-in-progress, /usr/bin/god.

March 31st, 2003


Cory Doctorow has posted a 2 kiloword excerpt
from his current book-in-progress, /usr/bin/god.

newer: older: