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.

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

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
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