Showing posts with label Software Architecture. Show all posts
Showing posts with label Software Architecture. Show all posts

Saturday, May 12, 2007

Software Architecture Series - Peer-to-peer Architecture

I thought of writing a series of posts on Software Architectures. In this first post, I will discuss Peer-to-peer (P2P) Architecture.

In a P2P architecture there's no notion of clients and servers; equal peer nodes show the behavior of both clients and servers.

In a P2P architecture clients provide resources (bandwidth, storage space, computing power) and results in a more robust systm with data replicated over multiple peers with no single point of failure.

Applications of P2P Architecture can be categorized into the following areas:
  1. Communication and Collaboration - Chat/Irc, IM (Aol, Icq, Yahoo, Msn), Jabber
  2. Distributed Computation - use peer computer processing power
    • Seti@home - Search for Extra Terrestrial Intelligence (SETI)
    • genome@home - understand gentic information
  3. Database Systems
    • Local Relational Model (LRM) - relational queries to run across 1000s of computers
  4. Content Distribution Infrastructure for sharing digital media and other data
    • Most P2P are under this category. e.g. Napster, Publius, Gnutella, KaZaa, Freenet, MojoNation, Oceanstore, PAST, Chord, Scan, FreeHaven, Groove, Mnemosyne
I personally found the concept of contributing to searching for extra terrestrial intelligence and understanding genetic information by sharing ones PC resources interesting.

A good example of a P2P application of today is BitTorrent [2].

References:
[1] A Survey of Peer-to-Peer Content Distribution Technologies
[2] Wikipedia (BitTorrent)

Wednesday, May 9, 2007

Random thoughts - Software Architecture to Toastmasters

Last two days have been quite warm here. Yesterday the temperature rose to about 94F. This is infact hotter than a typical day in Colombo.

I've been working on a briefing for Carnegie Mellon and subject was Responsibilities of Software Architects. This is a topic where there are many definitions. Search the web and you'll probably find 100s of defintions. I did a little bit of study my self. At the end I could identify 4 main responsibilities of Software Architects. Hundreds of specfic responsibilities could be categorized under these. The 4 categories of responsibilities are:

  1. Architecting and maintaining the architecture
  2. Communicating (especially the architecture) with all stake holders
  3. Providing Technical Leadership to the project
  4. Acting as a Consultant
What surprised me was that except for the first role, all other roles involved communication and leadership to a very high extent. Simply said a good architect must be a leader and a powerful communicator as much as have the requried technical skills.

This is something most technical people ignore. This brings me back to the title. I joined a Toastmasters club about a month ago and today I did my first prepared speech. Toastmasters is an excellent way to improve your communication skills which I recommend to all.