Virtual Happy Hour is canceled this month (March) due to Good Friday.
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.CMS.Core 10.6.0
Feb 23, 2017
Mar 24, 2017
CMS Core
Closed, Fixed and tested
When loading a large number of content items that are not found in the cache, for example by calling IContentLoader.GetItems with 10,000 items in a single method call, the loader sends requests to the database in batches of 2,000 items (configurable via maxContentsPerDatabaseRequest). Content items are then added to the cache when all batches have completed.
If multiple threads/requests request the same content, they might load content from the database that is already loaded, but not yet cached, causing unnecessary strain on the database server and memory usage on the web server.
Changes in this fix: For each batch, the loader adds those content items to the cache, then continues with the next batch possibly finding content items already cached by other threads (avoiding database roundtrips and the increased memory usage to construct those content items again).