Skip to content

Local cache using EhCache #2555

@aberenguel

Description

@aberenguel

While running some tests with EhCache, I observed very promising results.
This issue was motivated by discussions in PR #2439 .

Initially, the goal was to replace SQL code in AbstractTranscriptTask.java and OCRParser.java. This resulted in significantly simplified code. Later, I expanded the implementation to make cache parameters configurable. It’s now possible to define the size of the three cache tiers:

  • Heap
  • Off-heap
  • Persistent

Additionally, there's now an option to configure the cache location:

  • Global: stored in $HOME/.iped
  • Temporary: stored in a temp directory

I will submit a pull request shortly with the related code changes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions