News for hackers. Stuff that matters.
Re:AWS Lambda Cold Start Times by yoava on Tuesday October 12, 2021 @02:18PM (#28843141)
Just use http functions in a Velo by Wix project - you will get 50ms cold start out of the box.
Re:AWS Lambda Cold Start Times by gunnarmorling on Tuesday October 12, 2021 @02:52PM (#28843567)
Thanks, will take a look. Can I run Java, or any kind of binary, there? That's why I'm not running this with CloudFlare workers, for instance. An alternative I'm actually considering is fly.io.
Re:AWS Lambda Cold Start Times by yoava on Tuesday October 12, 2021 @04:01PM (#28844371)
Velo runs only JavaScript, but unlike cloudflare, velo runs a full node.js.

With that in mind, you can a lot of things, from accessing your database or any other asset on aws (or gcp or azure). You can also use other wix apis, like payment api or the wix data database.

Re:AWS Lambda Cold Start Times by rmbyrro on Tuesday October 12, 2021 @07:38PM (#28846448)
If you need to access a DB in AWS, isn't the networking overhead on every single call going to dominate all cold start performance gains in a few occasional requests in Velo?