Sitemap
Sandy Edwards

Sandy Edwards

Software Engineer at Subtext, Flatiron School Grad, French Bulldog Father https://sandyedwards.io

Modern Server Technology Guide

3 min readNov 5, 2018

--

As a developer it’s really important to understand how modern server technology is used and how to apply server tools in the right way when scaling an application. This blog will serve as an introductory guide to how servers commonly interact with one another in order to render a dynamic web page.

What is a server?

A server is typically a high powered computer that handles the processes a network needs to function. This can vary from database management, running application logic, processing HTTP requests, encryption and security, and email management.

If the network or application you want to build is somewhat small in size and you have no plans for scaling the project, one server can typically handle all of these responsibilities at once. This is referred to as Virtual server architecture, because it allows more than one server to run on the same machine. However, if you would like to scale your project and ensure that it will not fail under a heavy user load, there is a different more structured approach to setting up your network.

Servers for Scaling

Before we talk about our local server network, we have to understand what a DNS server is. DNS servers (Domain Name Servers) are essentially phone books for web page IP addresses. When you type www.google.com into your browser search bar, a DNS server somewhere in the world receives the request, locates Google’s IP address and redirects you to the server network that contains Google’s web application.

Once the DNS server has redirected the user to the correct server network based on the site’s IP address, the app’s local network is typically made up of three parts.

  1. HTTP server:

An HTTP server receives the HTTP request and assesses whether the request is simple enough to be handled by itself (request for a graphic for example), if the request involves rendering a file built by our application’s front end framework it will pass the request to the next server which is the…

Get Sandy Edwards’s stories in your inbox

Join Medium for free to get updates from this writer.

2. Application server:

The App server interprets the request and runs any corresponding logic required to display the particular web page route that was requested. If any activity from the request involves accessing or altering the database, the App server will the communicate with our final server, the Database server. Upon receiving the information required from the Database server, the App server will provide the HTTP server with the code required to display the page.

3. Database Server:

The Database server stores all of the application’s data, and allows for alteration, or rendering of any information stored by the application in order to provide the correct user experience. The Database server is the final link in the server chain and is only accessed by the App server when necessary.

Division of Labor

Servers are split up into these independent responsibilities in order to allow for the maximum access to processing resources when dealing with a heavy load of application usage. These individual servers can easily manage their individual tasks at scale much more reliably and efficiently than a single Virtual server.

Cloud Storage

An increasingly popular way of managing data and functionality nowadays often involves hosting pieces or the entire application offsite in the cloud. This essentially means that instead of hosting your application locally inside of your onsite servers, you would outsource the application hosting to an organization that provides cloud server functionality. Thus, their servers would instead deal with whichever portion of computing you provide to them. Probably the most common approach to server management today would be a hybrid approach, or a mixture of local server usage and cloud hosting.

It’s always exciting to learn a little bit more about what’s going on behind the scenes on the ever growing and ever more complexity internet we all know in love. That’s all for this week folks, until next time…

Love Code // Love Life

--

--

Sandy Edwards
Sandy Edwards

Written by Sandy Edwards

Software Engineer at Subtext, Flatiron School Grad, French Bulldog Father https://sandyedwards.io