alibaba / alibaba/jetcache

后续会不会添加 LOCAL, BOTH 当更新redis里面的缓存的时候,同时更新LOCAL

Open
#642 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
5.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Suppose I have two applications running:

  1. When I specify cachetype = local, only the cache of the specified machine is updated, and the other machine is not updated.

  2. When I specified cachetype = both, only the cache of the specified machine was updated, and the other machine was not updated.

Will you consider adding a new feture? When updating the cache, whether local, both or cache can be updated at the same time

thanks.


假设我应用程序运行两台:
1、当我指定CacheType=LOCAL的时候,只是当时指定的机器cache更新了,另外一台没有更新。
2、当我指定CacheType=BOTH的时候,只是当时指定的机器cache更新了,另外一台没有更新。

后续会考虑添加一个新的feture,当更新缓存的时候不管是LOCAL, BOTH,cache 都能同时更新

感谢。

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 tracing how CacheType=LOCAL and CacheType=BOTH handle updates across the local cache and Redis in a two-application deployment. Clarify the intended cross-instance invalidation or update semantics, then identify how completion would be tested for both applications receiving the same cache change.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, redis
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.