5 ms·
I always assumed the really slow tiers were tape.
by MDGeist 1y ago
I always assumed the really slow tiers were tape.
- hobs 1y agoNot even the higher tiers of Glacier were tape afaict (at least when it was first created), just the observation that hard drives are much bigger than you can reasonably access in useful time.
- temp0826 1y agoIn the early days when there were articles speculating on what Glacier was backed by, it was actually on crusty old S3 gear (and at the very beginning, it was just on S3 itself as a wrapper and a hand wavy price discount, eating the costs to get people to buy in to the idea!). Later on (2018 or so) they began moving to a home grown tape-based solution (at least for some tiers).
- luhn 1y agoDo you have any sources for that? I'm really curious about Glacier's infrastructure and AWS has been notoriously tight-lipped about it. I haven't found anything better than informed speculation.
- iamtedd 1y agoMy speculation: writes are to /dev/null, and the fact that reads are expensive and that you need to inventory your data before reading means Amazon is recreating your data from network transfer logs.
- luhn 1y agoMaybe they ask the NSA for a copy.
- temp0826 1y agoSource is SWIM who worked there (doubt any of that stuff has been published)
- dekhn 1y agoThat's surprising given how badly restoration worked (much more like tape than drives).
- roncesvalles 1y agoI'd be curious whether simulating a shitty restoration experience was part of the emulation when they first ran Glacier on plain S3 to test the market.
- everfrustrated 1y agoI'm not aware of AWS ever confirming tape for glacier. My own speculation is they likely use hdd for glacier - especially so for the smaller regions - and eat the cost. Someone recently came across some planning documents filed in London for a small "datacenter" which wasn't attached to their usual London compute DCs and built to house tape libraries (this was explicitly called out as there was concern about power - tape libraries don't use much). So I would be fairly confident they wait until the glacier volumes grow enough on hdd before building out tape infra.
- pjdesno 1y agoThe “drain time” for a 30TB drive is probably between 36 and 48 hours. I don’t have one in my lab to test, or the patience to do so if I did.
- hobs 1y agoYep, did 20TB drives in my Unraid box and took about 2 days and some change to setup a clean sync between em all :)
- g-mork 1y agoThere might be surprisingly little value in going tape due to all the specialization required. As the other comment suggest, many of the lower tiers likely represent basically IO bandwidth classes. a 16 TB disk with 100 IOPs can only offer 1 IOP/s over 1.6 TB for 100 customers, or 0.1 IOP/s over 160 GB for 1000, etc. Just scale up that thinking to a building full of disks, it still applies
- pjdesno 1y agoSee comments above about AWS per-request cost - if your customers want higher performance, they'll pay enough to let AWS waste some of that space and earn a profit on it.
- smueller1234 1y agoI realize you're making a general point about space/IO ratios and the below is orthogonal, no contradiction. It's actually a lot less user-facing per disk IO capacity that you will be able to "sell" in a large distributed storage system. There's constant maintenance churn to keep data available: - local hardware failure - planned larger scale maintenance - transient, unplanned larger scale failures (etc) In general, you can fall back to using reconstruction from the erasure codes for serving during degradation. But that's a) enormously expensive in IO and CPU and b) you carry higher availability and/or durability risk because you lost redundancy. Additionally, it may make sense to rebalance where data lives for optimal read throughput (and other performance reasons). So in practice, there's constant rebalancing going on in a sophisticated distributed storage system that takes a good chunk of your HDD IOPS. This + garbage collection also makes tape really unattractive for all but very static archives.
- derefr 1y agoMy own assumption was always that the cold tiers are managed by a tape robot, but managing offlined HDDs rather than actual tapes.
- chippiewill 1y agoI think that's close to the truth. IIRC it's something like a massive cluster of machines that are effectively powered off 99% of the time with a careful sharding scheme where they're turned on and off in batches over a long period of time for periodic backup or restore of blobs.
- booi 1y agoit's amazing that Glacier is such a huge system with so many people working on it and it's still a public mystery how it works. I've not seen a single confirmation of how it works..
- ignoramous 1y agoGlacier could be doing similar to what Azure does: https://www.microsoft.com/en-us/research/project/project-silica/ https://www.microsoft.com/en-us/research/project/project-sil... Also see this thread: https://news.ycombinator.com/item?id=13011396 https://news.ycombinator.com/item?id=13011396
- pyuser583 1y agoI doubt it’s using WORM drives.
- Demiurge 1y agoThere was an article or interview with one of the lead AWS engineers, and he said they use CDs or DVDs for cold glacier.
- jasonwatkinspdx 1y agoYeah, I don't know about S3, but years back I talked a fair bit with someone that did storage stuff for HPC, and one thing he talked about is building huge JBOD arrays where only a handful of disks per rack would be spun up, basically pushing what could be done with scsi extenders or such. It wouldn't surprise me if they're doing something like that with batch scheduling the drive activations over a minutes to hours window.