Chapter 1 : Client Server Architecture and Web Hosting Flashcards
What does Client/Server Model describes?
- The relationship between 2 computer programs - the client, make a service request from another program, the server , which fulfills the request
- It is deployed on a network
List out types of Servers ( 5 )
- Web Servers
- Application Servers
- File Server
- Terminal Server
- Main Servers
- Basic architecture remains the same
- While purposes is somewhat different
What will client face when device takes more time to access from server?
- Delay
What is the relationship type of Client server?
- Asymmetic Relationship
- Client predominately makes requests, server makes replies
What is the relationship type of Peer-to-peer?
- Symmetric Relationship
What is Three-tier Client / Server?
- Client access to both application logic and shared data through server
- Like Customer -> Waiter -> Chef relationship
What is an example of a client-server environment?
- The Internet
- Web browser is a client program that request services from a web server
What is a server?
- Another computer on the internet that processes clients requests
What environment that client-server environment is replaced?
- Mainframe based environment ( Peer-to-peer Model )
List out 3 nodes for some network
- Client ( User Interface )
- Application Servers ( Software engine that delivers applications to client computer or devices and process data for the clients )
- Database servers ( Store data for the application server )
What is the configuration for client , application servers and database servers?
- Three-tier Architecture
What is the characteristics of a server ? ( 3 )
- Passive ( Slave )
- Waits for Requests
- Upon receipt of requests, processes them and then serves replies
What is the characteristics of a client? ( 3 )
- Active ( Master )
- Sends Requests
- Waits for and Receives Server Replies
List out the advantages of client server model ( 9 )
- Better security ( Data stored in servers )
- Control ability ( Control access to make sure only let permitted users access and change data )
- More flexible than P2P paradigm for updating the data
- Already many matured technologies designed for client-server
- Model which ensures security .
- User-friendliness of the interface and ease of use
- Any element of a client-server network can be easily upgraded
- Coupled with wireless technologies is possible
- Centralized - makes data management controllable
What is the disadvantages of client serer model? ( 3 )
- Traffic Congestion
- When a large number of clients send requests to the same server at the same time, it might cause a lot of troubles for the server
- When the server is down, clients request cannot be fulfilled
Why P2P network request can always be fulfilled?
- Due to resources are usually located on nodes all over the network
- Even one / more nodes depart or abandon the downloading, other nodes can still finish the request
What is the advantage of an n-tier architecture? ( 2 )
- Seperates out the processing that occurs to better balance the load on the different servers
- More scalable
What are the disadvantages of n-tier architectures? ( 2 )
- Puts more load on the network
- More difficult to program and test software than in 2 - tier architecture because more devices have to communicate to complete a user’s transaction
Describe web hosting
- Type of internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web
- Companies that provide space on server owned or leased for use by clients, as well as providing internet connectivity, typically in a data center
What determine criteria of Free vs Paid Web Hosting ? ( 5 )
- Uniqueness
- Reliability
- Search Engine Ranking
- Bandwidth & Storage
- Support & Assistance
What is the criteria for free web hosting?
- Uniqueness
- Provide domain name that has their company name in the URL
- Reliability
- Do not offer same uptime like paid web hosting
- Search Engine Rankings
- Frowned upon by search engines and contribute to lower search engine rankings
- Bandwidth & Storage
- Provide limited bandwidth and storage space
- Support & Assistance
- Do not provide immediate support in case of any technical glitches
What is the criteria for paid web hosting?
- Uniqueness
- Provide personalized domain name for unique identity for businesses online
- Reliability
- Guarantee 99 percent uptime
- Search Engine Rankings
- Higher search engine rankings and better online visibility
- Bandwidth & Storage
- Give the freedom for bueinesses to choose from a variety of packages, with different bandwidth and storage space
- Support & Assistance
- 24/7 technical support via phone, email. or chat, promising peace of mind even during a crisis
List out the factors in choosing for web hosting ( 7 )
- Operating System
- Scripting languages
- Databases
- Single / Multiple domain support
- Price
- Space
- Bandwidth
What are the size for small or medium webiste?
- Between 10MB to 100MB
- HTML files are small ( < 1KB ), the bigger size come from images, button , banner , etc.
What factors should developer configure when web hosting? ( 2 )
- How much disk space?
- The need and the content of the website
A small or medium website will consume how many data transfer per month? ( Monthly Traffic )
- 1 - 5 GB of Data
- Calculate
Average Page Size ( MB ) x Number of Expected Page View per month
Average Page Size = 30 KB
50000 Pages View per Month
Bandwidth = 0.03 MB x 50,000
= 1. 5 GB
List out 2 web hosting technology
- Windows Hosting
- Unix
What web hosting technology is the first ( original ) web server operating system, and it was known as reliable, stable?
- Unix
- It is often less expensive than Windows
What operating system that Windows Hosting runs on?
- Windows Operating System
Why developer should choose Windows Hosting than Unix ?
- If they plan to use any other Misrosoft Software for their server
- Hosting of web services that runs on the Unix operating system
Why client server model provide better security than peer-to-peer servers?
- All data are stored at the servers
Why client server model provide control ability than peer-to-peer servers?
- The server can control access to make sure only let permitted users access and change data