is anyone else using the sentry layer? I've found ...
# random
t
is anyone else using the sentry layer? I've found my cold starts go from 500ms -> 2500ms when using it
a
I was planning on using it but I might reconsider that 😅
t
yeah wha tI'm seeing is pretty bad, idk if I can recommend it anymore
@Sam Hulick I know you're a big sentry user - are you seeing anything similar?
s
@thdxr I actually don’t use the layer. I do it the old-school way using npm packages
ö
Boooooo 😄
t
@Sam Hulick maybe that's better then. You don't see any crazy cold starts right
s
@thdxr nope, definitely not
t
which npm package are you using?
they have a few
s
@sentry/serverless
I believe
The one that has a Lambda wrapper
t
Gotcha that's what I use too but was using it through the layer
s
I wonder why the layer makes the cold start time so terrible
found it
j
Yea, we had the same issue. We spun up our own Sentry layer and it was faster. Not sure what extra bits they got in there as we are literally just pushing the sentry node_modules folder in there. We have since added other things in our layer so it slowed it down a tad but we have the bigger benefit of highly reduced size of our other functions