TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The 2002 mandate for internal communication systems at Amazon

634 pointsby anacletoover 5 years ago

33 comments

Twirrimover 5 years ago
Yegge&#x27;s post was very interesting reading, and I took similar learnings away from it. I was at Amazon at the time, however, and there were things that certainly weren&#x27;t true any more:<p>&gt;3) There will be no other form of interprocess communication allowed: no direct linking, no direct reads of another team’s data store, no shared-memory model, no back-doors whatsoever. The only communication allowed is via service interface calls over the network.<p>API first... except if you want to be a number of certain new services that somehow managed to get away with not presenting an API, even though an API would make every service team&#x27;s life easier.<p>&gt; 5) All service interfaces, without exception, must be designed from the ground up to be externalizable. That is to say, the team must plan and design to be able to expose the interface to developers in the outside world. No exceptions.<p>Except, similar to above, where teams apparently decided they didn&#x27;t want to think that way at all and management just let them.<p>&gt; 6) Anyone who doesn’t do this will be fired.<p>Unless your exception is perceived providing value to the company. Then you&#x27;ll get lauded, and everyone is told they&#x27;ll need to use your js laden, web only interface, and to hell with any automation.<p>Mostly those exceptions just codified further in my mind about just how right the Bezos email Yegge paraphrased actually was.
评论 #21129261 未加载
评论 #21127241 未加载
评论 #21127926 未加载
评论 #21128946 未加载
评论 #21127529 未加载
eigen-vectorover 5 years ago
This was not exactly a Jeff Bezos mandate but the result of an engineering brainstorm. The mandate came more out of a &quot;how to scale Amazon for the next decade&quot; discussion. In large companies, one where distributed&#x2F;independent teams are as important as distributed systems this ended up being the only way to operate.<p>Initially, during the good old days of Amazon, there was what you&#x27;d call a single datawarehouse. It made sense initially for every system that processed an order to access the data by querying that data warehouse—this meant that the processes would be distributed (different services), while the data would be centralized. It also meant that any change to the way the data is stored in the datawarehouse meant deploying code to a hundred places.<p>The most important problem that this addressed was however different. A centralized datawarehouse meant that every customer request bubbled up into N queries to the datawarehouse (where N is the number of services that needed access to the data—billing, ordering, tracking...).<p>The mandate summarized in one line would be this—&quot;the data is the one that should go to the services, not the other way round.&quot; Voila, microservices.
评论 #21131515 未加载
throwawayy98121over 5 years ago
Hi! I’m a senior engineer at Amazon. Throwaway account but I’ll try to respond to questions if anyone cares to ask.<p>Yeah we use services heavily, but there’s plenty of teams dumping data to S3 or using a data lake.<p>There’s also the “we need to do this but management doesn’t see value so let’s dump it on the intern or SDE 1, who we won’t really mentor or guide and then blame, forcing them to switch teams as soon as they can.”<p>If you work at another company and think we have our stuff figured out at Amazon, we really don’t. We have brilliant people, many of who are straight up assholes who will throw you under the bus. We have people who are kind and will help you gain all kinds of engineering skills. We also have people who are scum of the Earth shit people who work at Amazon because I don’t think any other sane company or workplace would tolerate them. We have extremes on the garbage people end of the spectrum, unfortunately.<p>Sorry long rant - point being - it’s good to learn how we do things. The internal email on services is pretty unique. I learned about it when I was an SDE 1 back in the day. But - don’t take it as gospel. It doesn’t mean you need to build services.<p>I can think of any number of examples where we follow anti patterns because no one gives a shit about the pattern, whether it’s a service, a bucket, a queue, or a file attached to the system used for scrum tasks, or shit passed over email... we care about value at the end of the day. If you don’t provide sufficient value at Amazons bar, they have no problem tossing you out the window.
xyzzyzover 5 years ago
&gt; While the third point makes all the difference in the world, what Amazon really did get right that Google didn’t was an internal communication system designed to make all the rest possible.<p>&gt; Having teams acting like individual APIs and interacting with one another through interfaces over the network was the catalyst of a series of consequent actions that eventually made possible the realization of AWS in a way that couldn’t have been possible otherwise.<p>Google has worked this way since time immemorial. That’s what protocol buffers are for: to create services and pass data between them using well defined interfaces.
评论 #21130072 未加载
评论 #21128080 未加载
评论 #21161121 未加载
sputknickover 5 years ago
I worked at an organization that had a similar declaration. Here&#x27;s how it played out:<p>1. Everyone is super excited for other teams to share their data<p>2. Everyone wants an exception from sharing their own data because it&#x27;s too hard or too sensitive to share.<p>3. Eventually everything gets shared, but it takes 3-4 times longer than it really should.
评论 #21129010 未加载
评论 #21128953 未加载
评论 #21128012 未加载
lytfyreover 5 years ago
IIRC when Yegge accidentally posted that rant, the entirety of Amazon corp got IP banned from Hacker News from _everyone_ rushing to view and comment.
FrojoSover 5 years ago
Something like Conway’s Law was also recently cited by Elon Musk (jump to 3:30) <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;SpaceXLounge&#x2F;comments&#x2F;dbttaw&#x2F;everyday_astronaut_a_conversation_with_elon_musk&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;SpaceXLounge&#x2F;comments&#x2F;dbttaw&#x2F;everyd...</a>
评论 #21127634 未加载
goatinaboatover 5 years ago
At a previous company, a senior manager took Yegge’s blog post and presented it internally as his own original work.<p>Hilarity ensued.
tomduncalfover 5 years ago
Found the original post from Yegge a really interesting and thought provoking read. Didn’t realise from the context that he originally accidentally posted it as a public rather than private Google+ post!<p>His follow up post explaining this, and with an interesting anecdote about presenting to Jeff Bezos, is archived here (seeing as G+ has, ironically (or not) given the context, shut down): <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;dexterous&#x2F;1383377#file-the-post-retraction-message" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;dexterous&#x2F;1383377#file-the-post-retr...</a>
darksaintsover 5 years ago
At least as of 3 years ago when I left, the software systems that drove the mandate towards SOA were still massive systems that communicated almost purely through a monolithic Oracle database. It was the software system(s) that was responsible for all automation and accounting at fulfillment centers. This is one of those rare times where I actually think a full rewrite from scratch would have been a better idea.
评论 #21132751 未加载
prependover 5 years ago
I wish the actual body of the email was available and published. I’ve only read Yegge’s account of the note and didn’t see it in any of Bezos’ books.<p>I suppose it’s nice that the email, or really any amazon emails, has not been leaked.
评论 #21127938 未加载
Waterluvianover 5 years ago
&gt; 6) Anyone who doesn’t do this will be fired.<p>So I&#x27;ve never worked at a company over 150 people. Is this... a normal thing for an email? Maybe I&#x27;m just one of those softies but an email with that line would throw me off my day and cause a serious hit to my morale and confidence of working there.
评论 #21128810 未加载
评论 #21127341 未加载
评论 #21128277 未加载
评论 #21127936 未加载
评论 #21127291 未加载
评论 #21129151 未加载
评论 #21129398 未加载
评论 #21128756 未加载
评论 #21128915 未加载
评论 #21128445 未加载
评论 #21127374 未加载
评论 #21137634 未加载
评论 #21127338 未加载
评论 #21128005 未加载
评论 #21128379 未加载
评论 #21127699 未加载
ineedasernameover 5 years ago
The article mentions this as dog fooding, but does that really apply here? Did they do this with the idea in mind that they&#x27;d turn this stuff into a product? It struck me as Bezos wanting things built for the future, reducing technical debt, and the product-ification was an excellent byproduct, but perhaps not intentional.
评论 #21129451 未加载
duxupover 5 years ago
Eat your own dogfood.<p>You can&#x27;t sell to customers effectively if your flagship product only works because it has access to resources the customers will never have... and it is designed around that flagship&#x27;s needs and not your customer&#x27;s needs.
评论 #21128907 未加载
dangover 5 years ago
Yegge&#x27;s article never says it was an email. What should the title be?<p>Edit: I&#x27;ve taken a rather lame crack at it and am open to improvements.
评论 #21128676 未加载
评论 #21128666 未加载
评论 #21128960 未加载
Invictus0over 5 years ago
A lot of interesting thoughts here but the author doesn&#x27;t really wrap them into a conclusion. A whole lot of words to say &quot;they all work and it depends&quot;.
cm2012over 5 years ago
I love some of Amazon&#x27;s executive policies. From what I&#x27;ve read, everyone has to write a multi-page paper before executive meetings, and everyone has to read it, so the meeting goes smoothly with everyone understanding the issues. I hate how no one reads anything in most organizations.
评论 #21128027 未加载
评论 #21129126 未加载
jrochkind1over 5 years ago
&gt; what Amazon really did get right that Google didn’t was an internal communication system designed to make all the rest possible.<p>I&#x27;m not following what he means. What is the thing he is describing as &quot;an internal communication system&quot; here? That made all the rest possible? What is&#x2F;was this internal communications system?
评论 #21131845 未加载
评论 #21128637 未加载
评论 #21128970 未加载
thefounderover 5 years ago
The issue if you are developing using such requirements is that the product will end-up quite expensive. A simple messaging or authentication feature becomes a fully fledged multi-tier service maybe with super admins, owners&#x2F;admins and clients. Dev budget is not an issue for Amazon though...
notacowardover 5 years ago
A few things I&#x27;d add today:<p>* Every service must provide latency and error-rate metrics.<p>* Every service must be capable of generating and&#x2F;or responding to backpressure when things become overloaded.<p>* Every service must be prepared to support multitenancy.
d--bover 5 years ago
The thing to point out is Bezos is a real techie, and while any business guy would have built amazon on top of msft or google cloud, the fact that he knows about infrastructure made it possible for Amazon to build AWS
busterarmover 5 years ago
Reading Bezos&#x27; mandate email puts a smile across my face, every time.
thrower123over 5 years ago
Why does the title of this keep getting flopped around? It&#x27;s shifted three or four times today. I thought it was supposed to be the title, or the subtitle, and avoid paraphrasing.
iagooarover 5 years ago
&gt; 6) Anyone who doesn’t do this will be fired.<p>I would have so much loved this approach in the last corporate job I had. It would have changed so many things in such a short time...
dmh2000over 5 years ago
here&#x27;s an article about how the idea of AWS came about. the main takeaway is that it evolved and the article has a lot of &#x27;we&#x27; in it, not only &#x27;jeff&#x27;<p><a href="https:&#x2F;&#x2F;techcrunch.com&#x2F;2016&#x2F;07&#x2F;02&#x2F;andy-jassys-brief-history-of-the-genesis-of-aws&#x2F;" rel="nofollow">https:&#x2F;&#x2F;techcrunch.com&#x2F;2016&#x2F;07&#x2F;02&#x2F;andy-jassys-brief-history-...</a>
brown9-2over 5 years ago
It’s such a loss that Yegge doesn’t blog anymore.
评论 #21136094 未加载
emmelaichover 5 years ago
&gt; doesn&#x27;t matter what technology they use. HTTP, Corba, Pubsub, custom protocols<p>So a jdbc interface and published schema would count?
totaldude87over 5 years ago
&gt;&gt; Anyone who doesn’t do this will be fired<p>Right, motivating everyone.. check..
评论 #21128868 未加载
ga-vuover 5 years ago
Do other (Silicon Valley) companies do the same?
jordacheover 5 years ago
is this trying to be stratechry in format?
darkstar999over 5 years ago
Author should ctrl-f for the many erroneous double spaces. &lt;&#x2F;ocd&gt;
评论 #21127974 未加载
iamleppertover 5 years ago
We have robotic baristas here in SF, but no one uses them. Why? People want to have their food prepared and served by a real human being, in most cases. The food tastes better when it&#x27;s served to you by a real person.
评论 #21134362 未加载
arkitaipover 5 years ago
If you use an adblocker like uBlock Origin, you can add the following rule: news.ycombinator.com##.pagetop<p>Unfortunately it removes ALL of the top navbar but I&#x27;ve found it really useful to get around HN&#x27;s damaging and useless gamification metric.
评论 #21128197 未加载