1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

2766 Commits

Author SHA1 Message Date
guide
9f66ae82de [docs update]完善Java 并发常见面试题总结(下)的内容 2022-12-15 22:42:21 +08:00
guide
696b6d6105 [docs update]精简完善 aqs 的内容 2022-12-15 22:02:20 +08:00
Guide
0c5f2ed756
Merge pull request #1885 from 15168387900/patch-3
Update rpc-intro.md
2022-12-13 20:33:43 +08:00
15168387900
23e7270f51
Update rpc-intro.md 2022-12-13 17:45:58 +08:00
15168387900
ef93cdc15f
Update io-basis.md 2022-12-11 18:36:06 +08:00
NoctisZhao
be91dc00c5
Update redis-questions-01.md
对Redis6.0 多线程的描述有点问题
io-threads-do-reads 并不是开启IO多线程,而是开启IO多线程读

################################ THREADED I/O #################################

# Redis is mostly single threaded, however there are certain threaded
# operations such as UNLINK, slow I/O accesses and other things that are
# performed on side threads.
#
# Now it is also possible to handle Redis clients socket reads and writes
# in different I/O threads. Since especially writing is so slow, normally
# Redis users use pipelining in order to speed up the Redis performances per
# core, and spawn multiple instances in order to scale more. Using I/O
# threads it is possible to easily speedup two times Redis without resorting
# to pipelining nor sharding of the instance.
#
# By default threading is disabled, we suggest enabling it only in machines
# that have at least 4 or more cores, leaving at least one spare core.
# Using more than 8 threads is unlikely to help much. We also recommend using
# threaded I/O only if you actually have performance problems, with Redis
# instances being able to use a quite big percentage of CPU time, otherwise
# there is no point in using this feature.
#
# So for instance if you have a four cores boxes, try to use 2 or 3 I/O
# threads, if you have a 8 cores, try to use 6 threads. In order to
# enable I/O threads use the following configuration directive:
#
# io-threads 4
#
# Setting io-threads to 1 will just use the main thread as usual.
# When I/O threads are enabled, we only use threads for writes, that is
# to thread the write(2) syscall and transfer the client buffers to the
# socket. However it is also possible to enable threading of reads and
# protocol parsing using the following configuration directive, by setting
# it to yes:
#
# io-threads-do-reads no
#
# Usually threading reads doesn't help much.
#
# NOTE 1: This configuration directive cannot be changed at runtime via
# CONFIG SET. Aso this feature currently does not work when SSL is
# enabled.
#
# NOTE 2: If you want to test the Redis speedup using redis-benchmark, make
# sure you also run the benchmark itself in threaded mode, using the
# --threads option to match the number of Redis threads, otherwise you'll not
# be able to notice the improvements.
2022-12-05 12:43:56 +08:00
guide
7ca475434f [docs update]完善redis生产问题的介绍,添加配图 2022-12-03 13:36:18 +08:00
guide
d6957bd534 [docs update]添加 Redis String 类型的底层实现 2022-12-03 11:14:20 +08:00
guide
fe85a93810 Merge branch 'main' of github.com:Snailclimb/JavaGuide 2022-11-22 22:35:38 +08:00
guide
c5aeba84a6 [docs feat]添加图标 2022-11-22 22:32:15 +08:00
Guide
c3b4e411aa
Merge pull request #1876 from shark-ctrl/shark-design
修复 "Bean 的作用域有哪些" 符号问题
2022-11-22 12:38:45 +08:00
guide
5d36223780 [docs update]Paxos 算法笔记完善 2022-11-22 10:42:38 +08:00
fjut_shark
8a371958e8 修复 "Bean 的作用域有哪些" 符号 2022-11-22 09:36:06 +08:00
Guide
831cb7b93c
Merge pull request #1872 from shark-ctrl/shark-chili
修复 "AspectJ 定义的通知类型有哪些?" 排版问题
2022-11-21 22:19:44 +08:00
Guide
cf893aded4
Merge pull request #1870 from dd201702/patch-1
去掉第23行重复的“这个”
2022-11-21 22:10:49 +08:00
fjut_shark
094ad8f06e 修复 "PlatformTransactionManager:事务管理接口" 显示问题 2022-11-20 15:39:42 +08:00
fjut_shark
1d3bcdeab3 修复 "AspectJ 定义的通知类型有哪些?" 排版问题 2022-11-20 14:37:51 +08:00
guide
4132cc2bd4 [docs update]数据库并发一致性问题添加配图帮助理解 2022-11-19 11:48:56 +08:00
dd201702
5c2de369c0
去掉第23行重复的“这个” 2022-11-17 19:41:32 +08:00
guide
c338579e36 [docs update]百度统计 2022-11-16 07:46:27 +08:00
guide
a271e56e63 Merge branch 'main' of github.com:Snailclimb/JavaGuide 2022-11-15 20:25:52 +08:00
guide
c967c44b8b [docs feat]vuepress 主题升级 2022-11-15 20:25:47 +08:00
ZhangYan
7fc17e527f
Update jwt-intro.md 2022-11-14 00:21:16 +08:00
guide
e19fbf4efc [docs update]网站头部目录简化 2022-11-13 16:46:36 +08:00
guide
5fd7825eb4 [docs update]完善jdk序列化的介绍 2022-11-08 10:21:36 +08:00
guide
007604aa03 Merge branch 'main' of github.com:Snailclimb/JavaGuide 2022-11-05 18:24:32 +08:00
guide
e24144ae38 [docs update]优质 Java 开源项目推荐第13期 2022-11-05 18:24:11 +08:00
Guide
17145915d5
Merge pull request #1866 from liubobo1996/main
[docs fix]修正错别字
2022-11-05 18:23:31 +08:00
liubobo
9b4acecf6c
Update spring-knowledge-and-questions-summary.md 2022-11-05 17:01:54 +08:00
guide
4ef01cb501 [docs delete]移除一千行 MySQL 学习笔记 2022-11-04 17:55:58 +08:00
Guide
42fde32973
Merge pull request #1865 from liubobo1996/main
[docs fix]修正错别字和误译
2022-11-04 12:33:54 +08:00
liubobo
70086cb2ad
Update spring-knowledge-and-questions-summary.md 2022-11-04 10:35:01 +08:00
liubobo
7b97007f52
Update spring-knowledge-and-questions-summary.md 2022-11-04 10:15:37 +08:00
Guide
609a990315
Merge pull request #1864 from liubobo1996/main
[docs fix]修正 expire 命令的使用
2022-11-04 09:58:37 +08:00
guide
d8f1606c8a [docs add]add some content to make it more perfect 2022-11-03 23:33:32 +08:00
guide
dd43c8f3cf Update mysql-questions-01.md 2022-11-03 19:39:35 +08:00
guide
1816abea3b [docs update]mysql 索引内容部分描述完善 2022-11-03 18:01:07 +08:00
guide
d145d61f35 [docs update] 数据库读写分离和分库分表内容完善 2022-11-03 13:02:22 +08:00
liubobo
cd9c4e868a
Update redis-questions-01.md 2022-11-02 22:05:23 +08:00
Guide
c50f8bd45c
Merge pull request #1861 from shark-ctrl/shark-chili
修复 "3.3.7 Eden年轻代的介绍" 语句不顺的句子
2022-11-02 10:00:18 +08:00
fjut_shark
370be824dc 修复 "3.3.7 Eden年轻代的介绍" 语句不顺的句子 2022-11-01 21:23:31 +08:00
Guide
b5ac378fd8
Merge pull request #1860 from duangg/patch-1
Create todo.md
2022-11-01 18:24:03 +08:00
Guide
b551392904
Merge pull request #1859 from liubobo1996/main
[docs fix]修正对持久性的翻译
2022-11-01 18:23:42 +08:00
duangg
106c948713
Create todo.md
更正错别字
2022-11-01 12:16:56 +08:00
liubobo
960fa98ab2
Update mysql-questions-01.md 2022-11-01 11:26:31 +08:00
guide
54c38e60f8 Merge branch 'main' of github.com:Snailclimb/JavaGuide 2022-10-31 18:34:48 +08:00
guide
10f7641d58 [docs update]增加对 Redis+Lua 限流方式的介绍 2022-10-31 10:12:58 +08:00
Guide
dfb9a308a8
Merge pull request #1857 from cyunrei/fix_typo
修正 java 8 新特性中 Comparator 接口示例代码变量名的错误
2022-10-30 09:26:00 +08:00
Guide
0c34138041
Merge pull request #1856 from liubobo1996/patch-1
Update operating-system-basic-questions-01.md
2022-10-30 09:14:19 +08:00
Cyunrei
eb3c7e5566 [doc fix]修正 java 8 新特性中 Comparator 接口示例代码变量名的错误 2022-10-28 22:20:46 +08:00