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

That's a huge wall of text to digest every time the report is run. It would be nice if there was a diff mode that could summarize what changed between two runs.

comment 7y ago · link · parent

The technical details of their software are described in https://eng.uber.com/m3/

This looks like a competitor to Cortex (https://www.cncf.io/blog/2018/12/18/cortex-a-multi-tenant-ho...).

comment 7y ago · link · parent

According to https://eng.uber.com/m3/

> Released in 2015, M3 now houses over 6.6 billion time series. M3 aggregates 500 million metrics per second and persists 20 million resulting metrics-per-second to storage globally (with M3DB), using a quorum write to persist each metric to three replicas in a region.

So, if that's accurate, they're collecting one trillion data points every two seconds.

comment 7y ago · link · parent

I think you mean DocumentDB, not DynamoDB.

https://aws.amazon.com/documentdb/

comment 7y ago · link · parent

Google is doing something similar to what you design. See https://cloud.google.com/blog/products/open-source/bringing-...

> We’ve always seen our friends in the open-source community as equal collaborators, and not simply a resource to be mined. With that in mind, we’ll be offering managed services operated by these partners that are tightly integrated into Google Cloud Platform (GCP), providing a seamless user experience across management, billing and support. This makes it easier for our enterprise customers to build on open-source technologies, and it delivers on our commitment to continually support and grow these open-source communities

comment 7y ago · link · parent

Yep. And on the kibana side, they support metrics now too.

https://www.elastic.co/guide/en/kibana/7.4/timelion.html

comment 7y ago · link · parent

Seconded! In the current world where dashboards are coupled to alerts, it's very frustrating not to be able to define alerts on a templated dashboard.

It's also frustrating that it's effectively impossible with the Cloudwatch data source to select resources to alert on using their tags (e.g. select the elb with app=foo and env=prod). The dimension_values() function lets you filter based on tags, but instead of being usable directly in a panel's query it requires using a variable as an intermediary, which then disables alerting.

comment 7y ago · link · parent

Github is already collecting limited client-side telemetry. Open the network tab in your developer tools and you'll see a request to collector.githubapp.com on every page load that includes details like your screen resolution.

comment 7y ago · link · parent

I don't know the specifics of passwords, but Fenix definitely support sync. Open settings and the first menu item you'll see will be "turn on sync".

(Disclosure: I work at Mozilla but not on Fenix)

comment 7y ago · link · parent

This is neat!

If you're near Atlanta, check out the recently opened https://computermuseumofamerica.org/

They have the largest collection of Cray supercomputers in the world, plus lots more.

701.

The $10m Engineering Problem(segment.com ↗)

5 points · by sciurus · 7y ago · discuss

comment 7y ago · link · parent

https://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/

703.

Google/Kf: Feels Like Cloud Foundry. Runs on Kubernetes(github.com ↗)

2 points · by sciurus · 7y ago · discuss

comment 7y ago · link · parent

For us, the experiment (https://blog.mozilla.org/services/2018/10/03/upcoming-push-s...) with mostly idle clients was very helpful, since it flushed out problems with out load balancing layer and in the end gave us confidence that it, our app, and our persistence layer could safely handle many more connections.

If we had begun having problems once we started sending more push messages, we would have simply stopped using the new service (https://github.com/mozilla-services/megaphone) responsible for that until we worked through them.

comment 7y ago · link · parent

As I recall, when we hit the ELBs connection limits the failed connections were reflected in the SpilloverCount metric.

I believe we only hit the security group limits in load testing. There, we could see connections fail to an instance when that instance's established connections as reported by netstat or similar tools hit a certain threshold.

comment 7y ago · link · parent

Not really, because there won't be logs for connections that were never established.

comment 7y ago · link · parent

I can not. AWS, for whatever reason, does not want this publicly documented. I would write up what we learned in our testing in more detail, but I have been asked not to.

You can find some discussion of this behavior in places like https://forums.aws.amazon.com/thread.jspa?threadID=231806. I originally became aware of the issue, before hitting in production, from the HN comment at https://news.ycombinator.com/item?id=18314138

comment 7y ago · link · parent

A few pieces of advice based on running https://github.com/mozilla-services/autopush-rs, which handles tens of millions of concurrent connections across a fleet of small EC2 instances.

1) Consider not running the largest instance you need to handle your workload, but instead distributing it across smaller instances. This allows for progressive rollout to test new versions, reduces the thundering herd when you restart or replace an instance, etc.

2) Don't set up security group rules that limit what addresses can connect to your websocket port. As soon as you do that connection tracking kicks in and you'll hit undocumented hard limits on the number of established connections to an instance. These limits vary based on the instance size and can easily become your bottleneck.

3) Beware of ELBs. Under the hood an ELB is made of multiple load balancers and is supposed to scale out when those load balancers hit capacity. A single load balancer can only handle a certain number of concurrent connections. In my experience ELBs don't automatically scale our when that limit is reached. You need AWS support to manually do that for you. At a certain traffic level, expect support to tell you to create multiple ELBs and distribute traffic across them yourself. ALBs or NLBs may handle this better; I'm not sure. If possible design your system to distribute connections itself instead of requiring a load balancer.

