About the default implementation of writable datasource
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Background
Currently sentinel's datasource is defined as read-write datasource but all the submodules of datasource like `datasource-*` are provided as readonly implementation.
## Problem
It's a common problem or need trying to make a writable implementation paired with the readonly implementation for users. Because they must be paired using same structure or key generating algorithm.
## Personal Proposal
We should put in the missing puzzle into the datasource submodules.
Translation in short:
简短翻译:
当前`Sentinel`的数据源在定义中是读、写数据源但在具体实现扩展包中均为只读数据源。不管出于哪种原因,两类数据源需要在存储结构、键名计算等方面达到一致才可以配对使用(无论是dashboard推还是运维平台推),因此应该有必要在当前具体的数据源子包中做对应的写入数据源实现。
大家可以讨论决定。
Contributor guide
Research direction
Start by reviewing Sentinel's datasource definition and the datasource-* submodules, then compare their existing readonly implementations and storage structure or key-generating algorithms. Done means the relevant datasource subpackages provide corresponding writable implementations that can be paired consistently with the readonly implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100