Why I Stopped Self-Hosting

  Рет қаралды 14,734

NeetCodeIO

NeetCodeIO

Күн бұрын

🚀 neetcode.io/ - A better way to prepare for Coding Interviews
Machine Learning Problems: neetcode.io/practice?subpage=...
🧑‍💼 LinkedIn: / navdeep-singh-3aaa14161
🐦 Twitter: / neetcode1
0:00 - Why I stopped self-hosting
5:00 - Why another company started self-hosting
9:23 - Why Netflix went all in on AWS
⭐ BLIND-75 PLAYLIST: • Two Sum - Leetcode 1 -...
#neetcode #leetcode #python

Пікірлер: 67
@mike2ykme
@mike2ykme 11 күн бұрын
I think an important point is that Netflix isn’t using AWS for a majority of their video content being transferred to users. From older posts they were putting things closer to the user by working with ISPs directly to help out the congestion issues.
@kelsey_roy
@kelsey_roy 11 күн бұрын
That’s what edge computing does
@MykhayloS
@MykhayloS 12 сағат бұрын
That is called CDN
@mosti72
@mosti72 9 күн бұрын
I personally think the title should be "Why I stopped self-managing my cloud hosting" since in both of your case it is hosted on the cloud, just managed differently. The points you made I mostly agree with though.
@kishankokal
@kishankokal 11 күн бұрын
why not use docker containerised deployments with github actions???
@enzocrespillo4899
@enzocrespillo4899 11 күн бұрын
It sounds like you probably set up the server with quite a bit of technical debt, which is understandable given the short time it took you to set it up initially (those 8 hours). You could have taken the opportunity to learn how to properly set up the server so that subsequent changes would be less significant. Anyway, what I'm getting at is that this doesn't seem to be a problem with self-hosting per se, but rather with inexperience.
@NeetCodeIO
@NeetCodeIO 10 күн бұрын
Frequent changes and redeployments are time consuming, and a maintenance burden regardless of how long they take in my opinion. Why would anyone ever want to manually do something that can be handled for them? Why would I ever wanna self-host my database? Personally, I would never choose to do that. If a problem can be solved by throwing a reasonable amount of money add it, that's always preferred than using dev hours for it imo.
@Socsob
@Socsob 10 күн бұрын
Yeah I agree. If you want to trade money instead of learning how to do something yourself, that is totally fine and normal though. Example being as a game dev, you could learn how to produce your own art or outsource that part and focus/learn on the parts you are already skilled at. I think it is a matter of prioritization and deciding what you think actually benefits you in the long term.
@astral6749
@astral6749 9 күн бұрын
@@NeetCodeIO I get your point. Not everyone has the time to spend on things they'd rather have someone else do. However, I think your reasoning also discredits those who are into these. Why go through the trouble of self-hosting? Because it's fun to tackle a challenge, and not everyone has the money to throw at the problem. If we let ourselves slide down the slippery slope, we end up with: Why even do all these in the first place? Why not be a couch potato? It's certainly easier.
@diamondkingdiamond6289
@diamondkingdiamond6289 7 күн бұрын
@@NeetCodeIOif you had a data intensive application, self hosting your database might be the only solution otherwise it would be too expensive.
@VivekYadav-ds8oz
@VivekYadav-ds8oz 6 күн бұрын
Most polite way to say "skill issues"
@Bryan-eg7si
@Bryan-eg7si 9 күн бұрын
This sounds more like managed vs unmanaged services
@HumanoidTyphoon91
@HumanoidTyphoon91 11 күн бұрын
My understanding of the scaling of DHH's company is that it's a B2B company where signing large contracts take time and it's easy to plan for more compute power for new large clients, and small clients joining doesn't make much of a difference from the server's point of view.
@lolikpof
@lolikpof 11 күн бұрын
Just use docker for development, and deploy in docker to production. No hassle, no problems
@multivitamin7
@multivitamin7 11 күн бұрын
Idk about no problems. Docker for local dev can be kinda slow when ur waiting for things to rebuild and such. That’s been my experience anyways
@lolikpof
@lolikpof 11 күн бұрын
@@multivitamin7 why would you be rebuilding? you only need to rebuild when changing ur Dockerfile/compose and pretty much never else. Look into devcontainers for greater convenience developing in docker
@kevgoeswoof
@kevgoeswoof 11 сағат бұрын
@@multivitamin7 You can have a development image that, for example, in JavaScript that you run with hot reloading (e.g. npm run dev instead of npm run build within the container). Then the cost of using Docker becomes just the initial container startup, which is often under a second.
@multivitamin7
@multivitamin7 8 сағат бұрын
@@kevgoeswoof I've seen this work pretty well, but it depends some on what your stack is like.
@jaketus
@jaketus 9 күн бұрын
Haven't ever heard somebody call VM from public provider as self-hosting, since you literally aren't self-hosting.
@dinoscheidt
@dinoscheidt 9 күн бұрын
He’s talking about VPS not VM. I.e. a Virtual Private Server as a fractional part of the CPU, RAM, Drive etc which you need to self set-up to get to the point to host anything. A Virtual Machine on the other hand is essentially “just” software. It can be just an operating system (so you still need to set-up and manage things to be able to host in production) or open the door to incrementally handing off more hosting responsibilities i.e. via containers. It’s a general effort gradient compared to bare metal cost and self management and not is or isn’t. Which is also the reason why this video, without more details on what was actually done, isn’t so useful. I.e. one would nowadays rarely self-host a website. But processing video files can easily make sense for dedicated hardware just doing that.
@jaketus
@jaketus 9 күн бұрын
​@@dinoscheidt VPS and VM doesn't make (almost) any difference from operating point of view, if it's hosted by someone else. And certainly makes absolutely no difference for the point of this video. What I'm questioning, is calling a server, VM or otherwise, hosted by someone else, as "self-hosted". As it literally is not. It's someone else buying the hardware and handling the upkeep. Which is important difference compared to actually self-hosted, where at minimum, you own the hardware, and preferably the physical environment the hardware is ran in.
@regnam503
@regnam503 4 күн бұрын
@@jaketusIn the literal sense of the word, you’re right, but here „self-hosted” usually means rolling out using a VPS as opposed to individual cloud services.
@jaketus
@jaketus 4 күн бұрын
@@regnam503 I'd argue that no, it doesn't usually mean VPS. And especially, when we're talking in the context of it-companies the size of Netflix, self-hosted obviously means actual Netflix owned hardware. And contradictory to this video, Netflix isn't 100% cloud. They have their own hardware points-of-presence in ISP data centers as cache, so that they don't have to pay the huge data transfer costs of AWS. And that's actual self-hosting.
@Phaceial
@Phaceial Күн бұрын
@@regnam503it literally doesn’t. VPS is not self hosted.
@alexanderfournier7292
@alexanderfournier7292 11 күн бұрын
I'm old enough to remember working at companies that didn't use the cloud. Holy fuck was it annoying waiting to get a literal box installed in your datacenter somewhere in the EU. That alone is worth the extra money.
@astral6749
@astral6749 11 күн бұрын
Are you really self-hosting if you're hosting it on the cloud tho?
@sangeeth96
@sangeeth96 11 күн бұрын
Not everything is about unhealthy hyper-growth. I don't think DHH here was trying to compare themselves to Slack/MS Teams levels of scale + complexity with this move or telling that they can do a better job than those folks by not doing cloud.
@gowtham4943
@gowtham4943 11 күн бұрын
i wonder how much do you pay for your firebase? is billing okay compared to deploying own backend?
@SirShashanksonusahu
@SirShashanksonusahu 11 күн бұрын
how is this self hosting? he is hosting in cloud, not on premise.
@blackplaydoh3522
@blackplaydoh3522 2 сағат бұрын
?? Not mutually exclusive. You host a service yourSELF vs using a managed solution.
@bmdavis419
@bmdavis419 11 күн бұрын
Such a great video, pretty much my thoughts as well
@multivitamin7
@multivitamin7 11 күн бұрын
Ben Davis spotted
@adityamwagh
@adityamwagh 11 күн бұрын
I used this video as a monologue in the background. Helped me focus. 😊
@wisdomlounge4452
@wisdomlounge4452 11 күн бұрын
Whaaat! You used this guy's rambling techno babble soapbox rant for background sounds? - Nice!👍 I'm going to play it at my job site, all his yapping played incessantly on a repeating loop, mixed with soothing classical piano music, like Chopin's Nocturnes. The people at my job site may not have one clue what he's pontificating about but they're gonna love it anyways, lol! We're in this friendly competition as to who can provide the most "interesting" (if not annoying) background music -Lol!😁👍
@kevinsantana876
@kevinsantana876 7 күн бұрын
Interesting video! Like many things in engineering the answer of whether or not to self host is dependent on what the end goal is and which trade-offs your willing to make. I think DHHs post and your video are great example of what this thought process looks like in action vs using a technology/stack/approach/whatever because the cool kids (netflix, dhh, google, amazon, etc...) are using/doing it.
@jacobitosuperstar
@jacobitosuperstar 11 күн бұрын
What the fuck that this take man... there are plenty of tools to do continous delivery in your VM (i don't know why this guy thinks that a VM in the cloud is not part of the cloud????) that you just didn't use. And the guy of the article said him self many times, that the cloud is good to rent, but not to base your business around it, because it will drain you from your profits (also, I am seeing that you don't know who that guy is or what app he has, that allowed him to do this change, but hey, who am I to tell you anything???). And finally, Netflix is not "full in AWS", like the guy in the article that you skipped through, they use AWS for services that they don't want to replicate.
@nadtz
@nadtz 8 сағат бұрын
This is more like managed vs unmanaged, both are 'in the cloud', one just has all the knobs and tunables done for you. I'm a sysadmin not a dev so I feel exactly the opposite because when stuff breaks on the backend I'd be one of the people troubleshooting and fixing it anyway but I can understand your perspective as well. I've worked with companies that have moved their infrastructure to the cloud and others who after reaching a certain size have either moved stuff on prem or lease colo space and it's all situational. In the end if you can get your work done faster and easier no harm no foul.
@RemotHuman
@RemotHuman 11 күн бұрын
Maybe there is a way to self host with less time commitment? Maybe something like dokku/caprover/coolify would help?
@MrSurfsAlot
@MrSurfsAlot 4 күн бұрын
Well if your website isn't making any money and you don't have any users it doesn't make sense to pay money for a cloud provider. I was just wasting like $70 a month on azure bills for the cheapest tier DB and Windows server .. i'd like to self host but would need to spend $100 to my internet provider for a static IP and haven't had the time to look into work arounds
@xrehpicx
@xrehpicx Күн бұрын
its pride and also u get to learn wt ur code is actually running on more than just at the surface level
@mrkostya008
@mrkostya008 12 сағат бұрын
okay the analogy with ppl building their pcs is a weird one. if you want to get yourself a pc you usually build one yourself as prebuilt options are just meh, unless you have the buck to get a custom one.
@HoloPanio
@HoloPanio Күн бұрын
I swear, you are the Dr. K of Software Engineering, and I am here for it!
@31redorange08
@31redorange08 11 күн бұрын
You have to realize that US engineers are extremely overpaid. An hour of your time would be much less worth outside the US.
@wisdomlounge4452
@wisdomlounge4452 11 күн бұрын
The cost of living is also usually less elsewhere, so the difference is often a wash.
@thespcrewroy8716
@thespcrewroy8716 11 күн бұрын
ok 3rd worlder
@31redorange08
@31redorange08 11 күн бұрын
@@wisdomlounge4452 It is, but not to that extent.
@markzuckerbread1865
@markzuckerbread1865 11 күн бұрын
I have to self host jenkins at work and god i hate it so much, i wish we just used a normal managed CI instead
@deeprajbaidya7100
@deeprajbaidya7100 11 күн бұрын
Why is there to hate self hosting Jenkins?
@markzuckerbread1865
@markzuckerbread1865 11 күн бұрын
@@deeprajbaidya7100 to quote their own docs, it's not cloud native, it uses the file system for storing all it's data, a pain in the ass to backup, furthermore, they have this convoluted plug in system that turns a simple update into dependency hell.
@ordinarygg
@ordinarygg 5 күн бұрын
I think you misinterpreted term VPS and self-hosting. I have own home-lab with self-hosted software. Probably you are talking about VPS -> cloud. It will take some time till you came back when you learn that all those companies do the same but wraps everything in UI.
@regnam503
@regnam503 4 күн бұрын
David seems to care a lot about being independent and self-owned, growth is not necessarily required for that. Once you embrace this mindset, his behavior actually makes sense.
@xrehpicx
@xrehpicx Күн бұрын
phonepe selfhosts most things on a huge insane dc, i work here smh managing is cheaper at the cost of my mental
@quickesttutorial
@quickesttutorial 11 күн бұрын
Massively agree on this video. Product ITSELF is the most important part. Cost savings comes next.
@IvandelHorno
@IvandelHorno 2 күн бұрын
Clickbait title, I don't even think you can call this self-hosting since you don't even host the things, they are hosted on cloud although you manage them.
@impatientgaming9868
@impatientgaming9868 11 күн бұрын
Good
@earthling_parth
@earthling_parth Күн бұрын
I love this channel but at just 1:08 mark, the entirety of this video loses the point for me. We other's have mentioned you stopped self managing your 'cloud 'resources.
@nikhil199029
@nikhil199029 10 күн бұрын
U r speaking 1.5x 😂
@ismbks
@ismbks Күн бұрын
skill issue
@InquisitiveLittleSteps
@InquisitiveLittleSteps 11 күн бұрын
Today's daily challenge please...
@mriz
@mriz 11 күн бұрын
i think it is important for you to disclose whether you are being paid by Google talking about this topic, since Google have Cloud division.
@NeetCodeIO
@NeetCodeIO 11 күн бұрын
$0
@lawuche9501
@lawuche9501 11 күн бұрын
When this blows up please like this comment 🎉 P.S:awesome stuff your doing neetcodeIO
This Is Why Managers Don't Trust Programmers...
28:04
Healthy Software Developer
Рет қаралды 91 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 14 МЛН
ВИРУСНЫЕ ВИДЕО / Мусорка 😂
00:34
Светлый Voice
Рет қаралды 9 МЛН
i changed my mind about zig
9:34
Low Level Learning
Рет қаралды 128 М.
Self Host 101 - Set up and Secure Your Own Server
25:56
Syntax
Рет қаралды 24 М.
A Year of Self-Hosting: The Open-Source Projects To Check Out in 2024
6:41
Why Great Developers DON'T Create Content (and a lesson to learn)
6:56
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 162 М.
self-host the INTERNET! (before it's too late)
15:14
TechHut
Рет қаралды 122 М.
Why You’ll WASTE The Next 3 Years…
6:06
Travis Media
Рет қаралды 175 М.
Twitter actually shipped this trivial security issue
8:47
NeetCodeIO
Рет қаралды 129 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 270 М.
Why Doesn’t Everyone Use This Animation???
23:59
Theo - t3․gg
Рет қаралды 63 М.