Speeding up your API with Amazon API Gateway
For certain advanced use cases you may find that Bubble is too slow to respond to API requests - it usually takes a few seconds.
If you need a super fast response for your API calls - perhaps if you are embedding content on a third party site and it needs to load immediately, Bubble might be too slow on it’s own.
There is a solution which can drastically speed up responses from your Bubble API.
Amazon’s API Gateway is a layer which you can install between your Bubble API and the end user.
The API gateway can be given a pretty URL for customers to access, something like api.yourapp.com instead of the out of the box Bubble structure.
The gateway can also cache responses, meaning they are delivered lightning fast.
This is quite an advanced use case so I’m not going to cover it in depth today, but if it is of interest please do drop me a reply and I’ll be happy to share more!
Don’t forget your privacy rules.
As always with Building in Bubble, don’t forget to correctly configure your privacy rules to protect your user’s data.
Getting your privacy rules right and understanding how they work can save you huge headaches down the line!
Thanks for reading
I hope you enjoyed this issue - there’s lots more to come!
I’m considering starting to record occasional video tutorials to cover some of the more advanced topics in my newsletter, would that be useful to you?
Let me know with a reply!
Thanks again, James.