Hacker News new | ask | show | jobs
by dantiberian 670 days ago
Could you explain more why you were you not able to sign the URLs at request time? Creating an HMAC is very fast.
1 comments

I’m going to have to look into this today. I assuming generating the URLs hit an API, but if those can happen fast locally that changes things.
Yup, pre-signing is fast and local, without any I/O. It’s just math. You could likely pre-sign thousands of URLs per second if you needed.