Better HN
topnewbestaskshowjobs
Log inSign up

witcher

66 karma · joined Dec 25, 2016 (9y ago) · 46 submissions

https://bwplotka.dev
Submissions

comment 6y ago · link · parent

Yes, I love the immutability there!

comment 6y ago · link · parent

I take it as.. yes? That it would do good for configuration as it is simple? (:

comment 6y ago · link · parent

Haha, that's actually amazing fact, lol.

Let's create a CONFIGURATOR language (and secretly hide Go underneath)!

comment 6y ago · link · parent

Interesting view, thanks. (:

comment 6y ago · link · parent

Thank you! I've seen that and I don't fully like it. I am not interested in deploying the configuration. I believe that generating configuration, versioning it, baking it, should be a totally separate process to deploying, rolling out, reverting etc

That's why IMO we should separate those. (:

comment 6y ago · link · parent

I totally understand that, but why not aiming high? Why we just say "you have experience configuring stuff, so we will just give you some extended json with templating, you won't be able to code....". I think this is bad approach (: We should always aim high and mentor those less experience to use programming languages for this. They don't need to know complex algorithms, distributed systems and performance optimization. It's really just more smart templating that is actually can be easier to use! (:

> Templating systems are much more approachable for people who have a lot of experience configuring things via big blobs of text.

I have mixed feelings about this statement. How reading or using jsonnet is easier? I am a principal engineer and I am struggling to work with this, how less expierience people can deal with that efficiently? (:

comment 6y ago · link · parent

Hah, true.

I totally see this being difficult. To enforce DevOps/Ops to actually do code reviews, and versioned, type-safe configuration, but once you accomplish it - the profits are really worth it!

comment 6y ago · link · parent

I might be fanboy of the type safety and having a quick feedback loop, but I cannot imagine a better configuration management system than just straight configuration as code e.g. in Go: https://github.com/bwplotka/mimic

I really don't see why so many weird, unreadable languages like jsonnet or CUE were created, if there is already a type safe, script-like (Go compiles in miliseconds and there is even go run command), with full pledged IDE autocompletion support, abstractions and templating capabilities, mature dependency management and many many more.. Please tell me why we are inventing thousands weird things if we have ready tools that helps with configuration as well! (:

comment 6y ago · link · parent

Any feedback? (:

40.

How to Become an Amazing Open Source Project Maintainer, Survive, and Have Fun!(bwplotka.dev ↗)

31 points · by witcher · 6y ago · 5 comments

comment 8y ago · link · parent

Short reminder, that you can use Damascus steel.. everywhere and it looks really awesome. That's why I have some on my wedding ring... ^^

comment 8y ago · link · parent

If by "Thanos nodes" you mean Thanos querier instances, then yes -> Does not matter to which one you actually ask. All have the same view and access to the old metrics (Store Gateway) and fresh ones (Prometheus+Sidecar - Scraper)

comment 8y ago · link · parent

Either that or just use basic Thanos setup (as described in a blog post) that gives you better Prometheus HA support and global view. You can always add setup for long-term metric retention later on.

comment 8y ago · link · parent

(disclaimer: Blog post co-author) You are welcome to join our growing community to know more. (: Follow slack join button here: https://github.com/improbable-eng/thanos

comment 8y ago · link · parent

My hands + Google Drawing (: (blog post co-author here)

comment 9y ago · link · parent

How is that different than Prometheus? (:
12