client server Flashcards

1
Q

Define Client Server

A

Client sends request to server which responds with response messages with the requested info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Examples of client server models

A

File server
Database server
Email server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

API definition

A

A set of protocols that reate to the communication of multiple applications. Applications can make use of the features from other application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Websocket protocol

A

API that operates in application layer of TCP IP.
Ensures constant stream of info via a bi-directional connection, eliminating the need to establish a brand new connection and data request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Pros of Websocket Protocol

A

Means UI doesn’t need to be refreshed constantly, as there is constant, real time information flow
Faster data transmission than HTTP as link is already there - no need for packets to be encrypted, defined guaranteed hop limits
Smaller packets as well, saving on running costs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Uses of Websocket

A

Video Streaming
Online games
Instant messaging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

XML vs JSON

A

JSON is more compact + easier to read and create + faster for computers to process

XML is more flexible than JSON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Thin Client Definition

A

Majority of network processing happens by a central server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Thin Client Properties

A

Easy and cheap to add new clients
All security and OS updates are downloaded to client at boot
Require a powerful server which needs expertise to maintain
Switch needed, not a hub
Greater Security
HIgh bandwidth needed (also low latency) - high data collisions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly