Better HN
topnewbestaskshowjobs
Log inSign up

sciurus

16,460 karma · joined Jan 19, 2011 (15y ago) · 3,459 submissions

I'm a principal engineer at Docusign based in Atlanta, GA. My personal website is https://www.polibyte.com
Submissions

comment 7y ago · link · parent

s/or/and

comment 7y ago · link · parent

If nothing else, your site helped me uncover some kind of bug in Firefox's experimental compositor.

https://bugzilla.mozilla.org/show_bug.cgi?id=1515787

comment 7y ago · link · parent

Why on earth would you configure swap on a system running an in-memory database? Presumably you use an in-memory database because you need extremely fast response times from it, but those are going to go through the roof when it starts swapping, potentially causing a cascading failure throughout systems that directly or indirectly rely on it.

Better to configure the databse to allocate less than the available system memory and refuse writes when it's out of free memory.

comment 7y ago · link · parent

Speaking of phones, aren't most people's smartphones already "an always on microphone in their homes"?

comment 7y ago · link · parent

> The way the user runs it means that they don't store any metrics locally

Ah, that's great! I was mistakenly assuming that Prometheus would still have to write the data to disk; I didn't realize you could disable local storage.

> The range of exporters is very extensive

Sure, but that doesn't solve the problem that your heroku dyno, or lambda function, etc cannot expose metrics for Prometheus to pull, but it could easily push metrics somewhere.

> it's designed as one component that someone running at large scale or a SaaS vendors needs. Your comparison isn't apples to apples.

That's fair; I was thinking of Cortex as something to adopt off the shelf, instead of something to integrate with. However, as a SaaS provider you can always build more custom functionality alongside Cortex instead of making it a direct part of the open-source project.

comment 7y ago · link · parent

At that point you're just treating Prometheus as an agent, like telegraf or collectd, running in the customers infrastructure to collect metrics from it and publish them to Cortex. That gets to my first point that Prometheus does a lot more than that, so maybe it would be beneficial to replace it or strip it down to ensure your customer never has to worry about storage performance, for example.

It's flexible for some architectures, but not others. If your potential customer runs their own servers or something like k8s that they can deploy Prometheus to, sure. But what if your potential customer runs on a PaaS like Heroku? Or a FaaS like lambda? Or what if what they primarily care about getting metrics from are jobs on some managed data processing service, like cloud dataflow? Etc.

In the end, to offer Prometheus/Cortex as a SaaS and be competitive with existing players like Datadog, SignalFX, etc I'd expect you'd have to run an API that your customers can code against to push data to you.

comment 7y ago · link · parent

If I had to speculate why Prometheus is doing well, I'd put the simplicity of deployment and ongoing operations first, and probably the great integration with Kubernetes second.

I think that if it had gone with a push-based model it would have been just as successful.

Push vs Pull is unrelated to integrating service discovery. Right now I push metrics to Datadog. It can tell if my metrics are operating or not, because it's aware of the state of the Datadog agent and of what the EC2 API reports.

comment 7y ago · link · parent

Looking at this architecture, I wonder if it would make sense to replace Prometheus itself with something simpler? Normally Prometheus pulls metrics, evaluates rules against them, stores them, and answers queries on them. It looks like in Cortex the latter three functions are handled by other services, and Prometheus is just pulling and forwarding metrics.

Also, the article says Cortex "completes" Prometheus. While it does fill many of the gaps, there is still a big one: First-class support for pushing metrics. This seems especially important if you want to offer Prometheus as SaaS. Your customers won't want to run their own Prometheus installs (that's what they pay you for, after all), and asking customers to open their firewalls so that your Prometheus can discover and scrape their infrastructure is probably a non-starter.

comment 7y ago · link · parent

Nitpick, but like many things in America that varies from state to state. Many have "open primaries" where you just show up and request whichever party's ballot you want.

https://en.m.wikipedia.org/wiki/Open_primaries_in_the_United...

comment 7y ago · link · parent

The question I don't see answered anywhere on their website or repo is "why?". Why in 2018 with

a) many mature configuration management systems like puppet, chef, ansible, and salt

b) lots of architectures that no longer require traditional configuration management (e.g. "serverless", immutable deployments of VM images, docker images on hosted kubernetes)

is there a need for a new CM tool? What is OpsMop doing different or better that gives it a hope of gaining traction?

comment 7y ago · link · parent

Right, but this is the same way Python works. Jumping back to the original argument in the post, the author claimed that Python was "going out of it's way to be different" by passing objects by reference value. C# provides a counterxample to that claim.

comment 7y ago · link · parent

It looks like a standard single r/w master + multiple r/o slave topology with the addition of their own leader election. I'd want to understand how the latter works and how it is tested very well before I'd trust it.

https://kubedb.com/docs/0.9.0/guides/postgres/clustering/ha_...

https://github.com/kubedb/postgres/blob/master/pkg/leader_el...

