client: java: Expose refresh jitter as a config

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api, performance

Research direction

The issue concerns the Java client’s cache TTL and refresh behavior, but it names no files or tests. Locate the TTL configuration and refresh path, then trace how the default 30-minute jitter is applied. Done means the jitter can be configured and relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Description

enhancement good first issue

As of now there is no jitter when the cache ttl config is set.
When using the default ttl config the jitter is of 30 mins.
This should be exposed as a config so that it can be set to reduce request spikes on the stencil server side.

Dominant language
Go
Stars
237
Forks
42
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raystack/stencil

All issues in raystack/stencil

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.