In this post, I will break down three main servers
that are used for web-applications which are web server
, application server
and database server
.
What is a web server
A
Web server
is a program that uses HTTP (Hypertext Transfer Protocol) to serve the static files to users, in response to their requests.
What is Web server? - Definition from WhatIs.com
If a web server gets a request to serve a static HTML, CSS of Javascript file, it just returns the requested file.
But what happens if a web server gets a request that has to be processed dynamically?
That's when an application servers comes in.
Nginx
and Apache
are very well known and widely used web server softwares
.
What is an application server?
An application server is a server program in a computer in a distributed network that provides the business logic for an application program.
What is application server? - Definition from WhatIs.com
It is the server your application is actually run on. An application server is not restricted to HTTP and is able to do a bunch of other stuff.
When an application server gets a request from the web server, it tells your application about it and your application dose what it's told to do.
If you are famillier with Ruby on Rails, you have probably heard of Unicorn
, Rainbows
, and Puma
. They are very widely used application server softwares for rails applications.
What is a databse server?
A database server is a computer system that provides other computers with services related to accessing and retrieving data from a database.
What is a Database Server?
Basically, it is very self-explanatory.
A database server holds the Database Management System (DBMS)
and the databases
. It searches the database for selected records and passes them back over the network.
Top comments (6)
Thank you for your devoted explanation. I appreciate it. flixdle
Such to be great fun forever here look easily function of robux generator no survey most of players have benefits to going this way.
The information in your post is great. I am very happy to know this information, thank you very much. helix jump
Great article, I understood and differentiated between them. Experience a new life at bitlife, many interesting things are waiting for you.
Thanks to this article now I can distinguish them. Visit quordle game to have fun with some word puzzle games.
very good article, it gave me useful information, thank you for sharing. For full enjoyment, visit sedecordleto play.