Categories
Technology

Kazaa

Recovered from the Wayback Machine.

In reference to the last posting, Julian mentioned that perhaps Kazaa and it’s supernodes have more of an aluminum core because the cloud that supports the Kazaa P2P network is still mallable — the Supernodes that provide the cloud services are fluid and can change as well as go offline with little or no impact to the system.

I imagine, without going into the architecture of the system, that more than one Supernode is assigned to any particular subnet, others to act as backups, most likely pinging the primary Supernode to see if it’s still in operation. Out of operation, the backup Supernode(s) takes over and a signal is sent to the P2P nodes to get services from this IP address rather than that one. The original Supernode machine may even detect a shutdown and send a signal to the secondaries to take over.

Or perhaps the Supernode IPs are chained and the software on each P2P node checks at this IP first and if no response occurs, automatically goes to the second within the Supernode list and continues on until an active Supernode is found. This would take very little time, and would, for the most part be transparent to the users.

Again without access to any of the code, and even any architecture documentation (which means there’s some guesswork here) the algorithm behind the Supernode selection list looks for nodes that have the bandwidth, persistent connectivity, and CPU to act as Supernodes with little impact to the computer’s original use. The member nodes of each KaZaA sub-net — call it a circle — would perform searches against the circle’s Supernode, which is, in turn, connected to a group of Supernodes from other circles so that if the information sought in the first circle can’t be found, it will most likely be found in the next Supernode and so on. This is highly scalable.

So far so good — little or no iron in the core because no one entity, including KaZaA or the owner’s behind KaZaA can control the existence and termination of the Supernodes. Even though KaZaA is yet another file sharing service rather than a services brokering system, the mechanics would seem to meet our definition of a P2P network. Right?

Wrong.

What happens when a new node wants to enter the KaZaA network? What happens if KaZaA — the corporate body — is forced offline, as it was January 31st because of legal issues? How long will the KaZaA P2P network survive?

In my estimation a P2P network with no entry point will cease to be a viable entity within 1-2 weeks unless the P2P node owners make a determined effort to keep the network running by designating something to be an entry point. Something with a known IP address. Connectivity to the P2P circle is the primary responsibility of a P2P cloud. KaZaA’s connectivity is based on a hard coded IP. However, small it is, this is still a kernel of iron.

We need a way for our machines to find not just one but many P2P circles of interest using approaches that have worked effectively for other software services in the past:

We need a way to have these P2P circles learn about each other whenever they accidentally bump up against each other — just as webloggers find each other when their weblogging circles bump up against each other because a member of two circles points out a weblog of interest from one circle to the other.

We need these circle to perform a indelible handshake and exchange of signatures that becomes part of the makeup of each circle touched so that one entire P2P circle can disappear, but still be recreated because it’s “genectic” makeup is stored in one, two, many other circles. All it would take to restart the original circle is two nodes expressing an interest.

We need a way to propogate the participation information or software or both to support the circles that can persist  regardless of whether the original source of said software or information is still operating, just as software viruses have been propogated for years. Ask yourselves this — has the fact that the originator of a virus gone offline impacted on the spread of said virus? We’ve been harmed by the technology for years, time to use the concepts for good.

We need a way to discover new services using intelligent searches that are communicated to our applications using a standard syntax and meta-language, through the means of a standard communication protocol, collected with intelligent agents, as Google and other search engines have been using for years. What needs to change is to have the agents find the first participating circle within the internet and ask for directions to points of interest from there.

Standard communication protocol, meta-language, syntax. Viral methods of software and information propogation. Circles of interest with their own DNA that can be communicated with other circles when they bump in the night, so to speak. Internet traversing agents that only have to be made slightly smarter — given the ability to ask for directions.

Web of discovery. Doesn’t the thought of all this excite you?

Categories
Just Shelley

Frozen Custard

I’ve been interested in P2P technologies for a few years now. When I was at Skyfish, the former CTO — an Australian by the name of Michael — and I worked out the architecture for a services application that was based on a P2P cloud with absolutely no reliance on a static IP. I constantly preach chaos in the land of the standards. Time for me to spend some serious time on these subjects this week. I’m long overdue. Keep an eye peeled to the TechBlog if any of this interests you.

In the meantime, there’s this blog, which is for all things not technology. For instance…

The doctor said I was very brave today and Robbie said that since I was so good, I would get a treat. A cone of Ted Drewes Frozen Custard — a classic famous round the world. Creamy, subtle, but not too rich. A perfect frozen custard.

The fun part of traveling is finding the sights, scents, and tastes of each place visited. In San Francisco, there’s the crab at the outside vendors at Fisherman’s Wharf, the egg, tomato, and Cobb bacon sandwiches at Farmer’s Market, or the garlic ice cream at the Stinking Rose. In Portland, there’s the micro-brew sampler at McMenamin’s. In New York — hot pretzels from street vendors. Swank in Seattle at the famous Canlis restaurant. Fresh Haystack bread at the Cannon Beach Bakery. Corned Beef and Cabbage at the Black Rose in Boston.

The sinful taste of Boehm’s chocolate covered candied orange. To be accompanied by dark, rich espresso. Drunk out of a mug. A common, cheap, thick, white china mug.

Categories
Just Shelley

Hurt foot

Well, aren’t I deadly dull?

Due to a slight medical problem that has worsened because of my tripping all around the Arch yesterday, I won’t be able to travel for at least a few days while I get additional treatment. I won’t bore you with minute details other than I had an infection in my foot, which hasn’t improved. Well, okay, so I didn’t stay off it like I should — but that’s not the point!

