Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25651

Add caching to enrichment service calls

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Detail
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF23, 10.3
    • Component/s: ML Data Enrichment

      Description

      Enrichment services usually call paid external services, eg. AWS Comprehend. I noticed from the translation implementation that a cache would be useful to avoid unnecessary calls. e.g. the following call could be cached.

      ["{'source':'en','target':'es','text':'I am very disappointed','translated':'Estoy muy decepcionado.'}"]

      If we implement a generic cache in AbstractEnrichmentService, any enrichment implementation could benefit from it.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours
                  1d 5h