Submitted by hollyhoppet in programming

After a botched attempt and trying to have the jstpst just recreate thumbnails when they got lost (initial restults showed rather unsatisfactory performance) I've decided I'm going to store them on a cloud service and backblaze is waaaay cheaper than s3 and azure and rackspace. Kind of seems almost too good to be true but it's not like thumbnails are critical to the site operation so I'm willing to give it a go. Anyone heard of or have experience with them?

6

Comments

You must log in or register to comment.

devtesla wrote (edited )

I've seen some rumblings that it has latency problems, which kinda makes sense it's more of a backup service than anything else. I think it's worth a shot for our tiny website.

Are we on Cloudflare? That would help with the latency.

2

hollyhoppet OP wrote

We're not on cloudflare, but the unsatisfactory performance doesn't really have to do with latency on the side of the person accessing the website. I tried an algorithm that went to all the sources for posts again to re-make thumbnails, which just takes too long because it's too connections to too many different downstream servers. This was to be a quick fix even if it's a little discourteous to the sites that hold the images we make into thumbnails as we lose thumbnails possibly a few times a day.

My choices now are either to make an image view that populates itself with the image once the thumbnail is downloaded from the site the post links to using some sort of eventing mechanism, or just do it the right way and cache the images ourselves somewhere. I assess both to take an equal amount of time so I'm going to do it the right way :P

As for latency issues if we use b2... from what I can tell they used to be just backup stuff and are now trying to compete with s3-alikes so maybe they're doing better on that front these days. I'm willing to take the risk considering the savings that could be made.

2

devtesla wrote (edited )

Ohh I was meaning that Cloudflare could handle b2's latency. Yea I know it's a different reason why we don't have thumbnails.

1