Live data from Hacker News

Continuous Deployment at Instagram

engineering.instagram.com

41–50 of 94 posts

Re: Continuous Deployment at Instagram

#41

Shameless Plug: I've recently been involved in writing a book on Continuous Deployment, which covers many of the points Instagram are writing about here (but in greater detail). I've got ~1,000 printed copies to give away. So if anyone wants one, go here: http://madete.ch/1S3OGvl and follow the link on the left hand side and we'll mail a copy to you.

Do you ship outside the United States?

Re: Continuous Deployment at Instagram

#42

Shameless Plug: I've recently been involved in writing a book on Continuous Deployment, which covers many of the points Instagram are writing about here (but in greater detail). I've got ~1,000 printed copies to give away. So if anyone wants one, go here: http://madete.ch/1S3OGvl and follow the link on the left hand side and we'll mail a copy to you.

Hey, I'm currently also writing a book on automating deployments ( https://deploybook.com ), and if you're interested, I'd like to chat about your experience with writing and publishing this book. Please drop me a line moritz.lenz@gmail.com. Also, looking forward to read your book :-)

Great, will do + you can get me on rory_at_madetech_com

Re: Continuous Deployment at Instagram

#43
post #36
post #15

Earlier quoted context omitted.

As mentioned in the article itself, Instagram uses code review (using Phabricator), and also uses automated continuous integration for running tests on each "diff", before it allows the change to be landed to master.

Depends what automated tests you run. You could catch things that are technically wrong, but what about things like the button being in the wrong place. That's nots going to spew errors.

This class of errors is sometimes fairly easy to catch with canaries.

If a button is obscured or inactive/non-functional for some reason, then chances are some metric is going to be statistically varied enough to call out while in the canary phase.

For more manual canaries, this same approach can be used for metrics like memory usage, latency, number of upstream/database connections, and so forth. Of course, that could be the _purpose_ of the change, which is why it likely will be checked with manual canaries (ie, not the canaries used for the continuous deployment process).

Re: Continuous Deployment at Instagram

#45

Shameless Plug: I've recently been involved in writing a book on Continuous Deployment, which covers many of the points Instagram are writing about here (but in greater detail). I've got ~1,000 printed copies to give away. So if anyone wants one, go here: http://madete.ch/1S3OGvl and follow the link on the left hand side and we'll mail a copy to you.

Do you ship outside the United States?

We're based in the UK and have shipped plenty overseas so far. I'm sure we'll be able to get something to you, if you're not in too remote a location.

Re: Continuous Deployment at Instagram

#46

Shameless Plug: I've recently been involved in writing a book on Continuous Deployment, which covers many of the points Instagram are writing about here (but in greater detail). I've got ~1,000 printed copies to give away. So if anyone wants one, go here: http://madete.ch/1S3OGvl and follow the link on the left hand side and we'll mail a copy to you.

Do you ship outside the United States?

Do you ship epub?

Re: Continuous Deployment at Instagram

#47
post #35
post #12

Earlier quoted context omitted.

I apologize for the disappointing answer, but continuously deploying in the sense of constantly pushing code to production multiple times a day isn't just a feature you add to your stack. It's not just another tool. It requires an engineering culture that is focused on it. We have testing, and automated tools for sure, but we have A LOT more tools for logging, and robustly handing errors. When a bad commit is pushed…

If you went back to the previous job, would you push toward more frequent deployments, or is there something that makes the two situations different?

If I was starting a new company I would without a doubt push towards doing frequent deployments all day long.

That said, I would would never push for it at my previous company. At this company it's something they've been doing since day 1. It's always been built into our process, culture, and hiring practices. At my previous company the "agile" process was just a shortened waterfall process. Though many of the engineers were very talented, and responsible... there was more than a handful that I would never trust to "self test" their code, or to monitor it as it deploys.

Re: Continuous Deployment at Instagram

#48
post #38

Shameless Plug: I've recently been involved in writing a book on Continuous Deployment, which covers many of the points Instagram are writing about here (but in greater detail). I've got ~1,000 printed copies to give away. So if anyone wants one, go here: http://madete.ch/1S3OGvl and follow the link on the left hand side and we'll mail a copy to you.

Filled out the form. Sending out free physical books seems like a lot though - what's the motivation behind that?

It was originally a content marketing experiment. We thought we'd rather have 100 people receive a free printed copy of the book and love us for this, than a 1000 people receive ebooks and end up in their trash.

The ROI from the 100 trial worked well, so we decided to try and scale it out to more people. TBD whether we'll see a good ROI from 1000 people, but we hope people enjoy it and like us for sending them a free book!

Re: Continuous Deployment at Instagram

#49
post #38

Earlier quoted context omitted.

Filled out the form. Sending out free physical books seems like a lot though - what's the motivation behind that?

It was originally a content marketing experiment. We thought we'd rather have 100 people receive a free printed copy of the book and love us for this, than a 1000 people receive ebooks and end up in their trash. The ROI from the 100 trial worked well, so we decided to try and scale it out to more people. TBD whether we'll see a good ROI from 1000 people, but we hope people enjoy it and like us for sending them a free…

I ordered a copy from Buenos Aires, Argentina. Will you ship it? :)

Re: Continuous Deployment at Instagram

#50

The post refers to a system called "Landcastle". Is that an internal project or an internal name for an existing open source project?

It's an internal system, but it was discussed at F8 last year. Here's the video (https://www.youtube.com/watch?v=X0VH78ye4yY#t=31m30s) and someone's notes on it (http://gregoryszorc.com/blog/2015/03/28/notes-from-facebook'...).
Post reply on HN