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

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
RobertRichards
Hair Salon Games for Girls Fun Girls Hair Saloon game is mainly developed for kids. This game allows users to select virtual avatars to ...
New