Better HN
topnewbestaskshowjobs
Log inSign up

alex-mohr

142 karma · joined Jun 22, 2015 (11y ago) · 37 submissions

Engineering Manager for the Seattle branch of Google's Kubernetes and Container Engine (GKE) team.

Previously, I was the overall technical lead for Google Compute Engine's initial public launch; also lead the design and launch of its second-gen VM instance manager subsystem.

And before all of that, ran a research lab at Stony Brook University [1], but I'm a reformed academic and prefer building real systems now.

[1]: http://alexmohr.com/papers/

Submissions

comment 1y ago · link · parent

Process is useful for raising the lowest deliveries quality, for making former-unknowns into knowns, and for preventing misaligned behavior when culture alone becomes insufficient.

If you have need for speed, a team that knows the space, and crucially a leader who can be trusted to depart from the usual process when that tradeoff better meets business needs, it can work really well. But also comes with increased risk.

comment 1y ago · link · parent

And you could write a similar blog post about why Google "failed" at AI productization (at least as of a year ago). For some of the same and some completely different reasons.

  - two competing orgs via Brain and DeepMind.

  - members of those orgs were promoted based on ...?  Whatever it was, something not developing consumer or enterprise products, and definitely not for cloud.

  - Nvidia is a Very Big Market Cap company based on selling AI accelerators.  Google sells USB Coral sticks.  And rents accelerators via Cloud.  But somehow those are not valued at Very Big Market Cap.
Of course, they're fixing some of those problems: brain and DeepMind merged and Gemini 2.5 pro is a very credible frontier model. But it's also a cautionary tale about unfettered research focus insufficiently grounded in customer focus.

comment 1y ago · link · parent

It was in the early days of Kubernetes and long since fixed. I don't recall the precise details, but it was likely the first official CVE we published: https://kubernetes.io/docs/reference/issues-security/officia...

Link to the patch fixing it: https://github.com/kubernetes/kubernetes/commit/7fef0a4f6a44...

Of course, we'd already fixed other issues like Kubelet listening on a secondary debug port with no authentication. Those problems stemmed from its origins as a make-it-possible hacker project and it took a while to pivot it to something usable in an enterprise.

comment 1y ago · link · parent

The code in question reminds me a lot of my favorite Kubernetes bug:

  if (request.authenticationData) {
    ok := validate(etc);
    if (!ok) {
      return authenticationFailure;
    }
  }
Turns out the same meme spans decades.

comment 1y ago · link · parent

As far as I could tell, its main goal was to have fun writing an OS. At that, it seems to have succeeded for a number of the people involved?

In terms of impact or business case, I'm missing what the end goal for the company or execs involved is. It's not re-writing user-space components of AOSP, because that's all Java or Kotlin. Maybe it's a super-longterm super-expensive effort to replace Linux underlying Android with Fuchia? Or for ChromeOS? Again, seems like a weird motivation to justify such a huge investment in both the team building it and a later migration effort to use it. But what else?

comment 1y ago · link · parent

Clearly the next step after building your own CPU and SOC is to start Apple Foundry and become totally vertically integrated?

comment 1y ago · link · parent

Also a myth for GCE.

From a technical perspective, App Engine and Compute Engine were built on top of internal infrastructure (borg), but did not expose borg directly. And there were a number of interesting mismatches between the semantics that customers expected of VMs and what borg offered to its containers that eventually resulted in dedicated borg clusters with different configs for cloud. And some retrospectives on whether building on borg was a better option than going bare metal directly.

Org-wise, the App Engine team was first and not part of the internal-focused Technical Infrastructure teams. GCS came next, and it too was not part of the canonical storage org. Then GCE, which was only possible because it was either written off or at least tolerated as an experiment by most, with a few key people providing behind-the-scenes support to make it happen -- especially in networking. It likely also helped that GAE was in SF and the rest of GCP in Seattle/Kirkland initially, so geo provided some insulation too.

