This blog moved to medium->https://medium.com/@cocoamaemae

Sunday, February 4, 2018

The difference with web server and application server

Brief

Clarify about the difference with web server and application server.

Web server

web servers are just to handle http requests and return static contents(HTML, CSS, JavaScript) if there are no dynamic processes.
If there are dynamic processes, execute programs like PHP or Perl by using any modules or pass requests to an application server.

e.g.
Apache, Nginx, IIS


Application Server

application servers handle requests from web servers and run programs like Ruby or Java, and response to web servers.

e.g.
Ruby on rails environment
Passenger, Unicorn

Java Servlet environment
Tomcat(*), Glass Fish
(*)Tomcat has a function as web server, too.

No comments:

Post a Comment

Front End Development Tools

TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...