4 ms·
As an Ops guy, I preach Ansible + systemd all day everyday, but so many of our Devs (and Ops) have drunk the containerization Kool-aid. Unfortunately, the same
by shitloadofbooks 9y ago
As an Ops guy, I preach Ansible + systemd all day everyday, but so many of our Devs (and Ops) have drunk the containerization Kool-aid.
Unfortunately, the same culture which fucked modern web design (a new JS framework every 6 months) is starting to creep into Ops; some REALLY smart people make a tool which promises to be X but with X's main problem solved. They do the easy 80% and then abandon the project when the hard 20% needs to be fixed (and forget documentation).
- lobster_johnson 9y agoThe JavaScript situation is grossly exaggerated. It's doing very well. It's just that the people who aren't productive are also the ones shouting the loudest on HN. Meanwhile, a lot of people are being very quiet getting tons of stuff done really efficiently. (Source: Me, very happy React developer who is so glad we're finally out of the terrible "wilderness years" of server templates and jQuery.)
- stephenr 9y ago> terrible "wilderness years" of server templates wat.
- deleted 9y ago[deleted]
- lumpypua 9y agoThat's fine, it's: > terrible "wilderness years" of server templates and jQuery where things go off the rails.
- yellowapple 9y agoI reckon > terrible "wilderness years" of ... jQuery is the part where things go off the rails (and literally off the Rails).
- the-dude 9y agoDidn't Rails originally ship with Prototype? I liked Prototype.
- deleted 9y ago[deleted]
- pjmlp 9y agoI will rather take any server templates and jQuery over flavour of the month JS framework, and will keep doing that until my boss or customer tells me otherwise. No need for JS for what can be done in plain HTML/CSS.
- seanp2k2 9y agoOffloading view changes to clients can both give a better experience (changes are reflected ~instantly vs a refresh and a round-trip to the server) and can scale much better (e.g. Server only used to process CRUD operations, CDN or nginx / Apache used to distribute static assets like the JS app, index html, CSS + images etc). It can also potentially help with things like caching, but more traditional server-side templated designs can also use things like Varnish with the ESI feature, utilizing caching mechanisms in the framework / app (e.g. Memcache or whatever), etc. I used to think SPAs were dumb, but now I love Rails 5 API-only mode + EmberJS + EmberData. It also makes server-to-server a breeze, because you already have your API. Mix in JSONAPI, swagger, and oauth and it's a pretty happy environment to build software in.
- pjmlp 9y ago> changes are reflected ~instantly vs a refresh and a round-trip to the server You can achieve that with a little sprinkle from jQuery. For UI/UX rich experiences, taking advantage of OS animation frameworks and widgets, I would anyway advise native applications.
- TeMPOraL 9y ago> and can scale much better Offloading everything like that to client is antisocial behaviour. Seriously. This goes beyond "bad engineering"; for any popular website, this literally means saving a bit on your servers while causing lots of electricity being wasted by your millions of visitors. This is the computing equivalent of selling extremely fuel-inefficient cars to regular people.
- arethuza 9y agoIt can give benefits but all too often I'm left looking at a spinner wondering what the hell is going on before eventually being presented with a simple page that would have been trivial to render server side. c2.com being a tragic example of this.
- roryrjb 9y agoI've been exploring Docker lately, but I've just launched a small project using Ansible and systemd, much much simpler to setup and deploy updates.
- _pmf_ 9y ago> They do the easy 80% and then abandon the project when the hard 20% needs to be fixed (and forget documentation). That's a nice summary. The 2nd level ignorance of those people is astounding. Oh, sure, write the 618th package manager, I'm sure you'll be the one who finally gets it right.
- digi_owl 9y agoI suspect that systemd will end up in the same state...
- digi_owl 9y agoFunny, i consider systemd very much a part of the containerization cool-aid...
- kseifried 9y agoAnsible + systemd + containers is a match made in heaven. https://developers.redhat.com/blog/2017/05/04/breaking-up-the-container-monolith/ https://developers.redhat.com/blog/2017/05/04/breaking-up-th...