3 ms·
> Generating pre-signed URLs for file upload or download was quite a bit slower, I'd be shocked if generating pre-signed URLs required talking to the Backblaze
by jrochkind1 5y ago
> Generating pre-signed URLs for file upload or download was quite a bit slower,
I'd be shocked if generating pre-signed URLs required talking to the Backblaze server, that should be something done totally in client code.
However, even with AWS S3, I discovered that the official AWS ruby SDK client was much slower that it could/should be at generating pre-signed URLs (and even just public URLs!), and was able to write my own ruby code to be significantly faster.
https://github.com/jrochkind/faster_s3_url https://github.com/jrochkind/faster_s3_url
I'm curious for the specifics on what code you were using to generate pre-signed URLs for file upload or download with backblaze, and what you are comparing it to when you say it's a lot slower. It could be un-optimized code, but whose "fault" it is depends on what code it is, open source etc.