Better HN
topnewbestaskshowjobs
Log inSign up

mgdev

632 karma · joined May 19, 2020 (6y ago) · 226 submissions

Submissions

comment 2y ago · link · parent

Totally. I'm not advocating that people don't ever use it for this. I'm just saying that from a pure resource perspective, it might be one of the least resource-efficient mechanisms for doing this.

As others have pointed out, it's probably not a noticeable cost and, in fact, the fixed costs associated with setting something up yourself would far outweigh what you're paying to use S3 for this purpose.

Part of me just dies inside when I think of all the stuff needlessly happening behind the scenes, given it's not actually being used for storage. I mean, it's called Simple Storage Service.

comment 2y ago · link · parent

It's almost perfect.

If it were strict C in stead of C++ I would probably be in love.

comment 2y ago · link · parent

I never said they would kill the feature. I said they would shut down the behavior. They can do that through economic incentive.

(Source: I was on the S3 team. Opinions my own, etc.)

comment 2y ago · link · parent

I agree that the JVM is an amazing piece of technology.

But the ecosystem that exists around the JVM also comes with both a bunch of awesome libraries, and a whole bunch of cruft and ceremony.

If, like Clojure, you're trying to pull in compatibility with JVM libraries, then you pull all that in. So now if you want a little C in your Clojure, you have to go through JNA or something.

I would like the option of going native with a Clojure dialect, without passing through either JVM (Clojure) or JS (ClojureScript).

comment 2y ago · link · parent

They introduce economic incentives. :)

By way of example, a little over a decade ago a famous online streaming company used to upload all of their video masters for transcoding. This process involved a huge upload and a huge workload, followed by a significant drop in activity.

The problem was that AWS had to provision for peak usage instead of average usage. This resulted in a situation where the peak-to-average ratio was very high for just one or two customers.

To address this issue, the solution was to incentivize these customers to spread out their workload more evenly over time, at least until they were no longer the largest driver of peak/avg.

This is also why things like Reserved Instances and Spot Instances exist.

comment 2y ago · link · parent

If everyone started using S3 for this purpose, they would shut it down pretty quickly.

Small objects (especially small hot objects) are actually problematic in S3. They cache them in the keymap instead of retrieving from block storage. But many small objects can quickly blow out a keymap shard. The keymap is designed for high-performance lookups. Because of this, it's also more expensive to scale out this class of 'storage' at the keymap layer than to scale out block storage. And you still have to do quorum writes to block storage and then cache eviction at the keymap.

If you're doing this for slow-moving leader election in a small cluster, fine. But if, for example, you started using this for leader-election among end-user-defined workloads that could scale up/down, you might find yourself on the other side of a call from AWS.

comment 2y ago · link · parent

I agree! And I still love it because it's what allowed me to sneak a Lisp into not just a Java shop, but the Java shop: Oracle.

comment 2y ago · link · parent

Will check it out!

comment 2y ago · link · parent

I'll check it out, thanks!

comment 2y ago · link · parent

Ahh, the siren song of Lisp

I wrote Lisp (Clojure) professionally for several years. It was the most fun I ever had.

My only problem was it was an ongoing battle to convince people - especially management - that I wasn't crazy.

Sure, I was crazy-productive, but they also thought that there was some nutjob in the corner that was quietly adding risk to the business.

If someone could give me the ergonomics of Clojure, but without the JVM and the ability to easily target 1/ native (incl easy bidirectional C iterop), 2/ wasm, and 3/ support both in aot and runtime + JIT modes, I would switch in a heartbeat.

Is that too much to ask?

comment 2y ago · link · parent

This is a very expensive way to do leader election, at least from an infrastructure perspective.

This is because you're essentially pushing the problem down to S3, which does its own leader election in a way that is waaaay overbuilt for what we're trying to accomplish here.

But... that doesn't mean it isn't cool. :)

comment 2y ago · link · parent

This is one of the reasons why I disagree with point three of the article.

The emotion that AWS helped overcome was frustration that individual developers faced when trying to build something new. Suddenly, hardware was in their control from their keyboards.

That was a magical experience, and it definitely filled me with emotion the first time I uploaded an object to S3.

(I loved it so much, I later worked for that team!)

comment 2y ago · link · parent

I disagree with point three. Engineers do make purchases based on emotions, just different ones than typical consumers.

Engineers are driven by emotions like:

- Desire for intellectual respect: Choosing innovative products to appear forward-thinking.

- Risk aversion: Preferring established brands to avoid project failures.

- Professional pride: Selecting high-performing solutions for personal satisfaction.

- Peer validation: Making choices they believe colleagues will approve of.

- Cognitive bias: Favoring solutions that confirm existing beliefs.

What looks like logical decision-making is often an emotion-driven choice justified with technical arguments. This is evident in online discussions where product critiques are framed logically but stem from emotional responses or biases.

Effective marketing to engineers should recognize these emotional drivers while providing the technical depth needed to rationalize decisions. It's not about ignoring emotions, but addressing the specific emotional needs of a technical audience.

comment 2y ago · link · parent

It's cool to read this.

