返回卡包市场

Client-Server

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 24内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (24 张)

#1
正面 (问题)

What is the client-server model

背面 (解答)

A paradigm where providers of resources are designated as servers, and the resource requesters are the client.

#2
正面 (问题)

What will a server do in the client-server model

背面 (解答)

Servers are passive and listen (wait) for incoming requests. When a request is received the server will respond with the resources needed

#3
正面 (问题)

What is the client in the client-server context

背面 (解答)

Service that makes the request. Client process makes a request and will wait for a response

#4
正面 (问题)

What is Client-side processing

背面 (解答)

Refers to any operations that happens on the client side

#5
正面 (问题)

Why do operations use Client-side processing

背面 (解答)

It offloads processing to the client Reduces load on server and reduces the communication bandwidth

#6
正面 (问题)

Negatives of Client-side processing

背面 (解答)

Can pose a security risk

#7
正面 (问题)

What is server-side processing

背面 (解答)

Refers to operations that happens on the server

#8
正面 (问题)

Why is server-side processing used

背面 (解答)

As it gives more control over the environment in which the scripts are executed. Scripts are hidden on the server Server can be optimised to cope with heavy processing demands

#9
正面 (问题)

What is API

背面 (解答)

A set of functions and protocols the client can use

#10
正面 (问题)

What is a web socket protocol

背面 (解答)

An API for establishing a persistent TCP socket connection

#11
正面 (问题)

What is CRUD

背面 (解答)

Create Retrieve Update Delete

#12
正面 (问题)

What does each element of CRUD do

背面 (解答)

Create - writes a record to a database Retrieve - Gets a record from a database Update - amends a record Delete - removes a record from the database

#13
正面 (问题)

What is a DBMS

背面 (解答)

A database management system As multiple clients can update a database with only one copy of the database existing the DBMS will handle the requests.

#14
正面 (问题)

What are the 4 ways the DBMS handles if different users want to update the same record

背面 (解答)

Record Locks Serialisation Timestamp ordering Commitment ordering

#15
正面 (问题)

What is record locks

背面 (解答)

When a user wants to update a record, the record is locked for the duration of the update

#16
正面 (问题)

What is serialisation

背面 (解答)

Transactions can only happen one at a time and the DBMS handles the order

#17
正面 (问题)

What is Timestamp ordering

背面 (解答)

When a record is read its read timestamp is updated Before record is written back, the DBMS will check the timestamp If the timestamp has been changed then it will be cancelled

#18
正面 (问题)

What is Commitment ordering

背面 (解答)

Transactions from multiple clients, and the timestamps are all sent to the server. The server creates a queue, using timestamps, and processes them in a FIFO manner

#19
正面 (问题)

What is HTTP communication

背面 (解答)

It is the application-layer protocol used to communicate between web servers and browsers

#20
正面 (问题)

HTTP communication using CRUD

背面 (解答)

POST GET PUT DELETE

#21
正面 (问题)

What is REST

背面 (解答)

Representational State Transfer An architectural style that determines how systems communicate

#22
正面 (问题)

Why is REST important

背面 (解答)

Allow client and server to be programmed independently while still able to interact with each other

#23
正面 (问题)

Difference between JSON and XML

背面 (解答)

JSON: {“name”} XML: <name> </name>

#24
正面 (问题)

Advantages and disadvantages of JSON

背面 (解答)

Advantages: Easier for humans to read More compact Can be directly manipulated by JavaScript Disadvantages: Limited data types