Implement Flexible Cache Configuration Options#8
Open
Vuk7912 wants to merge 5 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement Flexible Cache Configuration Options
Description
Task
Implement cache configuration options
Acceptance Criteria
Summary of Work
Overview
This pull request adds comprehensive, flexible configuration options for the caching mechanism, allowing fine-tuned control over caching behavior in the application.
Changes Implemented
CacheConfiginterface to support more detailed cache configurationcreateCache()function that allows deep customizationKey Features
Configuration Options
stdTTL: Standard time-to-live for cache entries (in seconds)checkperiod: Interval for checking and removing expired keysmaxKeys: Maximum number of keys to store in cacheuseClones: Whether to create clones of stored objectsExample Usage
Validation Improvements
Performance Considerations
Testing
Changes Made
Tests
Signatures
Staking Key
3oBzgQ4y8YtmkxYGkse1fKKefi25twpMKU9BBdsYtjDQ: 4vmvBQYEG9KtNf9AQyaXCVMAX7FYkiohD3CqZpviYHyNNp65fJhi7UepDPcaWiGUF6F9SieHPUcSdKMSzFJVcrhMgVU8xhr4mA67fxT3whhKmvqusZRu5c5wdtsRhEx4wMEQ3JUX5PSZHmEQgXRdE7vk3yq6Sp41Doew298ew1cxoAB55TJyjxKCzG4AZY4RKV7fsVxUdoDDuiQLMRG1G72TTbPRVEZp7DJg1BbVuQt57wXvNn818q7X5f3gq5jNoTToebJGsJCnY4M1dtbZoCmRdN1jKp8p2EGESAKeesbXdAc4DkaD9Q2yDdZdUosmTQiB7VNfKiSY9JAFjQzKWnJ7oZBq3DcL47B67e9XKYGSH3icidRK9GkHdK16uxEkBNkiuJ66boR5EqdJuF6iQi3DobAPvU
Public Key
4WA5vRJLthsg6sJqVc6DQuRkGzvoxZ11SkqzwbqxCo2V: F63xqTfNtiGrTY5ryp1mKBGxEAxvQfF9Shvkz929TzLA1p8YyRQqbhGwzPRy8AfTemKfSyZcqZSwSLrhwiQN7ePxrAQNjBzS1Dd28LaRgxAdUGf67ACtXxRfu3UqFaUNkZ4cT55dbUh9iC75vbcZ4GrXKnCNzpLbHuwQ61bEi2VC7vLLcwr24w7tERKUco3LWXuTGAmSL72h4fEUVnUhDgKKJMhsM99F9RpyKjcpcxaYXM5hTts41TfVhS227sAq5phE4d3PMDgbYhnieC1pZGmMormSoKtYiNBw25pr6PkYSFAt72PEh9nBPPprYJzJLNuNVpn4W5a1XKqqZhQ6r9nfSyPoH7EjcxwfxsrcJhvw6U6fbJCdFypjt52JgzTRSZWYjqVMqupd5TTsTTHY6rLTQGXU44