One interesting tidbit is that during the period this author writes about, AWS had a roughly 4-day outage (impacted at least EC2, EBS, and RDS, iirc), caused by EBS, that really shook folks' confidence in AWS.

It resulted in a reorg and much deeper investment in EBS as a standalone service.

It also happened around the time Apple was becoming a customer, and AWS in general was going through hockey-stick growth thanks to startup adoption (Netflix, Zynga, Dropbox, etc).

It's fun to read about these technical and operational bits, but technical innovation in production is messy, and happens against a backdrop of Real Business Needs.

I wish more of THOSE stories were told as well.

comment 2y ago · link · parent

I hate stuff like this.

It's so incredibly brilliant that it spoils me for mainstream tech, but it's never actually "done enough" for mgmt to feel comfortable adopting it in any capacity. (See also: Unison https://www.unison-lang.org/)

Or, you can get them to adopt, but then you hit hiring limitations.

I say this as someone who built a large team of Clojure developers in a Fortune 100 company, and lived to regret it.

comment 2y ago · link · parent

I suppose I had my order of operations turned around. Lard substitute first, war lubricant later.

https://www.thedailymeal.com/1386775/crisco-facts-why-people...

comment 2y ago · link · parent

> Haynes passes Leonardo a rusty, dented Crisco tub, which he and Price use to lubricate the pipes they work on.

I can't believe someone decided, "Hey, we should take this stuff we built as a submarine lubricant, and market it to housewives to make fluffier pie crusts."

Evil genius.

comment 2y ago · link · parent

Welcome to the trough of disillusionment.

comment 2y ago · link · parent

This is the cost of building a proprietary distribution network. Now they need to monetize it.

comment 2y ago · link · parent

"Save while you're earning decent cash" seems pretty actionable to me.

comment 2y ago · link · parent

I think "aligning super intelligence" is a nothingburger of a goal, for exactly that reason. It's not a problem that's unique to OpenAI.

The reason you can't "align" AI is because we, as humans on the planet, aren't universally aligned on what "aligned" means.

At best you can align to a particular group of people (a company, a town, a state, a country). But "global alignment" in almost any context just devolves into war or authoritarianism (virtual or actual).

comment 2y ago · link · parent

I like this take best. :)

Most folks who are part of the startup, don't care to stick around for the scale. Different phases of the company tend to attract different types of people.

comment 2y ago · link · parent

I hadn't until now, but it's the other failure mode I mentioned in another fork [1] of this thread:

> A small, central R&D team may work with management to set the bar, but they can't be responsible for mitigating the risk on the ground - and they shouldn't be led to believe that that is their job. It never works, and creates bad team dynamics. Either the central team goes too far, or they feel ignored. (See: security, compliance.)

[1]: https://news.ycombinator.com/item?id=40391283

comment 2y ago · link · parent

Oh?

comment 2y ago · link · parent

> The purpose of the risk team at OpenAI was to prevent the destruction of humanity.

Yeah, the problem (in this outsider's opinion) is that that charter is so ill-defined that it's practically useless, which in turn means that any sufficiently loud voice can apply it to anything. It's practically begging to be used as a whip.

> I think you definitely want people who have that responsibility to "wield their authority like a whip without regard for business value".

No, because without thinking of value, there is no enterprise, and then your mission is impossible. Essentially, it creates an incentive where the best outcome is to destroy the company. And, hey hey, that's kinda what almost happened.

> Whether it's "We don't really think our technology is that dangerous (and therefore valuable)" or "We don't really care if we accidentally kill everyone", it's not a good message.

I don't think it has to be so black-and-white as this. Meta, Microsoft, and Google did the same thing. Instead, those functions have been integrated more closely into the value teams. And I can't imagine Amazon or Oracle ever having those teams in the first place. They likely all realized the same thing: those teams add huge drag without adding measurable business value.

And yes, there are ways to measure the business value of risk management, and weigh against upside value to decide the correct course of actions - it's just that most of those teams in big tech don't actually take a formal "risk management" approach. Instead they pontificate or copy and enforce.

comment 2y ago · link · parent

> Imagine if vehicle manufacturers[2] split their design and R&D teams into a "make the thing go" team and a "don't kill the passengers" team.

Rocket caskets. Can't kill someone who is already dead!

comment 2y ago · link · parent

Agree that you need checks and balances, but there are better and worse systems.

As someone who has scaled orgs from tens to thousands of engineers, I can tell you: you need value teams to own their own risk.

A small, central R&D team may work with management to set the bar, but they can't be responsible for mitigating the risk on the ground - and they shouldn't be led to believe that that is their job. It never works, and creates bad team dynamics. Either the central team goes too far, or they feel ignored. (See: security, compliance.)

comment 2y ago · link · parent

Yes, it's valuable to have a small research team who focuses on R&D outside the production loop.

But when you give them a larger remit, and structure teams with some owning "value" and and others essentially owning "risk", the risk teams tend to attract navel-gazers and/or coasters. They wield their authority like a whip without regard for business value.

The problem is the incentives tend to be totally misaligned. Instead the team that ships the "value" also needs to own their own risk management - metrics and counter metrics - with management holding them accountable for striking the balance.

comment 2y ago · link · parent

This will be a boon for Oracle.
1
45678