4 ms·
While I haven't worked on any project demanding this kind of scalability, I'm struggling to believe that garbage collection would be a bottleneck here. Modern m
by DrJokepu 17y ago
While I haven't worked on any project demanding this kind of scalability, I'm struggling to believe that garbage collection would be a bottleneck here. Modern managed environments these days are ridiculously fast and the garbage collectors are shockingly efficient. It's not 1994 anymore.
I think they are more likely to have performance issues because of the dozens of complex webservice xml-rpc calls that are required just to get a simple piece of data (as it is usual in enterprise systems).
- mfairview 17y agoSystems can get large enough that it would take a few seconds for GC to complete thereby causing unacceptable latency (especially if you need to meet strict SLAs). Consider a caching datastructure that needs to be constantly updated with fresh data. Objects in the cache remain there long enough to get into the final generation only to be pulled off some time later. Without memory management (e.g. object pooling for one), you'd quickly fill up your long lived generation causing the system to repeatedly want to reclaim.