Ask HN: How do big web sites roll out new versions?
1–10 of 52 posts
Re: Ask HN: How do big web sites roll out new versions?
#2Re: Ask HN: How do big web sites roll out new versions?
#3Re: Ask HN: How do big web sites roll out new versions?
#4Re: Ask HN: How do big web sites roll out new versions?
#5Re: Ask HN: How do big web sites roll out new versions?
#6Re: Ask HN: How do big web sites roll out new versions?
#7In general, I'd say, most sites data is sharded or clustered. Amazon, I'm guessing, basically has many many different instances of their app running on different clusters all over the world (multiple clusters per datacenter). So they upgrade a cluster at a time, and their databases all synchronize with others of the same version.
Facebook's data is, obviously, sharded by network. So any given cluster runs x number of networks. Upgrades are then, again i'm guessing here, rolled out network by network. The data layer can be different from network to network.
Most of the time though, updates to large scale services aren't changing db schemas or making huge changes to the data layer, so it's as simple as updating the code and rebooting some app servers.
(Obviously I don't know exactly how they do it, cause I don't work at any of these places, but deploying it's that hard of a problem to solve)
Re: Ask HN: How do big web sites roll out new versions?
#8[deleted]
Uh, I'm guessing most places do it much more scientifically than that, and I would be very surprised if anyone in the top 100 sites is using a software loadbalancer (I only know of Wordpress using nginx http://barry.wordpress.com/2008/04/28/load-balancer-update/).
Most places run a dedicated hardward loadbalancers from F5 or Cisco or Juniper.
Re: Ask HN: How do big web sites roll out new versions?
#9[deleted]
A regex of machines? Every odd machine in the first datacenter? Software load balancers? Uh, I'm guessing most places do it much more scientifically than that, and I would be very surprised if anyone in the top 100 sites is using a software loadbalancer (I only know of Wordpress using nginx http://barry.wordpress.com/2008/04/28/load-balancer-update/ ). Most places run a dedicated hardward loadbalancers from F5 or Cis…
Re: Ask HN: How do big web sites roll out new versions?
#10It's totally different for different types of sites. Facebook is different than Amazon is different than Yahoo is different than Flickr. In general, I'd say, most sites data is sharded or clustered. Amazon, I'm guessing, basically has many many different instances of their app running on different clusters all over the world (multiple clusters per datacenter). So they upgrade a cluster at a time, and their databases…