> :mega: Need your help > I'm looking for p...
# general
t
📣 Need your help
I'm looking for people to try out a beta version of SST. It contains some pretty large updates to the local runtime environment which keeps your lambdas warm to serve subsequent requests. This has some pretty large impacts on performance A simple hello world Lambda goes from 450ms to 150ms round trip on my setup. An API gateway lambda I have in my application went from 1.8s to 400ms because it was able to skip cold start steps like loading SSM params. I'm hoping to get this to beta state end of this week. Let me know in this thread if you're interested.
Thread
r
I should be able to help out
j
I’m keen to test this out.
a
I love Chaos Engineering, I would deploy it to production lol! 😂
o
a
I’m in.
d
I’m in. Oh look it's the same faces as usual 😂
a
Hahaha, we are the risk takers.
I might need to work during weekend if @thdxr breaks anything… but I’m ok, worth it. 😂
t
hahah
you'll be able to swap back to the original if it sucks, it only effects local development
a
😉
f
@Drew might be interested too. Local Lambda process takes 3.6s to start up for him 🤒
d
👋 yes! @Dennis Dang and I would like to try this! 🙏
🤔 we may need to update our stack to catch up with the latest sst
d
same dev team, drew and i. 2.5 to 3.5s is def what i see. (lots of middleware code...)
t
Are any of you using a language other than ts/js ?
d
we are only using ts
r
TS here
t
if you're feeling even more adventurous than a beta, this build 0.43.4-next.12+972908ed should have the new stuff. Let's call it an alpha, It works only with ts/js
I've been using it for my own project and especially when doing UI work that's talking to api gateway, it makes a difference
a
So you deploy the UI without placeholder @thdxr?
t
No I meant my local Ui interacting with my live debug api endpoints
when things are slow it's very noticible
Added Go and Python support + some bug fixes: 0.43.4-next.16+36111ec7
t
I can test it as well next week 😄
k
I will give this a try also :)
After changing the version I am getting
Copy code
error ...../app/node_modules/aws-lambda-ric: Command failed.
t
let me publish an updated version
k
🙌
t
0.43.10-next.18+8cb9bf3a
There is one issue right now with aws-lambda-ric - it takes forever to install and for some reason their scripts rebuild it too often
k
Weird I will try this version now
I would love to see those request times go down for development
Same error for me again
will check if it has something to do with my machine
t
hm
When do you see this error? When you invoke the function or before?
k
No when I run yarn
it is unable to build aws-lambda-ric
t
Yeah this
aws-lambda-ric
library is a mess
I think I'm gonna work on removing it as a dependency. What OS are you on?
k
MacOs
t
If anyone else is on mac can they give that latest version a try: 0.43.10-next.18+8cb9bf3a
a
@thdxr what is that library for?
t
It's the actual library that AWS uses in their system to invoke your code
We're trying to use all of these so that we closely mirror what happens in prod
a
Nice.
k
I was distracted and could not test this yet, I will try tomorrow tho
I did not get it to work this time also, looking into their preinstall script I can see that they have a check for the operating system and they don't support mac os
Copy code
echo "aws-lambda-cpp does not build on OS X. Skipping the preinstall step."
Because of that this here is failing
t
Wow that sucks
Thanks for finding that
k
No worries, it seems to me that they could improve this by just including prebuilt or using existing curl
No idea why they have to rebuild curl 😅
Also it looks like curl can be build only aws-lambda-cpp can not so they could maybe just build curl on macs 😅