| ▲ | strken 9 hours ago | |
Can you explain a bit more about what you mean by a limit on how much code an event loop can handle? What's the limit, numerically, and which units does it use? Are you running out of CPU cache? | ||
| ▲ | joker666 8 hours ago | parent | next [-] | |
I assume he means, how much work you let the event loop do without yielding. It doesn't matter if there's 200K lines of code but no real traffic to keep the event loop busy. | ||
| ▲ | BoorishBears 2 hours ago | parent | prev [-] | |
Most people don't realize their applications are running like dogwater on Node because serverless is letting them smooth it over by paying 4x what they would be paying if they moved 10 or so lines of code and a few regexes to a web worker. (and I say that as someone who caught themselves doing the same: severless is really good at hiding this.) | ||