Servers are dedicated computers for a specific purpose, and unlike the Desktop computer these computers are made for durability, longevity and for working longer periods of time as compared to a desktop PC.
Functions of a Server :
A server is made to provide services and functionality to other computers. The other computers which are using the server are called “clients” and this model of sharing is called “client-server” model.
Typically, every computer can be turned into a server using its OS features which allows it to do so. But they won’t be able to support many a huge number of connections due to their hardware limitations and also because of their OS limitations. Server computers use the same parts as of the desktop PC but these parts are designed for durability and non-stop working conditions.
Hardware requirement of Servers :
The hardware functionality is similar to a desktop PC, parts used in servers are of special grade.
The hard disk for server is more resistant to wear, tear and vibrations and can easily withstand those vibrations for years and indeed is more expensive. Unlike a cheap desktop PC drive which is less resistant to wear and tear and vibrations.
A server can have many hard-drives and all of these drives are connected using a RAID configuration. RAID software automatically distributes all the data to each drive and in case of failure of a drive, It builds up the data back on to the new drive installed in place of the failed one.
The motherboard also is expensive and comes with a dual or quad or even octa- CPU configuration and supports large amount of RAM (up to 1-2TB of Ram). Also, server motherboard can support many hard drives.
Servers use ECC rams (Error correcting ram), that is if there occurs an error the ram itself checks for errors and corrects it making the servers more reliable. The server ram comes in large amount (up to 100GB or 128GB stick).
Servers have redundant power supplies, to keep the server up and running in case of power failure. It use a server grade OS like, Linux, Windows server, macOS server etc….These OS’s are configured to handle thousands of concurrent connections.
Uses of Server Computer:
The servers can be used as: –
- Application server –
Mainly provides the access to the applications to the user, eliminating the need to install a copy of the app on their respective PC. Example: -Like a web application server, it can be a www server or a local server.
- Catalog servers –
It keeps and maintains an index or table of content of information which can be accessed by other computers throughout the World Wide Web.
Example: directory servers and name servers are some of the examples.
- Computing Server –
This type of server shares its extensive amount of computing resources like CPU, Ram and storage with its clients over a network.
- Database server –
This type of servers maintains a specific type of database which can be accessed by a user if the user has access to it. Example: – the database can be of books, videos, pictures, music etc.
Like this there are Fax servers, File servers, Media servers, Mail servers, Game servers, Print servers, Proxy servers etc. In this way there can be any number of servers which can be setup to make use of.
Difference between server and PC :
|It is designed for redundancy and non-stop working hours.||It is not designed for redundancy and longer working hours.|
|The hardware is expensive.||Hardware is not that expensive.|
|Uses specialized hardware only.||Does not use specialized hardware.|
|For different tasks different servers are used. Example: – Email server, file server etc…||A PC can be used for any number of tasks.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.