2 and 3 are frustrating because they happen at a layer of EC2 that you have little visibility into. The best way to avoid problems is to test everything at the expected real user load. In our case, when we were planning a change that would dramatically increase the number of clients connecting and doing real work, we first used our experimentation system to have a set of clients establish a dummy connection, then gradually ramped up that number of clients in the experiment as we worked through issues.

comment 7y ago · link · parent

"We strongly support the rights of immigrants and immigration reform."

and yet they haven't been responsive to employees and activists urging them to stop enabling ICE.

https://www.washingtonpost.com/business/2019/07/12/no-tech-i...

710.

Critical Security Issue Identified in iTerm2(blog.mozilla.org ↗)

339 points · by sciurus · 7y ago · 127 comments

comment 7y ago · link · parent

Going from a single processes holding all your data to having your data sharded across multiple processes can be more than a little effort.

Also, it might now have any benefit for you. Imagine a certain key is particularly hot. Having one multithreaded redis process handling access to it might speed things up. Running multiple sharded redis processes won't, since only one of them will have that key.

comment 7y ago · link · parent

I've had similar experiences, where I'm told in the morning to be available to handle an account deactivation immediately at X time, and then at X time I'm given the name.

What really sucks is when you have to do it for one of your teammates. :-(

comment 7y ago · link · parent

That's simply not correct, at least in the US. The process I've seen is the employee is taken to a meeting room, they're told they've being let go, they're walked to their desk to retrieve their personal belongings, and they're walked out the door. From the employees perspective one minute they're working like normal, and perhaps a half-hour later they're standing outside unemployed.

comment 7y ago · link · parent

Hiring operations engineers?

comment 7y ago · link · parent

I remember back in 2006, when multicore processors were rare and multisocket servers were expensive, how cool and powerful our OpenSSI cluster seemed to me as a junior sysadmin. Technology really went in a different direction, though, and we're buuilding new abstractions that bridge machines (e.g. kubernetes) instead of trying to extend unix across them.

comment 7y ago · link · parent

Tell that to https://github.com/apache/openwhisk , https://github.com/knative , etc.

comment 7y ago · link · parent

Oh, ALBs. Now that's a mess. You'll either be charged per new connection, per concurrent connection, per byte, or per rule evaluation, depending on which is highest any given hour.

https://aws.amazon.com/elasticloadbalancing/pricing/

comment 7y ago · link · parent

I don't necessarily disagree with you, but I don't think that's a strong example. Charging for utilization is the most obvious way to price a service, and http requests are the most obvious way to track utilization of an API gateway (or any load balancer).

comment 7y ago · link · parent

See discussion at https://news.ycombinator.com/item?id=20995200
1
232425
116