Project

General

Profile

Actions

feature request #5387

open

Completely avoid all cache strategies during read operations

Added by Andreas Kohlbecker over 6 years ago. Updated 5 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 performanceNewAndreas Müller

Actions
Actions #1

Updated by Andreas Müller over 5 years ago

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

Updated by Andreas Müller almost 2 years ago

Actions #3

Updated by Andreas Müller 5 months 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.33
Actions #4

Updated by Andreas Müller 5 months ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF