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 8y ago · link · parent

What makes you think it doesn't handle interleaving? They demonstrate a mode where, using the previous day's logs as a baseline, uno can read the current days logs and not print anything that occurred the previous day. That's more sophisticated than you're giving them credit for.

comment 8y ago · link · parent

The beta site is several times slower to load than the old site.

https://www.webpagetest.org/result/181130_4K_96804be61480d15...

https://www.webpagetest.org/result/181130_FK_8e4d67b49b8d2ea...

comment 8y ago · link · parent

Interestingly, Twitter's in-house system did that too, but they now seem to think it was a mistake because it increased latency.

964.

Twitter’s Kafka adoption story(blog.twitter.com ↗)

137 points · by sciurus · 8y ago · 67 comments

comment 8y ago · link · parent

That's a really good point, I was guesstimating very quickly when I wrote that. Depending on what your doing for the alarm and how they measure reads it may well be a lot less.

Let's say the read is 1MB instead of 1GB, that's now $1.44 a day and $525 a year. Query pricing becomes not so bad.

From my own experience, the 100 metrics per server estimate I was giving above is pretty low, though. Once you factor in different combinations of tags closer to 1000 is more realistic. That potentially brings up the write pricing quite a bit.

comment 8y ago · link · parent

You're ignoring half of my example scenario. $26k writing the data, $525k for querying it just for alerting, plus whatever it costs to store and to query ad-hoc. That's over half a million dollars. Even if you hire someone for $250k, you can self-host your time series system for cheaper than that.

Self-hosting isn't the only option though. For example, that hypothetical 1000 server scenario would cost $180k a year at list pricing on Datadog or SignalFX.

comment 8y ago · link · parent

This is not cheap for the "DevOps" use case.

Imagine you have 1000 servers submitting data to 100 timeseries each minute. That's 100,000 writes a minute (unless they support batch writes across series) At $0.50 per million writes that's $72 a day or $26k a year.

Now imagine you want to alert on that data. Say you have 100 monitors that each evaluate 1GB of data once a minute. At $10 per TB of data scanned, that's $1,440 a day or $525k a year!

comment 8y ago · link · parent

It's got to be a rough day for the team at https://www.influxdata.com/ . This could become serious competition for their InfluxCloud hosted offering.

comment 8y ago · link · parent

Duplicate of https://news.ycombinator.com/item?id=18539539

comment 8y ago · link · parent

Duplicate of https://news.ycombinator.com/item?id=18539539

comment 8y ago · link · parent

Google recently open-sourced Gvisor, which although implemented differently solves a similar problem. Possibly Amazon wants to encourage other vendors to build integrations with Firecracker rather than Gvisor.

https://cloud.google.com/blog/products/gcp/open-sourcing-gvi...

comment 8y ago · link · parent

I think with the App Engine Standard generation 2 runtimes you don't have to write to their sandbox anymore. It still has to be one of their supported languages though, instead of any arbitrary server.

https://cloud.google.com/blog/products/gcp/introducing-app-e...

comment 8y ago · link · parent

Backcountry offline navigation in rural South America is far from what most people are using a mapping app for, though.

974.

Mozilla Fights on for Net Neutrality(blog.mozilla.org ↗)

4 points · by sciurus · 8y ago · discuss

comment 8y ago · link · parent

Maybe they already have?

comment 8y ago · link · parent

A line graph like that isn't easy to render or interpret once you have many hosts. Take the example in the blog post I linked: utilization of 300 host (5,312 CPUs).

Here's the data visualized as a line graph: http://www.brendangregg.com/HeatMaps/lines-allcpus-image.png

Here it is as a heatmap: http://www.brendangregg.com/HeatMaps/cpu-utilization-heatmap...

Which one conveys more information?

comment 8y ago · link · parent

I don't get why you think metrics at low resolution or about resource utilization aren't usefully visualized via heatmaps. They absolutely are!

Let's say your application's aggregate p99 latency goes up. Generate a heatmap showing time (x-axis), percent CPU utilization (y-axis), and number of servers at that utilization (z-axis, color saturation). Oh, turns out one of your 500 applications servers has developed much higher CPU utilization than the rest! Better go kill the intern's bitcoin miner and bring latency back to normal.

http://www.brendangregg.com/HeatMaps/utilization.html

978.

Georgia Secretary of State Orders ‘hacking’ Probe of Georgia Democrats(washingtonpost.com ↗)

2 points · by sciurus · 8y ago · discuss

comment 8y ago · link · parent

Pet's vs cattle is an analogy that originated with English-speakers.

http://cloudscaling.com/blog/cloud-computing/the-history-of-...

comment 8y ago · link · parent

That's a great question I was surprised to see unaddressed. It's unclear what workloads they normally have in East coast vs West coast, or if they have enough capacity to run everything in the West coast.

comment 8y ago · link · parent

> My other idea was to write a VM/container controller, and while I think there still needs to be a simple one as Kubernetes is getting to be a beast

I'm curious what you think of https://www.nomadproject.io/

comment 8y ago · link · parent

Yes, I'm using it in Firefox 65.0a1 on a 15" 2017 MBP running High Sierra.

After setting gfx.webrender.all to true and restarting, check about:support and you should see "Compositing: WebRender"

Of course you may still hit bugs.

comment 8y ago · link · parent

I agree that Perl's autovivification is a timesaver, although I can usually hack together what I want with Python's defaultdict.

For "data analysis improvisation" though, I don't know. A good REPL is a key part of that, and I'm not sure that Perl has anything as good as the ipython cli or jupyter notebook.

comment 8y ago · link · parent

We have a custom python tool that does something similar, except for terraform and kubectl. This is the sort of thing where you probably have to write it from scratch to match your workflow, but it should end up ~500 LOC in your favorite scripting language.

Then we wrap that tool in jenkin pipelines so we can easily trigger it in response to events like code being pushed.

comment 8y ago · link · parent

It's not just gh-ost. pt-osc is much safer to use when you don't have to worry about updating foreign keys.

Here are some of Github's reasons for not using them: https://github.com/github/gh-ost/issues/331

I think this is pretty normal for heavy MySQL users, honestly. When I was at Eventbrite we didn't use them for the same reasons.

comment 8y ago · link · parent

For storing things other than git repos, GitHub is heavily invested in MySQL. AFAIK all of GitHub is hosted on their own hardware.

https://githubengineering.com/mysql-high-availability-at-git...

comment 8y ago · link · parent

It seems that we don't currently have a milk price floor in the US, although farmers are lobbying for one.

https://www.usatoday.com/story/money/business/2018/05/01/ame...

1
323334
116