client server Flashcards
Define Client Server
Client sends request to server which responds with response messages with the requested info
Examples of client server models
File server
Database server
Email server
API definition
A set of protocols that reate to the communication of multiple applications. Applications can make use of the features from other application
Websocket protocol
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
Pros of Websocket Protocol
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
Uses of Websocket
Video Streaming
Online games
Instant messaging
XML vs JSON
JSON is more compact + easier to read and create + faster for computers to process
XML is more flexible than JSON
Thin Client Definition
Majority of network processing happens by a central server
Thin Client Properties
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