Re:Netflix Blog: Tips for High Availability
by tyingq on Sunday April 29, 2018 @09:56PM
(#16955166)
Interesting they choose to rename blue/green deployments to red/black. Is there some Netflix specific reason for that? Like their logo colors maybe? Red/black is more commonly meant for insecure/secure (https://en.m.wikipedia.org/wiki/Red/black_concept)
Re:Netflix Blog: Tips for High Availability
by banachtarski on Sunday April 29, 2018 @10:36PM
(#16955272)
Red black is used for all sorts of things. (See red-black tree, roulette, a checkers board, etc). This deployment style has been labeled red-black elsewhere also.
Re:Netflix Blog: Tips for High Availability
by tyingq on Sunday April 29, 2018 @10:40PM
(#16955291)
Okay, fair enough. We are though, headed into an era of overloaded terms. Which drives confusion and unnecessary arguments. Language is funny and fickle.
Re:Netflix Blog: Tips for High Availability
by jsiepkes on Sunday April 29, 2018 @04:41PM
(#16953816)
The article makes it clear Netflix uses Spinnaker a lot for these things. Anyone willing to comment on their Spinnaker usage? Especially interested in smaller deployments.
Re:Netflix Blog: Tips for High Availability
by robotmay on Sunday April 29, 2018 @07:05PM
(#16954411)
Takes a while to get it going but it does seem very good once it's set up. I had trouble trying to find any guidance on ways of running DB migrations during pipelines, so I'd be very curious as to how other people solve that (as I'm tempted to try it out again).
Re:Netflix Blog: Tips for High Availability
by hurricaneSlider on Sunday April 29, 2018 @07:42PM
(#16954574)
You could trigger a DB migration using a Jenkins step. Alternatively could have a web hook which triggers a migration as a step in the pipeline. Third option would be to run the migration inside the container.
Re:Netflix Blog: Tips for High Availability
by hurricaneSlider on Sunday April 29, 2018 @05:28PM
(#16954007)
We've started using it. We're a Dev team with less than 10 developers. Took a little while to set it up, but it has been working flawlessly since then.
Re:Netflix Blog: Tips for High Availability
by tyingq on Sunday April 29, 2018 @10:05PM
(#16955181)
"When we failover US-East, we send traffic from the Eastern U.S. to the EU and traffic from South America to US-West. "
Interesting that you shift US-East to the EU. Any more color on why that direction, versus say, US-West? Like maybe less common components in AWS? At face value, it seems like an odd choice.
Re:Netflix Blog: Tips for High Availability
by majestik on Sunday April 29, 2018 @11:51PM
(#16955590)
This post should be called “Deploying while maintaining HA” or something.
I thought of some questions:
How is the dev/test env kept up to date for integration/canary tests? When a new app/service is pushed to production does its build/image (AMI?) become the new dev/test env base image for everyone?
Do engineers decide which metrics are tracked by Kayenta? Does ops? How does this come together?
What about post deployment service monitoring / alerting? When is the dev team off the pager hook?
Do you assume that a successful deployment in us-west means it will be successful in us-east or is there an [integration] test done per region?
Re:Netflix Blog: Tips for High Availability
by saagarjha on Sunday April 29, 2018 @04:51PM
(#16953853)
The blog post had a graph in the middle of what I assume was some sort of load metric. It’s surprising how regular it was across the week and on the weekend.
Re:Netflix Blog: Tips for High Availability
by diab0lic on Sunday April 29, 2018 @05:04PM
(#16953909)
Hey, One of the authors of the SPS blog post here, as well as the engineer responsible for real-time alerting on SPS.
It is an SPS graph (as indicated by the title). Spinnaker displays the graph on that page to give engineers a visualization for what SPS looks like during their deployment windows. If your service is critical for streaming you'll have a preference for deploying during lower traffic hours to minimize potential impact. Fortunately as the post mentions it is very regular, and has different praks in different aws regions, which allows regional deployments to be staggered.
Re:Netflix Blog: Tips for High Availability
by belltown98121 on Sunday April 29, 2018 @05:06PM
(#16953914)
I work at one if the big tech companies. Some of these practices are ingrained in me - even for services that do not promise top tier availability. I just realized I take much of this for granted even though it may not be common knowledge.
Not trying to be a pedant, just curious.
Interesting that you shift US-East to the EU. Any more color on why that direction, versus say, US-West? Like maybe less common components in AWS? At face value, it seems like an odd choice.
I can only imagine what debugging misbehaving clients looks like, it's got to be north of 1,000 hardware/software profiles.
I thought of some questions:
How is the dev/test env kept up to date for integration/canary tests? When a new app/service is pushed to production does its build/image (AMI?) become the new dev/test env base image for everyone?
Do engineers decide which metrics are tracked by Kayenta? Does ops? How does this come together?
What about post deployment service monitoring / alerting? When is the dev team off the pager hook?
Do you assume that a successful deployment in us-west means it will be successful in us-east or is there an [integration] test done per region?
Just curious.
https://medium.com/netflix-techblog/sps-the-pulse-of-netflix...
It is an SPS graph (as indicated by the title). Spinnaker displays the graph on that page to give engineers a visualization for what SPS looks like during their deployment windows. If your service is critical for streaming you'll have a preference for deploying during lower traffic hours to minimize potential impact. Fortunately as the post mentions it is very regular, and has different praks in different aws regions, which allows regional deployments to be staggered.