AstonJ

AstonJ

Types of web/app hosting

Split from a thread about Serverless architectures.


Serverless/cloud from Wikipedia:

Serverless computing is a cloud computing execution model in which the cloud provider runs the server, and dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity.

Personally my experience with hosting in general is this:

  • Standard hosting - where you pay someone to host your domain on their server (usually hosting companies that use software like cPanel to split up a server for their customers). These do not come with root access and generally you FTP files to the server. Downsides: you are sharing a server so if there’s a problem with someone else’s site, or they are using a lot of resources it will impact your site/app too.
  • Virtual servers - where hosting companies essentially give you a shared part of a server, you get root access, but share similar problems to shared hosting although it is a little bit better.
  • Dedicated servers - more expensive than the above but a million times better, since you control everything; you can host many different apps using different languages/databases/tech and across numerous domains etc.

I personally feel that when you start spending $100 or more on hosting you should seriously consider dedicated servers as they’ll give you way more bang and flexibility for your buck (before cloud hosting became a thing they were the most expensive option, now they offer you the most value beyond a certain point). The downside is that you will need to learn how to administer a server but there are lots of guides around that can help with this, and some companies even offer managed servers where they do most of the management for you. If you get a dedicated server, get one with at last two mirrored drives in a Raid set up and with some sort of off-server backup and automate your backups (as again these are something you are responsible for yourself).

What is beyond dedicated servers?

Co-location, and after that, your own datacenter.

Co-location is where you purchase your own server and rent rack-space from a datacenter, or a datacenter provider (who buys space in wholesale and sells you a part of it). Plus side is you own the equipment, but downsides are if any of your equipment fails you have to replace the parts yourself and if you’re not local to the datacenter, you have to pay their staff to replace them for you.

I’d like to have my own datacenter one day!! :nerd_face:


Renting a dedicated server is a great option imo - you can easily decommission a server and move to a newer better spec’d one at around the same price every few years and it’s far less hassle than buying your own equipment. Buying your own and co-locating is good when you have lots of servers and it makes more financial sense to buy rather than rent, however, some may prefer to go serverless at this scale.

Where Next?

Popular General Dev topics Top

AstonJ
Split from a thread about Serverless architectures. Serverless/cloud from Wikipedia: Serverless computing is a cloud computing execut...
New
KnowledgeIsPower
I had written an article about container sand-boxing. Please give comments or feedback, thanks! Sandboxing containers
New
KnowledgeIsPower
I had written an article about Migrate a K3S cluster storage from Rook to OpenEBS, with Velero Please give comment or feedback, thanks!
New
KnowledgeIsPower
I had written an article about Using mcrouter and memcached as caching layer for Thanos Store Please give comment or feedback, thanks!
New
New
avinashmeena
What are the benefits of using Linux hosting for small businesses? How does Linux hosting compare to other hosting solutions in terms of ...
New
KnowledgeIsPower
I had written an article about the Leaky Vessels on K3S. Please give comment or feedback, thanks!
New
akinihsan
I am trying to use following kubernetes ingress service to host dashboard in the server. it doesnt host the administration dashboard. How...
New
akinihsan
Hello Do you use static code analysiss tool on your ci cd pipeline? Which one do u use and what are the benefits for you
New

Other popular topics Top

PragmaticBookshelf
Machine learning can be intimidating, with its reliance on math and algorithms that most programmers don't encounter in their regular wor...
New
PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
AstonJ
Or looking forward to? :nerd_face:
498 13326 269
New
PragmaticBookshelf
From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don't need an ...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New