The concept and difference of C/s architecture and B/S architecture

Source: Internet
Author: User
Tags mongodb postgresql redis firewall

C/S architecture

C/S architecture can also be seen as a fat client architecture. Because the client needs to implement the vast majority of business logic and interface display. In this architecture, the part of the client takes a lot of pressure because the display logic and transaction processing are included, to meet the actual project needs by interacting with the database (usually the SQL or the implementation of the stored procedure) to achieve the persisted data.

Advantages and disadvantages of C/s architecture

Advantages:
1. The interface and operation of the C/S architecture can be very rich.
2. Security can be very easy to ensure that the implementation of Multi-layer certification is not difficult.
3. The response is faster because there is only one layer of interaction.

Disadvantages:
1. Narrow application area, usually used in LAN.
2. User group fixed. Because the program needs to be installed before it can be used, it is not intended for some unknown users.
3. Maintenance costs are high, an upgrade occurs, all client programs need to change.

b/S structure

b/S architecture is all called browser/server, IE browser/server structure. Browser refers to the Web browser, a very small number of transaction logic in the front-end implementation, but the main transaction logic is implemented on the server side, browser client, WebApp server-side and DB-side constitute the so-called three-tier architecture. b/S architecture of the system without special installation, only a Web browser can.
b/S architecture, display logic to the Web browser, transaction processing logic on the WebApp, so as to avoid a large fat client, reduce the pressure on the client. Because the client contains very little logic, it is also becoming a thin client.

The advantages and disadvantages of B/s architecture

Advantages:
1) The client does not need to install, there is a Web browser.
2) BS structure can be directly placed on the WAN, through a certain degree of authority control to achieve the purpose of multiple customer access, strong interaction.
3) BS architecture upgrades the server without needing to upgrade multiple clients.

Disadvantages:
1 The BS architecture is not as satisfactory across browsers.
2 performance to achieve the degree of CS program requires a lot of effort.
3 The speed and security of the need to spend a huge cost of design, this is the biggest problem of BS architecture.

Alibaba Cloud Hot Products

Elastic Compute Service (ECS) Dedicated Host (DDH) ApsaraDB RDS for MySQL (RDS) ApsaraDB for PolarDB(PolarDB) AnalyticDB for PostgreSQL (ADB for PG)
AnalyticDB for MySQL(ADB for MySQL) Data Transmission Service (DTS) Server Load Balancer (SLB) Global Accelerator (GA) Cloud Enterprise Network (CEN)
Object Storage Service (OSS) Content Delivery Network (CDN) Short Message Service (SMS) Container Service for Kubernetes (ACK) Data Lake Analytics (DLA)

ApsaraDB for Redis (Redis)

ApsaraDB for MongoDB (MongoDB) NAT Gateway VPN Gateway Cloud Firewall
Anti-DDoS Web Application Firewall (WAF) Log Service DataWorks MaxCompute
Elastic MapReduce (EMR) Elasticsearch

Alibaba Cloud Free Trail

Related Article

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.