8000 Feature request: Change the default TTL (cache) to 5 minutes in the Parameters utility · Issue #4193 · aws-powertools/powertools-lambda-python · GitHub
[go: up one dir, main page]

Skip to content
Feature request: Change the default TTL (cache) to 5 minutes in the Parameters utility #4193
Closed
@leandrodamascena

Description

@leandrodamascena

Use case

When using the Parameters utility, customers can leverage caching to minimize API calls. The default cache TTL is 5 seconds, after which Powertools expires the cache and if the parameter value is required inside the Lambda handler, a new API call may be triggered.

We suggest increasing this value to 300 seconds (5 minutes) to avoid spikes in a highly intensive workload.

Solution/User Experience

Increase the default TTL value to 300 seconds (5 minutes).

Alternative solutions

No response

Acknowledgment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestfeature requestparametersParameters utilityv3Features that will be included in Powertools v3.

    Type

    No type

    Projects

    Status

    Shipped

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0