1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-08-01 16:28:03 +08:00

[docs update]添加几个Redis相关的开源工具

This commit is contained in:
Guide 2024-04-15 17:38:58 +08:00
parent 467bbef465
commit b6cdf6dd3a
2 changed files with 4 additions and 2 deletions

View File

@ -342,7 +342,7 @@ public static class CallerRunsPolicy implements RejectedExecutionHandler {
}
```
### 如果不允许丢弃任务任务,应该选择哪个拒绝策略
### 如果不允许丢弃任务任务,应该选择哪个拒绝策略
根据上面对线程池拒绝策略的介绍,相信大家很容易能够得出答案是:`CallerRunsPolicy`
@ -368,7 +368,7 @@ public static class CallerRunsPolicy implements RejectedExecutionHandler {
### CallerRunsPolicy 拒绝策略有什么风险?如何解决?
我们上面也提到了:如果想要保证任何一个任务请求都要被执行的话,那选择 CallerRunsPolicy 拒绝策略更合适一些。
我们上面也提到了:如果想要保证任何一个任务请求都要被执行的话,那选择 `CallerRunsPolicy` 拒绝策略更合适一些。
不过,如果走到`CallerRunsPolicy`的任务是个非常耗时的任务,且处理提交任务的线程是主线程,可能会导致主线程阻塞,影响程序的正常运行。

View File

@ -42,6 +42,8 @@ icon: tool
- [Another Redis Desktop Manager](https://github.com/qishibo/AnotherRedisDesktopManager/blob/master/README.zh-CN.md):更快、更好、更稳定的 Redis 桌面(GUI)管理客户端,兼容 Windows、Mac、Linux。
- [Tiny RDM](https://github.com/tiny-craft/tiny-rdm):一个更现代化的 Redis 桌面(GUI)管理客户端,基于 Webview2兼容 Windows、Mac、Linux。
- [Redis Manager](https://github.com/ngbdf/redis-manager)Redis 一站式管理平台支持集群cluster、master-replica、sentinel的监控、安装除 sentinel、管理、告警以及基本的数据操作功能。
- [CacheCloud](https://github.com/sohutv/cachecloud):一个 Redis 云管理平台,支持 Redis 多种架构(Standalone、Sentinel、Cluster)高效管理、有效降低大规模 Redis 运维成本,提升资源管控能力和利用率。
- [RedisShake](https://github.com/tair-opensource/RedisShake):一个用于处理和迁移 Redis 数据的工具。
## Docker