Just for curiosity’s sake, what if I run `npx sst ...
# random
a
Just for curiosity’s sake, what if I run
npx sst start
for a production application that has requests incoming @ 10/s. I understand that the latency would increase but would my local machine be able to deal with it? FYI - the machine is a Macbook Pro with 2.3GHz 8-core i9 with 16GBs of RAM. Also, if I dare to attempt this what could I do to better handle the incoming load ?
a
Why would you do that?
For monitoring purposes?
a
It’s a hypothetical scenario for times when some third-party services allow integration only in production environments. Also, yes, monitoring would a good use case provided I don’t have any services set up for the same.
a
Yeah monitoring it’s interesting.
To do real-time.
But non-realtime I use Epsagon, it’s awesome.
a
Haha! I’m going to do the same, I just got $50k worth credits a couple of weeks back.
a
Nice.
I’ve been using it for 3 years, and it’s a must have for Serverless apps.
Also tested Lumigo, it’s nice, it’s a copy of Epsagon.
f
Hey @Ashishkumar Pandey, for each incoming requests, SST spawns a child process to handle the request. There are some ideas we have to make it more resource efficient (much more efficient). But I think there will always be a maximum request rate ur local can take. Might be more than 10/s hopefully 😊
a
But Lumigo is missing some small features that makes Epsagon better, but overall it’s the same.
a
Okay, fingers crossed, will hail you if I need assistance with epsagon.
@Frank that sounds promising, thank you for confirming. I was thinking I might use DNS redirection and split incoming traffic across two stages in case of high loads. I think I could pull this off if I need to.