2 ms·
Web server workers, by definition, don't run for extended periods. Making them the perfect candidate for GC languages. 1) Get request 2) Serve request 3)
by theshrike79 5y ago
Web server workers, by definition, don't run for extended periods. Making them the perfect candidate for GC languages.
1) Get request
2) Serve request
3) Get GC'd
No memory issues.
- vp8989 5y agoServing web requests with ephemeral workers introduces some new problems though. Generally efficiency in this space comes from pooling, reusing connections, multiplexing etc ... Ie. amortize expensive work over many requests.