Decided to make myself an advogato account: ntang. Currently not much point, but at some point there may be, and better to claim the namespace before it's taken. There are, unfortunately, other ntang's out there. Bastards.
Stiff. Slept late, needed it. I've had nothing but water today, no food or anything, and I can't say it feels bad. I lay in bed for the past 30 or 45 minutes reading. My head is still a bit fuzzy but I think I'm ready to actually get up and face the world. I think I'll have something light to eat and then go shower, and then maybe put on a load of laundry and hop online for 'real'. Maybe see if anyone at work needs any help, or whatever. At least I don't feel as sick as before, that's a relief. Yawn.
Tried to take a nap, but kept on getting disturbed (phone, email, whatever). I ended up spending over an hour in bed and getting no real sleep... in fact, I got just close enough to real sleep that I feel much more tired now. :P
I hate it when that happens. Sigh. Gotta go pick up my son now.
Tried out BearShare, in part because it uses gnutella and I like the idea behind gnutella. The problem, though, is that the current gnutella design sucks. The network utilization grows exponentially as the number of hosts grow, and it has no concept (last I checked) of caching or anything else.
The idea was for a true p2p (peer to peer) network, but they failed to remember that in a true peer to peer network every single bloody peer has to talk to every other peer in order to achieve any useful results. So this means if you want to do a search on X, you've got to send that search request to every bloody machine on the network (gnutella does it in a web-like-fashion, where you connect to a certain number of hosts, they each connect to a few more, etc. I mean web as in spider web, not as in www.). This means that if 100 hosts connect up, and each does a query, you have 10000 queries (well, not quite, but you get the idea) ripping through the network at once. Not only that but machines are constantly doing queries back and forth to determine latency and to check on availability and everything else, connecting and reconnecting to other machines... it gets ugly.
It _should_ have happened in a more hierarchical fashion - you have, say, 4-5 tiers of servers, each fanning out to several below it and caching the results from the servers under it. There should be a more intelligent routing mechanism to determine the optimal path to a given host, and to determine the best host to download from (preferably the one with the combination of the fewest current downloads, closest path in the network, highest available bandwidth, etc.). I'm not saying I could design the protocol myself - I couldn't - but they really could have done better than they did.
I know they're constantly working on it and trying to improve it, but I wish they'd hurry. :P
There are now peers called "reflectors" out there that basically perform a similar function to what I discussed - they sit out there and "front" for several peers in the network, routing all requests through them and answering all of the requests. This helps cut down on that whole exponential growth bit. Still, it should be a concept that was designed in from the start and should be executed a little more gracefully. A random person should not be ABLE to connect to another random peer in the main network; there should be a form of authentication. I like the way Advogato's certification system works; a similar idea except for hosts would work nicely I think - i.e. you have "root" servers (excuse me from borrowing from DNS terminology) and they each branch out to 2nd level servers and down to 3rd level, etc., and each server can certify other servers as being at certain levels. You can connect at your certification level or lower - and you can only connect to peers which are one level above you or lower - which means random people just joining are guaranteed to be on the bottom of the totem pole, and they have to 'earn' their way up.
I like that.
The more I think about it, the more ideas I get about ways to improve efficiency along the network and such. Kinda nifty. I just wish the original protocol designers had done this sort of brainstorming. Sigh.