The dominant perspective internally was that Google's technical infrastructure was its secret sauce, so why would they give it away to others? It took a long time to change that.

[Disclosure/source: I was on GCE and helped get it launched.]

comment 2y ago · link · parent

If Netflix were working correctly and could handle the load, you'd absolutely be correct.

But it does seem the capacity of a hybrid system of Netflix servers plus P2P would be strictly greater than either alone? It's not an XOR.

And note that in this case of "live" streaming, it still has a few seconds of buffer, which gives a bandwidth-delay product of a few MB. That's plenty to have non-stale blocks and do torrent-style sharing.

comment 2y ago · link · parent

Yes, the properties about scaling do hold even with near-real-time streams. [1]

The problems with using it as part of a distributed service have more to do with asymmetric connections: using all of the limited upload bandwidth causes downloads to slow. Along with firewalls.

But the biggest issue: privacy. If I'm part of the swarm, maybe that means I'm watching it?

[1]: Chainsaw: P2P streaming without trees, https://link.springer.com/chapter/10.1007/11558989_12

comment 2y ago · link · parent

J. Shallit (2003). "What this country needs is an 18c piece" (PDF). Mathematical Intelligencer. 25 (2): 20–23.

comment 2y ago · link · parent

Willow appears closer to a "Protocol Construction Kit" than a protocol itself.

As a construction kit, it has value for people who want to make protocols where they'll control both ends, but don't have to re-implement basic table stakes.

comment 2y ago · link · parent

Maybe interesting aside: I saw a link to this when it was first published at the height of the p2p networks craze and noticed some similarities between the two.

One of my students at the time, Mahadev Konar, ended up writing a paper "Ring-like DHTs and the Postage Stamp Problem" [1] that shows how you can use solutions to the postage stamp problem (aka denomination-choosing problem) as a way to structure the finger pointers in Chord. And went on to co-found Hortonworks.

Sometimes random things on HN end up having implications in other areas!

[1]: https://alexmohr.com/papers/dht-postage-stamp-podc2005-exten...

comment 3y ago · link · parent

I get that, but IMO it's not an issue.

On one shard you can't use more than base CPU, so there's no advantage to a subscription there.

Other optional shards are almost entirely people who subscribe. Do that too if you decide to, or ignore them.

comment 3y ago · link · parent

Look at Screeps: World [0] for depth in a programming base-builder RTS.

You write the code for each of your units, either natively in Javascript or Typescript, or via WASM you can run Rust, Python, etc. You use a private server or join a shared MMO world. There's a free sim [1] to try out the basics, though the actual game has much more depth. And an active Discord for help [2].

There's also a variant Screeps: Arena [3] that focuses on 1:1 PVP battles with ranked ladders if you prefer short-lived matches to a long-running world.

[0] https://store.steampowered.com/app/464350/Screeps_World/

[1] https://screeps.com/a/#!/sim

[2] https://discord.com/invite/RjSS5fQuFx

[3] https://store.steampowered.com/app/1137320/Screeps_Arena/

comment 3y ago · link · parent

See also Chris Lema's "Done Done" essays[0] and book[1] for more about the value of taking things to finished.

[0]: https://chrislema.com/a-done-done-culture-habit-one/

[1]: https://www.amazon.com/Creating-Done-Culture-Habits-Performe...

comment 3y ago · link · parent

> if the goal was to simplify things, then I'm not sure how successful they were at that.

Maybe if they have other goals that are tradeoffs vs. simplicity, then it's more understandable?

What if another goal is allowing enterprise customers to recreate a virtual enterprise network? Or a virtual data center network? Those are much more complex than a client TCP stack.

The defaults are simple for simple uses. And yes, for those complex cases, you'd need AWS specific product knowledge, but most of the underlying concepts are shared in common with other clouds and on prem networks. Like learning your Nth programming language.

comment 3y ago · link · parent

> I don't use any networking sites such as LinkedIn etc

