Re:How Rust Lets Us Monitor 30k API calls/min
by cybervasi on Tuesday June 16, 2020 @02:50PM
(#23542684)
GC of 500 request/s could not have possibly caused a performance issue. Most likely the problem was due to JS code holding on to the 1MB requests for the duration of the asynchronous Kinesis request or a bug in the Kinesis JS library itself. With timeout of 2 minutes, you may end up with up to 30K/min x 2min x 1mb = 60GB RAM used. GC would appear running hot during this time but it is only because it is has to scrape more memory somewhere while up to 60gb is being in use.
[ Parent
| on HN ]
There are no comments on this comment yet.