Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz6chez committed Sep 15, 2023
1 parent 8876064 commit aefc98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
- shared-cache是基于APCu的本地缓存,它的底层是带有锁的MMAP共享内存;
- Redis和Memcache本质上是“分布式”缓存系统/K-V数据库,存在网络IO;
- shared-cache没有持久化,同时也无法实现“分布式”,仅可用于本地的多进程环境(进程需要有亲缘关系);
- shared-cache是ns级别的缓存,redis是ms级别的缓存;
- shared-cache是微妙μs级别的缓存,redis是ms级别的缓存;
- 网络IO存在内核态和用户态的多次拷贝,存在较大的延迟,共享内存不存在这样的问题;

### 2. 它的使用场景
Expand Down

0 comments on commit aefc98b

Please sign in to comment.