5 Common Server Setups For Your Web Application

by | 31 Jul 2015 | Server, Technology | 0 comments

When you are planning for a web application system architecture, there are a few things that you have to take note of.

  1. Scalability
  2. Maintainability
  3. Availability
  4. Cost
  5. Reliability
  6. Performance

 

So there are 5 common server setups as follows:

  1. Everything on one server

Having everything on one server is the most traditional way of having a web application done. This is the easiest method to get things done compared to the rest of the setups. The down side of this is that scalability is almost impossible.

  1. Separate database server

Separate database server means splitting up the web application from the database, where the database will reside on a standalone server and the same goes for the web application. This way you are able to scale the database server if you are getting way more traffic than you could have expected.

  1. Load balancer (reverse proxy)

The purpose of a load balancer is to balance the load of the incoming traffic to your web application. So having a load balancer can help you balance out the incoming traffic to the army of servers that you have. This also mean that you have to deploy multiple servers of your web application.

  1. HTTP Accelerator (caching reverse proxy)

This setup works very similar to the previous method, but the catch to this setup is that the load balancer actually caches the responses from the web application. So eventually if the same request occurs again, the load balancer is able to return the response in a shorter amount of time possible.

  1. Master-Slave database replication

This setup involves the database layer of the system architecture, where you have to two copies of your database on different servers respectively. There will be a master database and a slave database, where the master database is able to process both read and write operations and the slave database only able to process read operations. You must be wondering so how do we get the data synchronised across both databases? Thats where the key word master-slave database replication comes into the picture. Having this setup means, for every write operation on your master database, the changes will be replicated directly on to the slave database.

 

For more detailed information, do refer to the following link.

https://www.digitalocean.com/community/tutorials/5-common-server-setups-for-your-web-application

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Related Posts

BrowserGoogle ChromeProgrammingTechnology
[Google Chrome Developer Ti] Prevent Warning "Your connection is not private" from appearing 5
[Google Chrome Developer Tip] Prevent Warning “Your connection is not private” from appearing

[Google Chrome Developer Tip] Prevent Warning “Your connection is not private” from appearing

This is probably more applicable to web developers. Many times when we try to run a localhost site with https in our local environment to emulate the production environment as close as possible, we will always run into a Google Chrome warning message "Your...

AndroidAppleBrowserGoogle ChromeInternet ExplorerLinuxMicrosoft EdgeMobile PhonesMozilla FirefoxOSSafariTechnology
How to do a hard refresh for Chrome, Safari, Firefox, Internet Explorer or Edge in Windows & Mac?

How to do a hard refresh for Chrome, Safari, Firefox, Internet Explorer or Edge in Windows & Mac?

Browser Hard Refresh in Google Chrome, Safari, Mozilla Firefox, Internet Explorer and Microsoft Edge Sometimes just by refreshing your browser alone doesn't help in letting you see the latest changes of a website. Any web developers will know this best. So below...

Amazon Web Services (AWS)Elastic BeanstalkServer
Unable to delete AWS Elastic Beanstalk Environment "resource XX-XXXXXXX has a dependent object" - MervCodes
Unable to delete AWS Elastic Beanstalk Environment “resource XX-XXXXXXX has a dependent object”

Unable to delete AWS Elastic Beanstalk Environment “resource XX-XXXXXXX has a dependent object”

Unable to delete AWS Elastic Beanstalk Environment "resource XX-XXXXXXX has a dependent object" Problem You will usually get this error when you are trying to delete an Elastic Beanstalk environment. Solution As the message in the Events log states, the security...

DatabaseMagentoMySQLOpen SourcePHPPhpMyAdminTechnology
Magento 1.9 Fix for Sending Double Emails or Sending Email to Wrong Recipients

Magento 1.9 Fix for Sending Double Emails or Sending Email to Wrong Recipients

As we know, Magento uses a cron job system to send out email from core_email_queue table. There is an additional table called core_email_queue_recipients, which as the name states, will store all recipients for emails there. But these records do not get removed at...

ApacheCentOSLinuxOSServerTechnology
How to Setup Let's Encrypt FREE SSL Certificate on Centos 6 Apache using Certbot? | MervCodes
How to Setup Let’s Encrypt FREE SSL Certificate on Centos 6 Apache using Certbot?

How to Setup Let’s Encrypt FREE SSL Certificate on Centos 6 Apache using Certbot?

Having SSL on your website these days is important especially if you want your website to rank better on Google search, and that's when Let's Encrypt come into the picture. Let's Encrypt is a free, automated, and open certificate authority (CA), run for the...