comment 7y ago · link · parent

When were you born, and what country do you live in?

As someone born in the 1980s in the USA, I don't think this is true. I believe that the 30 year mortgage has been the standard here since sometime in the mid 20th century.

944.

How Brian Kemp turned warning of election system vulnerability against Democrats(ajc.com ↗)

1 points · by sciurus · 7y ago · discuss

945.

How does a tech billionaire say sorry for his unauthorized wedding? An app(washingtonpost.com ↗)

2 points · by sciurus · 7y ago · discuss

comment 7y ago · link · parent

I think the objective (at least of the printed version) is for Microsoft to have something unusual to hand out at their conference booths that will drive traffic to them.

comment 7y ago · link · parent

For those not in the know, this appears to be a sequel of sorts to https://kubernetes.io/blog/2016/06/illustrated-childrens-gui...

comment 7y ago · link · parent

Why can't you replace the older LXC containers with new ones managed via LXD?

comment 7y ago · link · parent

From what I can tell you're talking about processing logs to device metrics, but this project is specifically about storing the raw logs themselves. Two different (albeit potentially related) problems.

What you are proposing for deriving metrics from logs exists in plenty of forms. Check out https://github.com/google/mtail , for example. Of course, you still have to store them somewhere, visualize them somehow, etc. That won't simply be part of your shell pipeline.

comment 7y ago · link · parent

Whether something is "in code" or not is orthogonal to the problem of tracking infrastructure changes. E.G. You can commit a change to Terraform, but that doesn't tell someone when "terraform apply" occurred.

What you should use depends on what tools you have available. We currently use Datadog, so we use their API for publishing events. We can then search for them in the event stream or overlay them on dashboards.

You could look at the datastores Grafana supports for annotations and choose whichever of them you're comfortable operating.

http://docs.grafana.org/reference/annotations/

comment 7y ago · link · parent

I don't think we refer to Firefox on Android as "Quantum" yet; for miscellaneous technical reasons it doesn't have some of what made Quantum great on desktop. Part of the goal of Fenix is to "bring quantum to android", as I understand it.

(Disclosure: I work for Mozilla, but not on the browser)

comment 8y ago · link · parent

There's plenty going on. Check out http://nocountryfornewnashville.com/ for a window into it.

comment 8y ago · link · parent

Yes, webrender is fast, but keep in mind that if you're using webrender you will see bugs, even crashes, that you wouldn't otherwise. Use it only if you're willing to accept that in order to help Mozilla test and improve it.

Disclosure: I work for Mozilla but not on webrender.

comment 8y ago · link · parent

Considering that, it's interesting that Firefox still has more desktop market share than Edge and Safari.

comment 8y ago · link · parent

To be clear, I mean you're in the minority of Android users. Since 2017 most Android users can't send SMS through Hangouts.

comment 8y ago · link · parent

I don't think the existing permissive to copyleft spectrum is what matters here. MongoDB, for example, was previously licensed under the AGPL, which is the most aggressive OSI-approved copyleft license I can think of, but they still felt the need to adopt a controversial new license targeted at cloud providers. For another example, Redis Labs didn't decide to adopt a stronger copyleft license for their extensions, they decided to make them proprietary.

comment 8y ago · link · parent

Nope, they removed SMS from Hangouts in 2017 unless you're in the minority using Project Fi or Google Voice.

https://www.androidpolice.com/2017/05/22/sms-support-hangout...

https://support.google.com/hangouts/answer/3441321?hl=en

comment 8y ago · link · parent

4K TVs have some bad image processing details that might be why you don't like them. Motion smoothing in particular is jarring to me.

https://www.consumerreports.org/cro/lcdtvs/turn-off-these-3-...

comment 8y ago · link · parent

It works reliably, but there's room for improvement. Two examples: Video call quality is noticably worse than Google Duo. Unlike SMS, Google Assistant can't read my Hangouts messages to me.

comment 8y ago · link · parent

Originally Hangouts looked Google's answer to Apple's iMessage. You could send and receive messages via Hangouts or SMS within the same Android app. You could use Hangouts on your computer via Gmail or a standalone app.

Then a few years ago they started pushing you to use SMS from a separate app, and eventually removed SMS functionality from the Hangouts Android app altogether.

Then they launched Allo and pushed it for consumers, but from all accounts it flopped miserably.

Now they're apparently going to push an evolution of SMS (RCS) as their consumer chat product. I'm wonder how they plan to integrate that on desktop.

Personal anecdote: My wife and I have kept using Hangouts to communicate with each other out of inertia. On Android it's seemed stagnant for ages, but it's simple and works reliably. For family and friends we're using a mix of SMS and Facebook Messenger due to their preferences. Both of those are annoying, although in different ways. I suppose if consumer Hangouts dies we'll have to look at Whatsapp, Signal, etc. and see what's best.

1
313233
116