Network Application Architectures
Before diving into the software code, you should have your application architecture of a broad plan. Remember that application ‘s architecture and network structure is clearly different. From the application developer ‘s perspective, the network structure is fixed and specific set of services for the applications. Application architecture, on the other hand, is designed by the application developer and dictate how the application is constructed in a variety of end systems. In the choice of application architecture, application developers for modern network applications may be one of two main buildings will draw examples: client-server architecture or the peer to peer (P2P) architecture.
In client-server architecture, there is always the master name server, requests from many other services for the owner, said customers. Customers can host sometimes or always. A classic example is always on a network server running the client from the master browser requests a Web service application. When the network server from a client when the owner receives a request object, the object of its response by sending a request to the client host. Attention and client-server architecture, clients do not communicate directly with each other; For example, in Web applications, two browsers do not directly communicate. Other typical client-server architecture the server has a fixed, well-known address, called we ‘IP addresses (; ll talk about shortly). Because the server has a fixed, well-known address, and, because the server is always, always with the client through the packet sent to a server linked server ‘s address. Some client-server architecture with the more well-known applications, including network, F1 ‘R Telnet and e-mail.
Usually in the client-server application, a single server host is not competent to keep its customers from all requests. For example, if it is only one server to handle all its requests, a popular social networking sites can quickly become overwhelmed. To this end, the main groups – sometimes referred to as server farms – is commonly used to create a powerful virtual server on the client server architecture. According to the application of client-server architecture is service-intensive infrastructure, because they require service providers to purchase, often install and maintain the server farm. In addition, service providers must pay the recurring costs of interconnection and bandwidth to send data an4 receiving to / from the Internet. Common services such as search engines (ie, Google), Internet commerce (that is, Amazon and e bay), v Internet-based mail (ie, Yahoo mail), social sharing networks (ie, MySpace and Facebook) and the video (ie, YouTube) are infrastructure-intensive and expensive to provide.
In the P2P architecture, there is minimal (or no) trust is always in infrastructure server. Instead, the direct application of the use of intermittently connected communication between the owner, said the peer. Peers not by the service provider has, but the user control of the desktop and laptop computers have at home, mostly universities and office peers. Because peer communication, without passing through a dedicated server architecture, said to the other. Many of today ‘s most popular and traffic intensiye application architecture based on P2P. The application documentation issue (ie, BitTorrent), document retrieval or sharing (ie, eMule, and LimeWire), Intemet phone (ie, Skype) and IPTV (ie, PPLive).
