- vừa được xem lúc

Database architecture

0 0 8

Người đăng: Quốc Nguyễn Đình

Theo Viblo Asia

Database architecture

I'm a beginer who have just already learned this knowledge so it's inevitable that in this blog there are some flaws. If there's some points in this blog which are wrong, please comment to let me know =(((

Deployment topologies are the arrangement or the architecture for the flow of getting and querying data between clients and the database or DBMS.

In terms of on-premise architectures:

There are 3 kinds of architecture: one-tier, two-tier, and three-tier architecture.

A. Local architecture

One-tier architecture:

It also refers to the local topology. You can deploy your database on your own laptop which is often limited to a single user, which is useful for testing or development, or when the database resides in the local application.

Client-server architecture:

Untitled

A database resides on a database server that is remote.

Users communicate with the database via the client systems which are webpages or local applications. ( in this case, the client application/server communicates directly to the database server to get the data)

Untitled

In some cases, there is a middle-tier between a client-server and a database server, which is typical for multi-user scenarios or production. (in this case, there is an intermediate layer, the user gets data via the client application(webpages, apps,..) and the client application communicates with the database server via the application server layer (not in a direct way anymore).

I.Two-tier architecture:

Untitled

In this architecture, users can get data from the applications. Applications can communicate with databases via some sorts of database APIs or frameworks.

A database client is belonged to the database server but is installed in the client system or local client which has some drivers like ODBC/JDBC to retrieve data.

In the database server (DBMS, there are 3 internal tiers such as a data-access layer, an engine layer, and a storage layer.

The data access layer communicates with the database client. The data access layer contains APIs corresponding to each kind of drivers like ODBC,JDBC; CLP and Prob.

DBMS contains database engine to compile query, retrieve and process data and return the result set.

The database storage is where data resides which can be a local or remote storage.

II.Three-tier architecture:

Untitled

There are 3 layers.

End-users interact with presentation layers which are typically webpages, apps,…

Client applications communicate with the application server over the network.

An application server can have a business logic and database APIs or Frameworks which communicate with the database server via the database driver or APIs which reside on the same tier. (database driver is the database client in the 2-tier architecture).

The database driver or APIs interacts with the database server via the database interface and then compiles, process, and return data in the database engine. Database storage stores data.

B. Cloud-based architecture:

Untitled

The database resides in the cloud environment.

Users can easily access the cloud without having to download or install DBMS.

Client applications can communicate with cloud servers via the application server or APIs or interfaces.

Bình luận

Bài viết tương tự

- vừa được xem lúc

Được rồi, đi thôi!!! VPS free nè (^.^) [P1]

Bạn là sinh viên, bạn là lập trình viên khó khăn về mặt tài chính, bạn không có xiền thuê VPS, được rồi hãy đến đây!!!. Hôm nay mình sẽ hướng dẫn cho các bạn cách tạo VPS free bằng Github Workflow & N

0 0 45

- vừa được xem lúc

[Linux] Iptables trong hệ thống Linux

IPtables là ứng dụng tường lửa miễn phí trong Linux, cho phép thiết lập các quy tắc riêng để kiểm soát truy cập, tăng tính bảo mật. Khi sử dụng máy chủ, tường lửa là một trong những công cụ quan trọng

0 0 34

- vừa được xem lúc

Từ bug format sai chuỗi số khi nhập bằng bàn phím tiếng Nhật, tới IME và các sự kiện composition trong JS

"Tự nhiên tui thấy hiện tượng lạ”. Khi nhập liệu một chuỗi các kí tự vào thẻ input, thông thường chúng ta nhập thế nào thì hiển thị thế ấy, không làm phép biến đổi gì cả.

0 0 36

- vừa được xem lúc

Tạo Rijndael S-box sử dụng trong AES

I. Rijndael S-box là gì .

0 0 25

- vừa được xem lúc

Giới thiệu về lỗ hổng tràn bộ đệm (Buffer Overflow) và cách khai thác

Khái niệm. Lỗ hổng tràn bộ đệm (Buffer Overflow) là lỗ hổng trong lập trình, cho phép dữ liệu được ghi vào một buffer có thể tràn ra ngoài buffer đó, ghi đè lên dữ liệu khác và dẫn tới hoạt động bất t

0 0 32

- vừa được xem lúc

Share Libraries Hijacking trên Linux

1. Cách thức hoạt động của Share Libraries.

0 0 17