Reconsider that. You can try to add everyone you remember from previous companies or school, and you'll be more available to recruiters. "Luck surface area."

comment 3y ago · link · parent

It does seem like network configuration remains rather manual compared to other large scale systems that include more automation.

In Microsoft's case, the remediation is not to put in place higher level systems to safely accomplish the goal of the command. Instead:

- "We have blocked highly impactful commands from getting executed on the devices (Completed)"

- "We will require all command execution on the devices to follow safe change guidelines (Estimated completion: February 2023)"

Requiring commands to follow guidelines sounds suspiciously like they're requiring network ops not to break things.

comment 4y ago · link · parent

Member of Technical Staff, or MTS

comment 4y ago · link · parent

Perfectionism is too short a label, and could be one or many of multiple underlying issues. Ultimately, you seem aware of the tendency, so ask yourself: why can't I do "good enough" and move forward?

Maybe the fear of actually doing something outweighs the costs of not doing it under the guise of making it better? Maybe something else?

I found Bezos's thoughts on decision making useful: understand if the decision is a two way door, and if so, move forward with 70% of the data you wish you had. Or 70% of the product, implementation, whatever.

See e.g. https://www.aboutamazon.com/news/company-news/2016-letter-to...

comment 5y ago · link · parent

For a decent take on that organizational deficiency, Rickover wrote a 1.5 page memo in 1953 addressing similar issues for the nuclear US Navy. At some point, it's a failing of process and structure rather than people. [1]

1: http://ecolo.org/documents/documents_in_english/Rickover.pdf

comment 5y ago · link · parent

Something similar is one reason early Kubernetes was successful: many of the core people in the project were in an irc/slack channel available for anyone with questions.

That direct two-way communication both unblocked adoption for users and was a source of feedback for the devs.

comment 7y ago · link · parent

Choose. What you happen to be feeling at the moment can control you, or not. See e.g. https://www.google.com/search?q=discipline+is+freedom

comment 7y ago · link · parent

Chargers are finally coming: here's one that does 48w from one usb-c port or 30w+18w from 2 ports (plus 2 usb-a), plenty for a non-gaming laptop and phone: https://www.amazon.com/Universal-International-Worldwide-Mul.... I have one and it works fine.

Only battery pack with 2 usb-c seems to be the ZMI Ambi: https://www.amazon.com/ZMI-PowerPack-Ambi-USB-C-Power/dp/B07....

comment 7y ago · link · parent

Generally seems like a great offering!

I see immutable, but also upgradable? Is that via in-place upgrades or do upgrades require a reboot?

Example: severe bug or vulnerability in kubelet or containerd/docker. Can I use the API to roll out a fix to existing nodes such that running workloads have no disruption?

comment 7y ago · link · parent

Matt Welch has written extensively about switching from tenured Professor at Harvard to Software Engineer at Google: http://matt-welsh.blogspot.com/, with the initial post http://matt-welsh.blogspot.com/2010/11/why-im-leaving-harvar... Matt's blog is great because (a) he writes it, (b) he's still connected to academia via program committees and (c) you can see how his thinking has evolved over the last 8 years.

And there are of course a number of other former faculty there too, but none that I know of who've blogged as much as Matt. In the systems space, off the top of my head: Amin Vahdat, Mike Dahlin, Steve Gribble, Craig Chambers, David Patterson, David Wetherall, Eric Brewer.

Personally, I've had way more impact (and fun!) building Compute Engine and Kubernetes than I had in academia. If in doubt, try industry for a summer or a year -- nothing we write can replace personal experience.

comment 8y ago · link · parent

A longer article with more details, including a first attempt to fix that didn't work: https://www.cbronline.com/news/azure-down-office-355-down

comment 8y ago · link · parent

The cpuid is virtualized and reports virtual hardware so that compatibility and consistency across regions are maintained.

The actual hardware is likely much more recent, and GCE allows you some control over which version is used and reported: https://cloud.google.com/compute/docs/instances/specify-min-...

12