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.

Introducing HTTP Load Balancing and SSD Persistent Disk

42 pointsby endijsalmost 11 years ago

7 comments

dmyttonalmost 11 years ago
This is Google using the power of their private network. A single IP routed to your closest data center which can be done because your traffic enters their network at the closest POP and they can then route internally. Currently, you have to do this using anycast DNS – Google is making this a really simple product to get completely automated geographic redundancy&#x2F;local serving of content. Dyn charge a lot for this product.<p>Softlayer has a similar product called Global IP where traffic enters their extensive network at the local POP. You can then reroute the IP to any of your servers but it’s not load balanced and is really just another IP. Still a good product which we use to power all our services for automated failover. But Google just one-upped them.<p>Think AWS elastic IP, but Softlayer allow you to route to any server in any DC. And Google allow you to automatically route to a pool of servers in a location closest to the user.
AaronFrielalmost 11 years ago
Google, Amazon, and Azure appear to have shaped their clouds after their internal needs first. This has lead to peculiarities in their pricing and feature sets. Amazon, for example, is fine with scaling out to an extreme degree, and so their storage options, particularly their provisioned IOPS options, are rather expensive. Their network and storage infrastructure is likely the oldest and with the lowest turnover rate, so they&#x27;re the most expensive to get performant storage on.<p>Google probably has the highest server turnover rate, and my wager is that they recently switched to new SSDs to reduce failure rates in their datacenters. My guess is that their compute servers are now swimming in excess IOPS, and so they are <i>clearly</i> the cheapest if you want very fast storage. This reminds me of Facebook purchasing massive quantities of SSDs for their own datacenters.<p>Microsoft has very peculiar needs. Azure grew out of servicing internal Microsoft IT needs first, so it is stuck with some quirks. You don&#x27;t provision IOPS, you create disks, which you attach to VMs. There are no IOPS tunable options for their PaaS, only IaaS VMs. They use software RAID (Linux or Windows) to turn multiple disks into higher speed storage. Their storage backend can only be described as weird[1], because whatever you think the actual disk layout looks like from your VM&#x27;s perspective, it doesn&#x27;t look anything like that on the storage layer. They partition data into chunks (disks) which get written to a distributed, log-structured file system on JBODs. Every 1GB extant is made immutable once full, and they use erasure encoding to distribute the data such that they can sustain 2 failures with only 33% disk overhead. The result is that writes are cheap (almost all writes are sequential) and the backend does a bunch of compute work to make reads fast (with caching of metadata and the erasure encoding, I&#x27;m guessing).<p>[1] - <a href="http://snia.org/sites/default/files2/SDC2013/presentations/GeneralSession/AndrewEdwards_Windows-Azure-Storage-v5.pdf" rel="nofollow">http:&#x2F;&#x2F;snia.org&#x2F;sites&#x2F;default&#x2F;files2&#x2F;SDC2013&#x2F;presentations&#x2F;G...</a><p>[2] - <a href="http://research.microsoft.com/pubs/179583/LRC12-cheng%20webpage.pdf" rel="nofollow">http:&#x2F;&#x2F;research.microsoft.com&#x2F;pubs&#x2F;179583&#x2F;LRC12-cheng%20webp...</a>
crbalmost 11 years ago
Google&#x27;s SSD price is $0.325&#x2F;GB&#x2F;mo with 30 IOPS (flat rate). AWS&#x27;s EBS with provisioned IOPS are SSD backed, and cost $0.125&#x2F;GB&#x2F;mo, with $0.10 per IOPS.<p>To get 30 IOPS on AWS would cost $3.125 - almost 10 times as much as at Google. If you&#x27;re doing more than 2 IOPS, you&#x27;re better off with GCP.
评论 #7899770 未加载
评论 #7903462 未加载
toomuchtodoalmost 11 years ago
&gt; HTTP Load Balancing changes the game for how developers interact with network resources. HTTP load balancing can easily scale to support more than 1 million requests per second with no “warm up.”<p>&gt; And while other providers count each and every IOPS and charge extra for them, SSD persistent disk includes IOPS in the base price with no extra charges or fees, making cost completely predictable and easy to model.<p>Between Google&#x27;s price cuts, and releasing features directly addressed at Amazon AWS feature&#x2F;pricing deficiencies, Google is coming out swinging.<p>Google vs Amazon&#x27;s ELBs:<p><a href="https://aws.amazon.com/articles/1636185810492479#pre-warming" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;articles&#x2F;1636185810492479#pre-warming</a><p>&quot;Amazon ELB is able to handle the vast majority of use cases for our customers without requiring &quot;pre-warming&quot; (configuring the load balancer to have the appropriate level of capacity based on expected traffic). In certain scenarios, such as when flash traffic is expected, or in the case where a load test cannot be configured to gradually increase traffic, we recommend that you contact us to have your load balancer &quot;pre-warmed&quot;. We will then configure the load balancer to have the appropriate level of capacity based on the traffic that you expect. We will need to know the start and end dates of your tests or expected flash traffic, the expected request rate per second and the total size of the typical request&#x2F;response that you will be testing.&quot;<p>Google vs Amazon charging for IOPS:<p>&quot;And while other providers count each and every IOPS and charge extra for them, SSD persistent disk includes IOPS in the base price with no extra charges or fees, making cost completely predictable and easy to model.&quot;
AaronFrielalmost 11 years ago
Cloud platforms are exciting to me because it seems every new feature presents an opportunity to break out a spreadsheet to figure out performance&#x2F;$.<p>I&#x27;m going to consider 3 cases:<p>CDN: 1TB of storage, 1000 IOPS required. (a cache or &quot;smart&quot;&#x2F;ACLed CDN)<p>DB: 20GB of storage, 5000 IOPS required. (a moderately sized database)<p>Hybrid: 500GB of storage, 2500 IOPS required. (some composite of the two)<p>A summary of pricing right now for storage IOPS:<p><pre><code> (US East) $&#x2F;GB $&#x2F;IOPS CDN DB Hybrid Google Cloud Platform 0.325 $0.011 $ 325 $ 54 $ 163 Amazon EC2&#x2F;EBS 0.125 $0.100 $ 225 $ 502 $ 313 Microsoft Azure 0.050 n&#x2F;a $ 50 $ 1 $ 25 Microsoft Azure (w&#x2F;vm) 0.050 n&#x2F;a $ 85 $ 278 $ 164 </code></pre> Here&#x27;s how they are currently priced:<p>Google: pay for the GB, get a fixed IOPS&#x2F;GB.<p>Amazon: pay for the GB, pay for the IOPS.<p>Microsoft: pay for the GB, get 500 IOPS&#x2F;<i>disk</i>, with a maximum of 16 disks. (but you can&#x27;t attach that many disks unless you pay for a larger instance size, too)<p>Microsoft (w&#x2F;VM): I&#x27;ve included the cost of the compute instance in this summary. I used an A1 VM for CDN, A4 for DB, and A3 for Hybrid, at $35, $277, and $139 monthly, respectively.<p><i>CDN</i><p>Google: $325 for 1TB&#x2F;30,000 IOPS.<p>Amazon: $225 for precisely 1TB&#x2F;1,000 IOPS.<p>Microsoft: $50 (using 2 500GB disks)<p>Microsoft (w&#x2F;vm): $85 (an A1 VM is required to use two disks)<p><i>DB</i><p>Google: $54 for 167GB&#x2F;5,000 IOPS.<p>Amazon: $502 for 20GB&#x2F;5,000 IOPS.<p>Microsoft: $1 for 20GB&#x2F;5,000 IOPS (using 10 2GB disks)<p>Microsoft (w&#x2F;vm): $278 (an A4 VM is required to use 9-16 disks)<p><i>Hybrid</i><p>Google: $162.50 for 500GB&#x2F;15,000 IOPS.<p>Amazon: $312.50 for 500GB&#x2F;2,500 IOPS.<p>Microsoft: $25 for 500GB&#x2F;2500 IOPS (using 5 100 GB disks).<p>Microsoft (w&#x2F;vm): $164 (an A3 VM is required to use 5-8 disks)<p>EDIT: I forgot to add a disclaimer. I am a student at the University of Northern Iowa. I am not affiliated with Amazon or Google. I am a Microsoft Partner, however. I was not paid or asked to write this post, and have never been directly paid by Microsoft to produce any writing, benchmark, or whatever, etc, etc. IANAL, etc. I have received standard gifts from them from attending conferences.
评论 #7901328 未加载
评论 #7900413 未加载
AdamMeghjialmost 11 years ago
The combination of this HTTP Load Balancing announcement, and May 23rd&#x27;s announcement of CoreOS support are super exciting. I&#x27;ve been working on setting up a similar docker-based multi-AZ autoscaling setup on EC2, but getting it up and running has required integrating a lot of separately moving parts. If Google can simplify this process via a few simple gcutil commands and a cloud-config YAML file, it would be a hugely compelling offering.
chatmastaalmost 11 years ago
Exciting developments on the load balancing front. Is anyone able to decipher whether this can be used to load balance external (non-google) services? It looks like the input parameter is simply an external IP, but I haven&#x27;t looked that closely yet.
评论 #7899898 未加载
评论 #7901286 未加载