Services Plugins FAQs

Wasabi - Generate Presigned URL - very slow

Hello everybody!

I have been using the Bubble plugin for some time now and it works very well, but one thing has been lacking and customers always complain.

When using the “Wasabi - Generate Presigned URL” action for the first time, regardless of the file size, it takes a few seconds to complete (about 10-30 seconds). It doesn’t seem like much, but for the user who wants to open a small file, pdf, with a single page, with few bytes, it’s an eternity!

Interestingly, this only occurs on the first run, then the others are fast, until the browser is closed and opened again, then it becomes slow again.

I’ve already left it in debug mode and put it in the “Slow” option and what’s really taking the processing time is this action.

Has anyone gone through this? Any solution suggestion?

Hi @webermarques, thanks for reaching out!

I’m afraid that we can’t do much in this regard, as it is not related to the plugin setup. We’ve checked on our side how it works and the reported issue is not reproduced (the general waiting time for the link is around 2-3 seconds).
By provided description - the issue might be related to the page setup particularities. A possible solution in this case might be to create a test page with only this particular case. This will allow you to compare the speed of actions, and step by step check what might influence it.

Please let me know if there is anything else that I can help you :wink:

Regards,

Hi @Serg , thanks for the answer.

I created a test page and the problem still occurred. I made a video demonstrating it, although it didn’t take that long in this case, but you can see that the first time the “Wasabi - Generate Presigned URL” event is triggered, it takes longer to run.

The next few times it runs quickly.

Video link: https://drive.google.com/file/d/1QQQ2pZHIVCwd3Z6Z2Ud3E9pQrquOj71A/view?usp=sharing

My workflow:

Still looking for the cause of the problem and a possible solution, thank you very much!

Hi @webermarques, thanks for the provided details.

Indeed, the first “Generate resigned URL” action takes a bit more time to be executed. It is related to the fact that the server that is ensuring this feature, after a rest period, reacts with delay on the first API call. Once this particular feature will become more requested for continuous work, such delays will disappear.

Please let me know if there is anything else that I can help with about our plugin.

Regards,

Hi @Serg,

Thanks for the feedback and for the explanation, so I have an argument to explain to customers. I believe it is an acceptable wait to have the security of a unique link.

Regards,

1 Like

Hi @webermarques, you’re welcome :wink:
In case anything else would appear, just drop a message :wink:

Have a good day!

Regards,