GeezerVison is showing github.com — fix: update redis-production-environment.md · tm4113/advanced-java@7066665
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
11 | 11 | [](https://github.com/doocs/advanced-java) |
12 | 12 | [](/docs/extra-page/rights-defending-action.md) |
13 | 13 | [](#公众号) |
14 | | -[](https://github.com/doocs/leetcode) |
| 14 | +[](https://github.com/doocs/leetcode) |
15 | 15 |
|
16 | 16 |
|
17 | 17 | 本项目大部分内容来自中华石杉,版权归作者所有,内容涵盖[高并发](#高并发架构)、[分布式](#分布式系统)、[高可用](#高可用架构)、[微服务](#微服务架构)、[海量数据处理](#海量数据处理)等领域知识。[我](https://github.com/yanglbme)对这部分知识做了一个系统的整理,方便学习查阅。 |
@@ -192,7 +192,7 @@ Doocs 技术社区,致力于打造一个内容完整、持续成长的互联 |
192 | 192 |
|
193 | 193 | <!-- ALL-CONTRIBUTORS-LIST: START - Do not remove or modify this section --> |
194 | 194 |
|
195 | | -<a href="https://opencollective.com/doocs/contributors.svg?width=890&button=true"><img src="https://opencollective.com/doocs/contributors.svg?width=890&button=false" /></a> |
| 195 | +<a href="https://opencollective.com/doocs/contributors.svg?width=890&button=true"><img src="https://opencollective.com/doocs/contributors.svg?width=1080&button=false" /></a> |
196 | 196 |
|
197 | 197 | <!-- ALL-CONTRIBUTORS-LIST: END --> |
198 | 198 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: docs/high-concurrency/redis-production-environment.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
9 | 9 |
|
10 | 10 | ## 面试题剖析 |
11 | 11 |
|
12 | | -Redis cluster,10 台机器,5 台机器部署了 Redis 主实例,另外 5 台机器部署了 Redis 的从实例,每个主实例挂了一个从实例,5 个节点对外提供读写服务,每个节点的读写高峰qps可能可以达到每秒 5 万,5 台机器最多是 25 万读写请求/s。 |
| 12 | +Redis cluster,10 台机器,5 台机器部署了 Redis 主实例,另外 5 台机器部署了 Redis 的从实例,每个主实例挂了一个从实例,5 个节点对外提供读写服务,每个节点的读写高峰 QPS 可能可以达到每秒 5 万,5 台机器最多是 25 万读写请求每秒。 |
13 | 13 |
|
14 | | -机器是什么配置?32G 内存+ 8 核 CPU + 1T 磁盘,但是分配给 Redis 进程的是10g内存,一般线上生产环境,Redis 的内存尽量不要超过 10g,超过 10g 可能会有问题。 |
| 14 | +机器是什么配置?32G 内存+ 8 核 CPU + 1T 磁盘,但是分配给 Redis 进程的是 10g 内存,一般线上生产环境,Redis 的内存尽量不要超过 10g,超过 10g 可能会有问题。 |
15 | 15 |
|
16 | 16 | 5 台机器对外提供读写,一共有 50g 内存。 |
17 | 17 |
|
|