Search

quinta-feira, 26 de abril de 2012

Dedicated Web Hosting vs Shared Web Hosting

Hey!

Today i am going to talk a bit about Dedicated Web Hosting and Shared Web Hosting, specially the main differences and which is the best depending on the situation you are facing.

Let's start with shared hosting. In this type of service the objective its to give a decent host by having a low price. Normally any kind of normal website will found this as a solution to their host, because, its cheap compared to dedicated hosting, it's managed by the company that sells it, making it good for you since you don't need to waste time doing software or hardware maintenance but for the other-hand it have some problems as the name says, this service is shared - And what shared means here?

By saying that, it means. that all resources in the server are shared with every website hosted on that server.
CPU is shared, RAM is shared, IP is shared, bandwidth is shared making the sites sometimes run slowly, when someone makes a error on their website code or some site have a big traffic(normally big traffic websites are not allowed on shared hosting).

It brings some security problems and one of the biggest is the DDoS attack, if someone on that server get a DDoS your website will suffer with it too, making it unavailable for a certain period of time.

Dedicated web hosting is exactly the opposite of this, with it, you will have a % of the CPU, a % of the RAM, a % of the bandwidth and a IP reserved to your website. Dedicated service is normally used for high traffic websites and because resources are reserved to you it makes this service more expensive.

Anyway none of this (Dedicated or Shared web hosting) supports TCP/IP socket connection and rarely they will allow you to make connections to the database from a remote machine.

When you get to this point, the need of using sockets or remote db connection you will need to change your hosting type from shared/dedicated to a VPS or Dedicated server.

Shared Hosting PROS

  • Cheaper
  • Easier to manage
  • Allow "unlimited" resources for a low cost
  • Good for informative/static sites
Shared Hosting CONS
  • Very limited use
  • Do not allow socket connections
  • Do not allow remote database connections
  • Do not allow installation of plugins
  • Shared resources
Dedicated Hosting PROS
  • Dedicated resources
  • More secure
  • Good for bigger traffic websites
Dedicated Hosting CONS
  • More Expensive
  • Do not allow installation of plugins
  • Do not allow remote database connections
  • Do not allow socket connections


Conclusion


So as you can see if you are looking for a simply hosting service for a small website Shared web hosting is the answer, but if you need something more "sophisticated" you will need a dedicated hosting or maybe if too big a VPS or dedicated server (high traffic forums, Social networks, amazon like websites).

Sem comentários:

Enviar um comentário