Project

General

Profile

feature request #5387

Updated by Andreas Müller about 2 years ago

The cdm make use of `CacheStrategies` in order to update titelCaches and taggedTitles of Taxa, Names, Authors, References, etc on the fly during read operations. 


 


 This causes a massive performance overhead since all enitities needed to compose the titleCaches need to be initialized. These object graphs can get quite huge especially for taxa!  


  


 To overcome this situation it should be possible to use the cache strategy on database updates and to populate the titleCache fields od the entities. 


 


 As pointed out in [#4962#note-6] also sorting of taxa is expensive since a lot of the atomized information on taxon names and ranks need to be compiled into a sortable string. Even if not explicitly named like, this is also a kind of cache strategy. As for the other cache strategies this string should also be stored in a cache field of the entities (TaxonNode, ...) during write operations instead of loading the object graph every time. 
 

Back