DEV Community

K-Sato
K-Sato

Posted on • Updated on

Web server?/Application server?/Database server?

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.

References

Top comments (11)

Collapse
 
jamesalan profile image
James

I found the explanation of web servers, application servers, and database servers in this post to be incredibly clear and informative. BitLife As someone navigating the complex world of server technology, this breakdown was exactly what I needed to understand the distinct roles and how they interact in web development.

Collapse
 
oliverjamie0404 profile image
Oliver Jamie

Thank you for your devoted explanation. I appreciate it. flixdle

Collapse
 
meave9786 profile image
meave9786

Such to be great fun forever here look easily function of robux generator no survey most of players have benefits to going this way.

Collapse
 
pauldupont1120 profile image
Paul Dupont

I'm grateful, as always. I want to commend you on a fantastic blog because this knowledge is very helpful to me. exhibit of sorrows

Collapse
 
danielusa profile image
Williams Daniel

very good article, it gave me useful information, thank you for sharing. For full enjoyment, visit sedecordleto play.

Collapse
 
alicelo88536138 profile image
Alice Love

Great article, I understood and differentiated between them. Experience a new life at bitlife, many interesting things are waiting for you.

Collapse
 
thomas180399 profile image
Thomas Frank

Thanks to this article now I can distinguish them. Visit quordle game to have fun with some word puzzle games.

Collapse
 
vidmatemobi profile image
Vid-mate.mobi

An application server is a server program in a computer in a distributed network that provides the business logic for an application program

vid-mate.mobi

Collapse
 
ronger profile image
ronger

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing Strands Unlimited

Collapse
 
kalylcie profile image
cie kalyl

The information in your post is great. I am very happy to know this information, thank you very much. helix jump

Collapse
 
ronger profile image
ronger

I have recently started a blog, the info you provide on this site has helped me greatly. Thanks for all of your time & work Strands Game