Log in

No account? Create an account
Who, me? [userpic]

Parcel of Penguins: order of operations

January 11th, 2004 (11:59 am)
current mood: geeky
current song: Modern English - Life's Rich Tapestry

I'm starting to look at the Linux NFS codebase and plot out my order of attack in building the Parcel of Penguins.

I think the first thing for me to work on is getting mirroring to work on the server side, because that will work with base-level NFS clients. (Besides, it's probably the hardest part, which means that, if it turns out to be too hard to get right, it's better to find out sooner rather than later.)

After that, I'll work on getting the client to mount N NFS volumes simultaneously, under the covers, and direct its requests based on the hash function. I'll start with a hard-coded hash function (with parameters for tuning), and defer figuring out anything more sophisticated. My inclination for permitting the client to download a complex hash function is to represent the function in Scheme; but the security problems are a challenge...especially if it runs in the NFS client, which is in the kernel. I could push the hash function out into userspace, and use a sandboxed Scheme interpreter; but it's hard to get away from DoS.