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

31 Commits

Author SHA1 Message Date
callmePicacho
5b371f6700
Update redis-questions-01.md
fix typo
2023-03-02 22:49:16 +08:00
Guide
3e8b402cc7 [docs update]完善类加载器详解(重点) 2023-02-28 16:18:55 +08:00
Guide
1b52a03cb4 [docs add] Elasticsearch常见面试题总结 2023-01-29 11:31:13 +08:00
guide
c1c66096b9 [docs add] nosql + mongodb 2023-01-12 17:46:41 +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
d6957bd534 [docs update]添加 Redis String 类型的底层实现 2022-12-03 11:14:20 +08:00
guide
4ef01cb501 [docs delete]移除一千行 MySQL 学习笔记 2022-11-04 17:55:58 +08:00
liubobo
cd9c4e868a
Update redis-questions-01.md 2022-11-02 22:05:23 +08:00
guide
ce28705dab [docs update]开源项目推荐 2022-09-25 19:15:34 +08:00
guide
40bc9bbcc8 2022-09-20 2022-09-20 17:48:16 +08:00
guide
eb674478e3 Update redis-questions-01.md 2022-09-14 16:22:29 +08:00
guide
5e4e6c7444 Update redis-questions-01.md 2022-09-09 13:56:58 +08:00
guide
d349c7e36a [docs update]redis 2022-08-31 11:15:15 +08:00
guide
066a24755b [docs improve] redis 线程模型&持久化机制 2022-08-24 18:10:02 +08:00
guide
737585ba88 [docs update]操作系统面试题 2022-08-22 13:32:09 +08:00
guide
8f72d69440 [docs improve]redis部分图片重新绘制 2022-08-21 20:53:45 +08:00
guide
dffc5dd94a [docs update]Java并发部分内容重构完善 2022-08-04 21:00:03 +08:00
guide
c6bf96e3a5 [docs add ]Redis 3 种特殊数据结构详解 2022-07-21 20:46:40 +08:00
guide
a77eb04740 [docs update]redis 内容拆分&数据结构部分内容完善 2022-07-20 22:27:00 +08:00
guide
e7b6ee630c [docs update]redis数据结构面试题完善 2022-07-20 16:24:50 +08:00
guide
6d4586a62e [docs update]redis数据类型分为2篇 2022-07-20 15:08:15 +08:00
guide
eaf56cbe49 [docs update]redis 数据结构完善 2022-07-18 18:43:07 +08:00
guide
a600b8d8ca [docs improve]seo优化&文章标题优化 2022-07-18 09:24:18 +08:00
guide
4e050ae6f4 [docs fix]链接错误 2022-05-16 22:03:07 +08:00
guide
c03001a1ab [docs improve]Redis 内容完善 2022-05-14 11:31:58 +08:00
guide
243743e381 [docs update]图片地址更换 2022-04-09 19:48:32 +08:00
guide
5a5f8ccb3b [docs feat]vuepress主题更新 2022-03-03 09:14:56 +08:00
hujesse83
cdfc475549 修复 字体加粗失效问题 2022-02-28 17:19:32 +08:00
yueyang
d1510451df
修复错别字
显示地 -> 显式地
2022-02-17 17:52:11 +08:00
sam
cc6ac9d820 fix typo: Memecache -> Memcached 2022-02-14 17:00:43 +08:00
guide
9c8b3a017a [docs fix]文件名规范 2022-02-08 22:19:29 +08:00