Live data from Hacker News

Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

backblaze.com

241–250 of 293 posts

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#242

Earlier quoted context omitted.

Please consider an Asia/Pacific data center. I am from India and my company was not able to use B2 due to high response times even from European DC. Even a DC in Singapore will be helpful for us. - Thankful Personal Backup Customer

Bandwidth in asiapac is very expensive for non-incumbents and India is no exception. I find it bizarre how in India you can get 100GB of LTE for a few dollars but cdn bandwidth can cost content providers more than that - which is absurd.

Mobile broadband is witnessing intense competition in grabbing customers as millions of rural Indians are coming online. This started with a Petro-chemical billionaire starting Jio Network and giving free unlimited 4G data for a year(his company has 300million subscribers now).

Already 4 networks have exited the market and 3rd & 4th largest networks(Vodafone and Idea) have combined due to cash crunch. Airtel(earlier largest) has been raising outside money in hopes that it can survive the low prices. So there are only 4 networks remaining. Only recently they started increasing prices.

That billionaire is also going into Fibre(purchased his bankrupt bother company's infrastructure), maybe we'll see that competition extend to DC and interconnects.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#243
post #164

Earlier quoted context omitted.

That's a fair point but this is for my family photos and videos; in the event I die I'd rather the S3 bucket I hand over to my wife/kids in my last wishes look like a real filesystem rather than a bazillion blobs that require a special tool with a programmer's expertise to reassemble

" ... in the event I die I'd rather the S3 bucket I hand over to my wife/kids in my last wishes look like a real filesystem rather than a bazillion blobs that require a special tool ..." You'd need a cloud storage provider that just gave you a plain old UNIX filesystem to do whatever you want with. It's too bad nobody does that ...

It's too bad you guys cost ~2x as much for storage as S3 when I evaluated you in 2018... ($0.04/GB vs $0.023/GB) ;) Glad to see you're beating S3 in $/GB now!

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#244
post #71

Is there a cheap s3 compatible service that is less reliable? I dont want to pay for redudancy Eg its my backups I can handle a 3% chance that my data is lost as long as I find out about it.

If you want super cheap, use DreamObjects by DreamHost.

doesn't look cheap at 5x the price of blackblaze. https://www.backblaze.com/b2/cloud-storage-pricing.html

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#245
This is wonderful news for me. I host a video on demand site Codemy.net and all the original source videos are on backblaze. Originally I had to write a library to connect to the backblaze api. Now I look forward to using the existing aws client libraries, one less thing I have to maintain.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#246
post #145

Earlier quoted context omitted.

Where can I find the pricing info for this allotment?

All of our pricing is available on the site (no need to call anyone) - B2 Cloud Storage is listed here -> https://www.backblaze.com/b2/cloud-storage-pricing.html . Just scroll down for the transactions!

What does "Charged for any portion of a GB." mean?

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#247

Earlier quoted context omitted.

Disclaimer: I work at Backblaze so I'm biased. :-) > B2, as a storage service, is not really intended for "serving web pages and websites" — it's for larger files, binaries, etc It might be missing a couple features (which is a pet peeve of mine) but we SURELY intend for it to be used for serving web pages. That's one of the largest differences between "Backblaze Personal Backup" (our original product line) and Backb…

S3's use of separate servers for website hosting is actually very sensible. Options like usage of index.html and error.html only apply on the website servers and won't cause any surprises for people using the service as a key-object store. That said, I would absolutely not consider using B2 without support for index.html, error.html, and Website-Redirect-Location.

You can trivially use Cloudflare Workers to implement that functionality on top of B2.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#248

This is wonderful news for me. I host a video on demand site Codemy.net and all the original source videos are on backblaze. Originally I had to write a library to connect to the backblaze api. Now I look forward to using the existing aws client libraries, one less thing I have to maintain.

Yev here -> That's awesome to hear! Ease of use is one of the things that we strive for at Backblaze and I'm glad that the S3 Compatible APIs are going to unlock some use-cases and make things easier for people that don't have the bandwidth to maintain different codepaths!

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#249

That's awesome, but I really want to see lightning fast response times and TTFB... Second pain point is the number of retries needed for uploading a large batch of small files. Those are the main reasons I'm still considering migrating away. I really wish I shouldn't as otherwise I love the pricing and the philosophy. Edit: also think DigitalOcean Spaces and B2 might be better off merging together, or Spaces being a…

> Second pain point is the number of retries needed for uploading a large batch of small files.

We upload a few hundred GiB to B2 daily and have this issue as well. Really annoying…

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#250

Earlier quoted context omitted.

Disclaimer: I work at Backblaze. > The DNS resolver library of your client is allowed to cache the IP address for a given hostname for up to TTL Not only that, but one mistake a lot of developers made early on was asking for a location to upload for every upload. That was NEVER the intention. In fact that annoys our servers also. Developers are supposed to request a location to upload ONCE, and then upload to that lo…

If you can use one of these arbitrary domain names for hours or days ... why wouldn't you just handle it on your end and provide the public with a single domain?

> why wouldn't you just handle it on your end and provide the public with a single domain?

That is what we did for the S3 protocol. It adds cost via a load balancer.

The whole original storage design was based on the fact that in our original product line (Backblaze Personal Backup) we owned both ends of the protocol - our servers on the back end, and our client on the customer laptop. We were able to eliminate all load balancers from our datacenter by being a little tiny bit more intelligence in the client application (maybe 50 lines of code). The client asks the central server where there is some free space. The server tells it. Then the client "hangs up" and calls the storage vault directly, no load balancer required! Then the client uploads as long as that storage vault does not fill up or crash. If the storage vault crashes, or is taken offline, or fills up all the spare space it has, the client is responsible to go back and ask the central server for a NEW location. This fault tolerance step in the client ENTIRELY eliminates load balancers! Normally you need an array of servers and a load balancer to accept uploads, because what if one of the array of servers crashed, had a bad power supply, or needed to update the OS? The load balancer "fixes that" for you by load balancing to another server. Pushing the intelligence down into the client saved us money. Nobody ever noticed or cared because our programmers could write the extra 50 lines of code, to save the $1 million worth of F5 load balancers (or whatever solution Amazon S3 has).

We based our original B2 api protocols on this cost savings and higher reliability, but it does push the 50 lines of code logic down to the client. It caused a lot of developers this extreme, extreme angst. They just couldn't imagine a world where their code had to handle upload failures and retries. They would ask us "how many retries should we try before we just fail to backup"? Should I try 2 retries, or 3 before the backup entirely fails and the customer loses data? Our client guys had a whole different approach, since it was a computer we just went ahead and tried FOREVER. Never endingly, until the end of time, in an automated fashion. A couple times a year one client gets unlucky and it requires several round trips before getting a vault to upload to, but who cares? It's a computer, it can retry forever. It never gets tired, never gives up.

But S3 never figured this out, and they require the one upload point have "high availability". It saves any app developers about 50 lines of code and a lot of angst, but then we (Backblaze) has to purchase a big expensive load balancer, or build our own. We mostly built our own.

Post reply on HN