by tapan_jk · 4y ago · 0 comments
I don't see this mentioned enough but it wouldn't be surprising if some companies will want to start owning and running their own IT infrastructure. Buy your own servers and setup a small data-center for a small to medium business. This will be a thing again. The pendulum has to swing, but the question is -- is there money in enabling this for companies that want to go this way? I expect some startups in near future to target this opportunity and help shift towards decentralization (again).
I have 3 spare laptops lying around; weakest of them is with a Celeron J4155 and I have put a web app with no caching on it (it does have a persistent DB) and hammered it with my workstation until it finally started giving up at ~2500 req/s (Elixir/Phoenix stack). Again, that's a Celeron J4155 with a SATA III SSD in an M.2 factor (so disk speed caps at 550MB/s at best; usually 400-460) and 12GB RAM. Most programmers wouldn't touch such a machine.
I imagine I can buy 2 more of these laptops and make a completely replicated 3-cluster of the entire stack of our company and the slowest requests (on admin UI where we have a lot of SQL JOINs) would likely never go above 200ms. That totals at about 600 EUR (yep, I bought the laptop second-hand for 200 EUR). Then 500 more EUR for a good UPS to plug the laptops and my routers to. Boom 1100 EUR and several weekends later I can likely charge my own employer for hosting at 100 EUR a month for their entire infrastructure and I would likely still be ripping them off even with that.
The only real cost is human time and energy invested in making it work. But for most companies that's not a 24/7 fight so that cost is fairly low. You can do it twice a year and you're likely never going to have problems.
So yep, I am completely with you here (if my rant didn't make it obvious). Infrastructure costs are already being heavily optimized by companies out there.
If this were true, what made the cloud providers popular in the first place?
Hosting apps in the cloud was a fair exchange 10 years ago because operational tooling in general was more immature. Nowadays it's much easier to self-host many pieces of software though.
Without a cloud you’re always running up against limits, out of power, out out cooling, out of rack space, out of hardware. You get new resources by adding to wish lists and seeing if the end of quarter budget will agree with your request which might be filled in a few months, maybe next year, often never.
You hoard hardware that ends up doing nothing most of the time so you have it when you do need it. Management spends a lot of time and energy managing the datacenter budget.
With cloud you get what you want without asking too much and management periodically spearheads savings efforts to show off, but ultimately usually spends a lot more than they would have otherwise with less friction.
A big part of cloud adoption, according to my theory, is getting executives out of the way of computing resource needs and freeing up their time to fill with something else like bothering employees for more status updates (which are easier and require less skill).
Also, outsourcing moves the blame to someone else if things go wrong. (and things in infra go wrong nearly constantly).
The problem with this kind of thinking is ofcourse, that there is no risk taking and innovation in suchs an organisation..
My old employer had a strategy which basically boiled down to owning everything inside this company expect for the coffee machines and cleaning crew. His reason being? This made it possible to run on very thight margins when the economy takes a downturn without having to scramble for money because of leased/loaned equipment etc.
In the 2008 crisis, this is how he stayed afloat with his company, and even made a pretty profit during a time of crisis too.
This has now created an entire ecosystem of developers and "devops engineers" (what we used to call sysadmins) who know little beyond the cloud and have to keep using it for career-related reasons. This in turn pushes companies to use the cloud as finding talent for old-school on-premises infrastructure is difficult.
It's not a matter of outsourcing culture. Cloud providers really do provide computing in a cost efficient matter since they practically provide IT infrastructure at wholesale, and it produces an anti-trust risk because, as you pointed out, the actual hardware that can make it go is not nearly as expensive.
And we don't have the requirements of most big Silicon Valley companies that you reference. It boggles my mind why so many commenters IMMEDIATELY assumed we're a hyper-growth startup or whatever. We're an expanding data provider and our growth is super predictable, and our set of requirements changes like once a year.
So really, not sure why you and others keep repeating things I already agree with. The cloud wins from one point / scale and on, absolutely; otherwise it wouldn't ever take off. I am saying that people give up way too quickly and run to the cloud long before they need it -- that's all.
Even with the specs you mentioned, you can rent a lightsail server that is comparable on AWS for like 80 usd a month, so I would push back against the idea that using cloud services in pretty much any scenario is a purely technical decision.
Part of the context of discussing things this way is the original article: do the prevalence of service companies signal the end of big tech? I would say no, because the only way to not be reliant cloud service providers is to do what you describe and compete directly with their infrastructure services by forming your own technical infrastructure. But the logical conclusion to doing things this way is that eventually whoever can control more physical infrastructure has an advantage. What if Amazon is able to replicate your service offerings? They would be able to immediately able to offer their version using their cloud services at a fraction of the price because they can amoratize the cost of computing over their cloud business. Then, when they have eliminated you as competition, they can recoup everything by increasing the price. This is a HUGE anti-trust concern, and one that all tech companies should be at least a little bit concerned about in the long term. It doesn't go away because you can have an (in your case more expensive than lightsail) up front investment to own your companies computing resources.
Right now they/we can't do it though, the talent is there but that talent is super busy reworking software that's no longer well-adapted to their new requirements. We'll see if the topic becomes more relevant in the future.
One can rent VMs from Hetzner at 1/3 the price of AWS (and 1/10 the data transfer fees). No managed services, like Dynamo or S3, but will full convenience of on-demand scale-up
Or, for mid-sized corporations - buying a rack of computers, wiring them together, and installing OpenStack to make an internal cloud - that isn't some black magic wizardry either
A lot of these threads end up talking about "scaling" from a pure hardware perspective. Once you start talking about medium-to-large companies, the real scaling headache is people, process, and organizations.
Obviously from one scale and on the cloud is very much worth it. IMO the discussion has to be shifted to "before which point you can easily get away without the cloud?".
But most of the problem isn't with infrastructure. Once you start using AWS's services it is the software that is most problematic. And that is why all these infrastructure / cloud provider wants to do serverless.
I hate having to learn all of AWS, GCP and Azure proprietary tech, I’ll take a Linode box any day thank you
Colo is cheap, connectivity is cheaper then it has ever been, and most bussiness don't require massive scaling to do their bussiness.
Also, owning your own infra allows you to innovate and play a game outside of the borders aws, gcp and azure are drawing up for you.
However, Cloudfront, JSDeliver, etc are a pain. I understand the benefits of caching javascript locally to me, but I want to see companies start hosting their scripts all from their own servers.
If FontAwesome isn't already a tracking company, it's only a matter of time. Cringy-cool name, tentacles throughout the web, all for _fonts_. I'm a senior fullstack dev and I get tradeoffs, but the technical-societal-tradeoffs of the web are bewildering.
The major exception for us is S3, scaling storage seems like it would suck terribly.
Not just companies. Web developers love the complexity of their stack. Some monolith written in native performant language and put on a decent hardware can cover needs of the most reasonable size business. This simple fact makes them very uncomfy when presented. Many of them would not be even aware that such things are possible. They'd rather be spoon fed by the likes of the Amazon telling them how to develop their wares. The fact that the more inefficient their software is the more money said Amazon will make is ignored. They'd invent all kinds of largely BS arguments to avoid going a simpler route. One can just read numerous articles on HN describing "our stack". On a client site they have this React atrocity. Sure this thing works well for orgs the size of FB. But they're not FB and never will be.
Distributed redundancy is a good example. There are very, very few situation in which this couldn't be resolved with a simple BGP daemon on a server and anycast.