Thursday, 4 August 2011

Technical Conversation for a Change

N: Hey Ankit....Whats Up??
Me: Hii....Just came back from college.
N: Ok...So hows your college going on.
Me: Its going great....Had a very informative session today.
N: Wow...thats great...what was it all about??
Me: Well the session was on System Architecture.
N: Sounds Interesting....Can you brief me a bit on it?
Me: Why not...Well a system refers to a database which describes what is to be processed and applications which process the data in the database. Architecture depicts the way in which different hardware components are interconnected and which software is running on which hardware.
N: Wo!! Wo!! Dude...din't get a word.
Me: Ha..Ha....Let me explain you in simple words. Database is used for storing data which in turn is accessed and processed using a software. System Architecture are of various types namely Single Tier Integrated System , Two Tier Client Server Architecture, Three Tier Architecture and Multi Tier Architecture.
N: Okey....So what is the basic difference between all of these architectures.
Me: Let me explain you all one by one. First lets talk about Single tier integrated system.In this sytem both data and application run on a single hardware but they are logically distinct. For eg, Any application that you run on your desktop or laptop like MS word document and its word processor. So if we have to define single tier architecture then it would mean both data (Word Document in this case) and application (Word processor) lie on the same system.
N: Ok but how does it differs from Two tier system?
Me: The Two Tier Architecture as the name suggests consists of two systems, a client and a server. Client is similar to a laptop with only the applications present on it. The Server is the one which stores the data and this data can be accessed by multiple users at the same time.
N: Are all the client machines connected to each other or only to the server?
Me: The Client machines are connected to each other as well as the server through a Local Area Network, due to this network the machines can interact with each other as well as the servers.
N: So dude what are the advantages and disadvantages of this architecture?
Me: If you talk about the advantages then this pattern ensures that data is not inconsistent, as it is stored centrally. Also, since the application and data are on separate systems the processing speed of machine is enhanced when compared to Single Tier Architecture. But the disadvantage is that this requires high bandwidth and is not suitable for systems that have low bandwidth.
N: So does that reason leads to the evolution of Three Tier Architecture?
Me: Exactly...smart huh...!!
In the three tier architecture system, the shortcomings of two tier architecture are addressed and a new layer called the application layer is introduced. The application layer is nothing but the logic that runs behind the two tier architectures client system, this is separated from the user interface and placed as a different layer. The data is in a separate server and all of these are on a LAN.
N: Thats nice but I am thinking what could be the technology behind the multi tier architecture?
Me: In a multi-tier architecture data, web application and web server are at different locations and the client can access using a web browser. A web server can be treated as a translator which translates the application layer data into a language that the web browser (such as Firefox, Internet explorer) understands and vice versa.  Hence, this architecture frees the system from building or maintaining application client software. Also, it provides a provision of having your software on the internet, which would be useful if organizations have operating units across the globe.
N: Great yaar....You imparted so much of knowledge to me and that too in a single call.
Me: Told you the session we had today in the college was very informative.
N: Yup...True....I am now thinking that a single session at VGSOM is so informative.  How good would be the whole curriculum?
Me: Well you can anytime look into my college's website to know about more details. The link is:-
 http://www.som.iitkgp.ernet.in/.
N: Thanks dude for giving me this GYAAN.
Me: Pleasure is all mine. Have a good night.....Bye Bye :)