TencentBlueKing / TencentBlueKing/iam-java-sdk

feat: 本地缓存直接鉴权结果

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

Nobody has claimed this yet.

Dominant language
Java
Stars
1
Forks
5
Avg merge
1h 43m
Merged PRs (30d)
1

Description

rbac模式直接鉴权调用频繁,但是结果大多数是一样的,导致服务端的请求量很大,希望能够在sdk中缓存1分钟,减少无效的请求

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.

Research direction

Start by locating the SDK entry point used for frequent RBAC authorization calls and review how those requests are currently made. Define completion as reusing an authorization result for one minute while ensuring results expire and subsequent calls can reach the server again; add or update tests for cache reuse and expiry.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.