Anyway, I’ll be in St. Louis for a bit longer than originally expected, and conversely, around to pester you all for a few more days before happy trails again.

This really has irritated me, too. Grrr.

IIPM

Categories
Technology

A true P2P Cloud

Recovered from the Wayback Machine.

A true P2P cloud does not have a core of iron. By this I mean that there can be no static IP or server providing the gateway or facilitating the communication between nodes within a distributed application.

You can argue this one with me for years and you won’t convince me otherwise. I know that Groove has an iron core cloud. I know that Userland is thinking of an iron core cloud that can move about the nodes. UDDI is based on the premise of a centralized source of information about services that just happens to get striped and mirrorer. Striped — chunked off. Mirrored — distributed to different servers. And don’t focus on the the distributed in the latter, keep your eye on the server.

Server == iron

iron == control

Freenet comes closest to being the truest form of a cloud but there is an assumption that the gateway to the cloud must be known in some way, a pre-known entrance. According to the Ian Clarke’s Freenet: A Distributed Anonymous Information Storage and Retrieval System, “A new node can join the network by discovering the address of one or more existing nodes through out-of-band means, then starting to send messages”.

Can we have P2P clouds without some touch of iron? Can we have transient gateways into P2P networks without relying on some form of pre-knowledge, such as a static IP?

Ask yourselves this — I’m looking for information about C#, specifically about the CLR (Common Language Runtime) and the Common Language Interface (CLI).

Keys are: C# CLR CLI

Go to Google, enter the words, click on I’m Feeling Lucky — and say hi to me in passing.

We don’t need P2P clouds with cores of iron; what we need is new ways of looking at existing technologies.

to be continued…

Categories
Writing

The Princess

There once was a fairy tale princess who lived in a land of sunshine and Starbuck lattes. Of course she wasn’t part of a fairy tale, and she wasn’t really a princess, but starting a tale with “there once was a fairy tale princess” sounds better than “there once was this lady of no particular note other than to her close friends”.

(Truth in advertising doesn’t apply to storytelling.)

Anyway, back to the story.

The princess was confident and fairly strong except for one secret shame, one overriding fear — this princess was terrified of coaches.

You see when the Princess was very young, she was in many coach accidents and that left her nervous at the sound of stamping hooves and clattering wheels. Normally she could function within a society filled with coaches, but she couldn’t drive her own coach; the horses could sense her fear and refused to yield to her touch.

In time the young Princess fell in love with an evil Wizard who saw in the Princess a vulnerability he could exploit. Whenever he became angry, he would take the Princess out into a coach and drive it very fast, tell the Princess that he was going to drive the coach into this tree or off this cliff if the Princess wasn’t very very good.

Once, the Princess became so terrified during one ride that she grabbed the reins from the Wizard and held on to them for all she was worth until the coach stopped, disregarding the beating of the Wizard. When he got out, she kept the coach doors locked as the Wizard kicked and kicked at them until he burned out his anger and they could continue home, safely, one more time.

Another time, the evil Wizard got angry and forced the Princess out of the coach on a deserted country road. Here the Princess stood, on a road with no houses, no street lights, no moon to light her way — alone in the country with no clear idea of where she needed to go, begging the Wizard to return for her; terrified that the Wizard would return for her.

The Princess walked and walked along the road, becoming more and more terrified until she was eventually found by a passing coachman who kindly took her to the constable, who, in turn took her to a doctor because the Princess couldn’t stop shaking and was so frightened she could no longer talk.

In time, the Princess realized the folly of her relationship with the Wizard and banished him from her life. He in turn, left her with one final curse — she would go through life terrified of coaches.

The Princess met other more gentle Wizards who worked with her to overcome her fear of coaches. At some point, the Princess could be in a coach in traffic without closing her eyes at every intersection. There was a real sense of triumph the day the Princess didn’t break out in a cold sweat when she rode in a coach in a strange highway.

Eventually, one day, the Princess felt that she had progressed enough to try taking the reins of the horse into her own hands. At first she was frightened and stiff and very awkward. However, the Princess began to find out that she liked having the reins of the coach in her hand. In fact, she felt empowered by being in control. She was in control!

The day the Princess was passed by the court authority to drive a coach on her own was probably one of the happiest days of her life. The curse of the Evil Wizard was finally almost broken.

Except for one remaining trial. One last dragon that the Princess had to slay.

Freeways. The Princess was terrified of Freeways, especially attempting to drive the Freeways by herself. She would sit at her window and look at the Freeway outside her window and dream of driving on it, but every time she would attempt it she would become afraid and pull back. She knew deep down inside that the curse would never be completely lifted until she faced her final fear, but the battle was so hard.

Finally, at the end of the tale — because all tales do end — the Princess crept out of her castle in the early dawn hours and forced herself on to the Freeway by her home. Her heart was beating so hard she thought she would surely pass out…but she didn’t. She then continued down the road and on to Freeway’s in other strange worlds, each one driven becoming one more swing of the sword at the dragon formed from her fears.

Los Angeles — clang!
San Diego — clang!
Phoenix — clang!

Back country road with a low gas tank and no one in sight, and the memories crowding in, fighting for recognition, screaming in her mind to be let out, until a light appeared and other coaches appeared — clang!

Albuquerque, with the sun in her eyes and the coaches surrounding her like angry gnats, fear so strong her head pounded with the effort, mouth so dry, she was desperate for water but terrified of taking her eyes off the road to grab the water bottle — swing and swing and swing with the sword. Clang! Clang! Clang!

Oklahoma City. Tulsa. St. Louis. The sword made one final swing, the dragon expired, and the curse was broken. The Princess was finally free.

And she lived happily ever after.

The End.