Project

General

Profile

Actions

feature request #5387

open

Completely avoid all cache strategies during read operations

Added by Andreas Kohlbecker almost 9 years ago. Updated 7 months ago.

Status:
New
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
major
Tags:

Description

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.


Related issues

Related to EDIT - bug #6436: [DISCUSS] TitleCache update strategy for related objectsNewAndreas Müller

Actions
Related to EDIT - feature request #9271: Improve E+M dataportal performanceIn ProgressAndreas Müller

Actions
Actions #1

Updated by Andreas Müller over 7 years ago

  • Related to bug #6436: [DISCUSS] TitleCache update strategy for related objects added
Actions #2

Updated by Andreas Müller almost 4 years ago

Actions #3

Updated by Andreas Müller over 2 years ago

  • Subject changed from completely avoid all cache strategies during read operations to Completely avoid all cache strategies during read operations
  • Description updated (diff)
  • Target version changed from Unassigned CDM tickets to Release 5.49
Actions #4

Updated by Andreas Müller over 2 years ago

  • Private changed from Yes to No
Actions #5

Updated by Andreas Müller 7 months ago

  • Target version changed from Release 5.49 to Release 5.47
Actions

Also available in: Atom PDF