Skip to content

Conversation

@aonnikov
Copy link
Member

No description provided.

@huly-github-staging
Copy link

Connected to Huly®: UBERF-13043

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces LRU caching functionality to the Datalake service to improve performance by caching frequently accessed blob data and processed images.

  • Adds configurable LRU cache with environment variable controls for cache size and blob count limits
  • Implements blob-level caching in the main datalake operations (get/put)
  • Adds image transformation caching to avoid reprocessing images with the same parameters

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
services/datalake/pod-datalake/src/server.ts Passes cache configuration to DatalakeImpl constructor
services/datalake/pod-datalake/src/handlers/image.ts Implements image transformation result caching with LRU cache
services/datalake/pod-datalake/src/datalake/index.ts Exports cache-related functionality
services/datalake/pod-datalake/src/datalake/datalake.ts Integrates LRU cache into blob storage operations
services/datalake/pod-datalake/src/datalake/cache.ts Implements cache abstraction with LRU and no-op implementations
services/datalake/pod-datalake/src/config.ts Adds cache configuration with environment variable parsing
services/datalake/pod-datalake/package.json Adds lru-cache dependency
Files not reviewed (1)
  • common/config/rush/pnpm-lock.yaml: Language not supported

haiodo
haiodo previously approved these changes Aug 11, 2025
BykhovDenis
BykhovDenis previously approved these changes Aug 11, 2025
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
@aonnikov aonnikov dismissed stale reviews from BykhovDenis and haiodo via 6cf1801 August 11, 2025 17:28
@aonnikov aonnikov force-pushed the feat-datalake-lru-cache branch from ef39403 to 6cf1801 Compare August 11, 2025 17:28
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
@aonnikov aonnikov force-pushed the feat-datalake-lru-cache branch from 6cf1801 to 36b22eb Compare August 12, 2025 03:36
@aonnikov aonnikov marked this pull request as draft August 12, 2025 04:10
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
@aonnikov aonnikov marked this pull request as ready for review August 12, 2025 04:17
@aonnikov aonnikov merged commit cb99b82 into develop Aug 12, 2025
14 checks passed
@aonnikov aonnikov deleted the feat-datalake-lru-cache branch August 12, 2025 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants