News for hackers. Stuff that matters.
Re:The Cult of Kubernetes by collyw on Monday September 09, 2019 @08:19AM (#20917417)
Part of the problem is the hiring process (plus attitudes seen on here).

Your resume needs to have lots of fashionable buzzwords rather than pragmatic good enough / keep it simple choices. You must keep on learning (lots of things rather than mastering any one thing). I can write a really nice site in standard Django with some JQuery, and it will take me half the time that adding React to it will. But adding React will make me much more employable and get me a better wage.

Re:The Cult of Kubernetes by 0x445442 on Monday September 09, 2019 @10:23AM (#20918454)
You've touched on some very key problems here.

It's seems like at some point around five years ago the three tier architecture with it's division of labor vanished over night. I'm not saying things were perfect back then but I've never seen any demonstrably objective reasons why it was replaced.

I went from having to be mindful a few configuration items which arose from deploying my war to different environments to slogging through configuration hell in the Terraform and AWS world. I've been learning way more about Ops than I ever cared to know while at the same time becoming a -10x developer in terms of shipping business value.

Re:The Cult of Kubernetes by xena on Monday September 09, 2019 @08:28AM (#20917462)
The real trick is to make your site load so fast people swear it's magic. I use a combination of serving things from ram and https://instant.page to do this with a fairly boring plain old HTML rendering on the server app. I even have a Progressive Web App out of it too.
Re:The Cult of Kubernetes by grenoire on Monday September 09, 2019 @09:52AM (#20918141)
Honestly, very true. After doing some brief work for a financial services company, the one thing they were consistently surprised at was how fast the application ran!

Yeah, duh. I render simple HTML templates on the server and serve them as browsers expect them; not with a thousand lines of JS for topping.

Re:The Cult of Kubernetes by ConfusedDog on Monday September 09, 2019 @09:13AM (#20917783)
Are there any side effects from preloading pages when hovering over the link?
Re:The Cult of Kubernetes by xena on Monday September 09, 2019 @09:32AM (#20917958)
Probably? I don't have side effects on hyperlinks though.
Re:The Cult of Kubernetes by wlesieutre on Monday September 09, 2019 @10:49AM (#20918689)
The "Pages not preloaded" page notes that it excludes addresses with query strings just in case they run some action that you might not want to trigger on hover. You can override the default behavior if you know it's not an issue.

I'm reminded of a post from a few years ago where someone's website had a table of items with [delete] links and would take database actions based on GET requests to those URLs. Who cares? It looks the same to a human browsing it.

And then it got crawled by a search engine which followed all the links to see where they went.

But if you're not doing anything unusual like that, I don't see how prefetching HTML would cause any problems.

Re:The Cult of Kubernetes by wwweston on Monday September 09, 2019 @02:28PM (#20920890)
What do you use to serve from RAM?
Re:The Cult of Kubernetes by cutler on Monday September 09, 2019 @08:57AM (#20917653)
Rails with turbolinks or Django/Laravel + pjax is good enough for most purposes. When Kubrrnetes first appeared it was laughable if you used it for anything less than provisioning a massive fleet of servers. Now it's something you sprinkle on your corn flakes.
Re:The Cult of Kubernetes by collyw on Monday September 09, 2019 @11:20AM (#20918967)
Yep. We just started implementing it at my place. I had only just started and wanted to say that it seemed like overkill, but it was under way when I started and bringing that up in my first week didn't seem like a good way to start.

Top be fair it has reduced our server costs a bit (after maybe 6 months of developer time). I am unconvinced it will be worth the hassle.

Re:The Cult of Kubernetes by aaronbrethorst on Monday September 09, 2019 @01:05PM (#20919971)
FTE dev, fully loaded, is what? $250,000 per year? More?

Are the improvements worth $125,000?

Re:The Cult of Kubernetes by collyw on Monday September 09, 2019 @04:23PM (#20922051)
We are in Spain, no San Francisco, so a fair bit lower than that. IF the startup goes well and we need to scale maybe it will be worth it. And it does give us the advantages of high availability.

Though one comment I saw about Kubernetes on here a few weeks back concerned an old schooler like me. The guy suggested that if something goes wrong, just kill the pod and let kubernetes bring up another. Apparently that's the way you are supposed to do things. Something seems really wrong with that approach to me. Just throw resources at the problem with very little understanding of why things went wrong.

Re:The Cult of Kubernetes by cutler on Monday September 09, 2019 @08:15PM (#20923942)
Docker + Kubernetes = the death of YAGNI
Re:The Cult of Kubernetes by t0astbread on Monday September 09, 2019 @06:19PM (#20923109)
It seems to me that the requirements for personal infrastructure and professional service-grade infrastructure have drifted so far apart that essentially, if you know one world you don't (automatically) know the other at all.

Tbh, I have no real world experience in this, so it might just be my own delusion. However, I've recently started getting into self-hosting some of the services I use. I'm using a simpler infrastructure than what OP described and while it is the right choice for me and a useful skill to have, I feel like it absolutely won't get me anything in the sysadmin/ops/etc. job space. I've actually considered adding more "enterprisey" tech to it (like Ansible or comparable stuff) just to make it more sexy for recruiters.