Advantages and disadvantages of C/S architecture and B/S architecture

Source: Internet
Author: User

1, C/SAdvantages and disadvantages of Architecture Software

(1), The application server running data load is light. The simplest C/S architecture database application consists of two parts: customer applicationProgramAnd database server programs. The two can be called foreground programs and background programs respectively. The machine that runs the database server program, also known as the application server. Once a server program is started, it waits for a response from the client program. The client application runs on the user's computer and corresponds to the database server, which can be called the customer's computer, when you need to perform any operations on the data in the database, the client automatically searches for the server program and sends a request to it. The server program responds to the request according to the predefined rules and returns the result, the data load on the application server is light.

(2), Data storage and management functions are more transparent. In database applications, data storage and management functions are performed independently by server programs and customer applications. Front-end applications can violate the rules, in addition, different (whether known or unknown) running data is usually not centrally implemented in the server program, such as the visitor's permissions, numbers can be repeated, and customers must have orders. All of these are transparent to end users working on front-end programs. They can do their jobs without having to ask (and usually cannot interfere) The process behind them. In the application of the customer server architecture, the foreground program is not very "small", and all the troubles are handed over to the server and network. Under the C/S system, databases cannot truly become public and professional warehouses, and they are managed independently and specially.

(3), C/SThe disadvantage of the architecture is high maintenance costs and high investment.. First, the C/S architecture should be adopted, and an appropriate database platform should be selected to achieve true "unification" of database data, so that the data distributed in two locations can be synchronized completely to the database system for management, however, operators in the two locations must access the same database directly in order to achieve this effectively. If there are some problems that require "real-time" data synchronization, it is necessary to establish real-time communication between the two locations to maintain the online operation of database servers in the two locations. Network Management staff must maintain and manage servers and clients, this requires high investment and complex technical support, high maintenance costs, and a large number of maintenance tasks.

Secondly, the traditional C/S structure software needs to develop different versions of software for different operating system systems. Because the product is updated rapidly, the high cost and low efficiency have not adapted to the work needs. After the emergence of a cross-platform language such as Java, the B/S architecture severely impacted C/S and posed threats and challenges to it.

2, B/SAdvantages and disadvantages of Architecture Software

(1), Easy maintenance and upgrade methods.At present, software systems are being improved and upgraded more and more frequently. The B/S architecture products are obviously more convenient. For a slightly larger unit, if the system administrator needs to run back and forth between hundreds or even thousands of computers, the efficiency and workload can be imagined, however, B/S architecture software only needs to manage the server. All clients are only browsers and no maintenance is required. No matter how large a user is, the number of branches does not increase the workload of maintenance and upgrade. All operations only need to be performed on the server. If the operation is performed remotely, you only need to connect the server to the private network for remote maintenance, upgrade, and sharing. Therefore, clients become increasingly "thin", while servers become increasingly "fat" are the mainstream direction of future information development. In the future, software upgrades and maintenance will become easier and easier to use., ThisThe manpower, material resources, time, and cost savings are obvious and amazing.Therefore, the ways to maintain and upgrade the revolutionYes"Thin" client, "fat" server.

(2), Cost reduction, select more. As we all know, Windows is almost unified on desktop computers, and browsers have become standard configurations. However, windows is not absolutely dominant in server operating systems. The current trend is that all application management software that uses the B/S architecture only needs to be installed onLinuxServer, and high security. Therefore, there are many server operating systems. No matter which operating system is used, most people can use Windows as the desktop operating system and the computer will not be affected, in this way, the most popular free Linux operating system has developed rapidly. In addition to the free operating system, the Linux database is also free of charge, which is a popular choice.

For example, many people go to "Sina" every day. They only need to install a browser and do not need to know what operating system the "Sina" server uses, in fact, most websites do not use Windows operating systems, but most of their computers are installed on Windows.

(3), Application server running data load is heavy.

Because the B/S architecture management software is only installed on the server side(Server),The Network Administrator only needs to manage the server. The main transaction logic of the user interface is implemented on the server completely through the WWW browser, and a few transaction logics are implemented on the browser, all clients only have browsers, and network administrators only need to perform hardware maintenance. However, the data load on the application server is heavy. If the server crashes, the consequences are unimaginable. Therefore, many organizations have database storage servers, just in case.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.