https://serverless-stack.com/ logo
#random
Title
# random
t

thdxr

10/27/2021, 5:51 PM
I did some experimenting and found a way to get the round trip time from us-east-2 to my machine in NY from 150ms down to 30ms. The question is, is this worth doing? How do people feel about roundtrip times to their machine? Is it fast enough? Do you feel slowness in other places that aren't the round trip?
a

Ashishkumar Pandey

10/27/2021, 6:13 PM
Webhooks do timeout for me when I'm using the live mode but I can easily work around that by increasing the function timeout. If you've nothing more important to take on then you could take this up. I'd maybe use a poll here or on GitHub discussions to prioritise next steps.
t

thdxr

10/29/2021, 1:33 AM
Do you think they timeout because the payload takes a long time to get to you? Or because of local code execution speed
a

Ashishkumar Pandey

10/29/2021, 7:19 AM
It’s the payload that takes time. My lambda handlers are extremely quick, none of them cross 500ms in avg response time.
t

thdxr

10/29/2021, 12:01 PM
Can you estimate that time
a

Ashishkumar Pandey

10/29/2021, 1:00 PM
It happens occasionally, the added latency is somewhere around 500 ms to 1 s. I’ll try to keep an eye when I work with webhooks again.
t

thdxr

10/29/2021, 1:07 PM
Got it
m

Michael Clifford

10/30/2021, 6:41 PM
Any reduction in latency is worth it 😄