Skip to content

Commit 954681c

Browse files
committed
.
1 parent 030ef9e commit 954681c

File tree

6 files changed

+25
-60
lines changed

6 files changed

+25
-60
lines changed

README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -545,24 +545,8 @@ TypeScript
545545
- [More on Functions](/js/typescript/handbook/more-on-functions.md)
546546
- [Object Types](/js/typescript/handbook/type-objects.md)
547547
- [Type Manipulation](/js/typescript/handbook/type-manipulation.md)
548-
- …todo some day…
549-
550-
Package
551-
552-
- **commitlint**: lint commit messages - [commitlint.js.org](https://commitlint.js.org/#/)
553-
- **eslint**: find and fix problems in your JavaScript code - [eslint.org](https://eslint.org/)
554-
- **husky**: modern native Git hooks made easy - [typicode.github.io](https://typicode.github.io/husky/#/)
555-
- **jest**: a delightful JavaScript Testing Framework with a focus on simplicity - [jestjs.io](https://jestjs.io/)
556-
- **lerna**: a tool for managing JavaScript projects with multiple packages - [lerna.js.org](https://lerna.js.org/)
557-
- **lodash**: a modern JavaScript utility library delivering modularity, performance & extras - [lodash.com](https://lodash.com/)
558-
- [nanoid](/js/package/nanoid.md): a tiny (108 bytes), secure, URL-friendly, unique string ID generator
559-
- **next**: React Framework for Production - [nextjs.org](https://nextjs.org/)
560-
- **razzle**: build modern JavaScript applications from zero to production - [razzlejs.org](https://razzlejs.org/)
561-
- **parcel**: zero configuration build tool for XXX - [parceljs.org](https://parceljs.org/)
562-
- **superstruct**: makes it easy to define interfaces and then validate JavaScript data against them - [repo](https://github.com/ianstormtaylor/superstruct)
563-
- other options: zod, [yup](https://github.com/jquense/yup) | npm trends: [yup vs zod vs superstruct](https://www.npmtrends.com/yup-vs-zod-vs-superstruct)
564-
- **zod**: TypeScript-first schema validation with static type inference - [zod.dev](https://zod.dev/) - [repo](https://github.com/colinhacks/zod)
565-
- ……
548+
549+
[Package](/js/package/notes.md)
566550

567551
### ASM & CPP
568552

@@ -761,7 +745,7 @@ Timeline
761745
- **Jan Fan**:
762746
Pythonist / Tencent / Applied Mathematics PhD @ Sweden
763747
- **Johnson Zhang**:
764-
Sina Mobile / Didi / Meituan / BioMind @ Beijing
748+
Sina Mobile / Didi / Meituan / @ Beijing
765749
- [SF Zhou](http://sf-zhou.github.io/):
766750
ACMer / Microsoft / SenseTime / Weixin / High-Flyer Quant @Hangzhou
767751
- **Shiwey Yan**:

cmd/redis/redis-cli.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ Redis Client
44

55
---
66

7-
References
8-
9-
- 9个提升逼格的redis命令 : http://cmsblogs.com/?p=2642
10-
117
## Synopsis
128

139
```bash

cmd/redis/redis-server.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ Redis is an open source (BSD licensed), in-memory data structure store, used as
2121
- `-` Read configuration from stdin.
2222
- `--sentinel` Run in sentinel mode
2323
- `--test-memory megabytes` Run a memory check and exit.
24-
- `--help, -h` Output this help and exit.
25-
- `--version, -v` Output version and exit.
2624

2725
All parameters described in redis.conf file can be passed as command line option, e.g. `--port port`
2826

js/package/notes.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# JS Package Notes
2+
3+
- **commitlint**: lint commit messages - [commitlint.js.org](https://commitlint.js.org/#/)
4+
- **eslint**: find and fix problems in your JavaScript code - [eslint.org](https://eslint.org/)
5+
- **husky**: modern native Git hooks made easy - [typicode.github.io](https://typicode.github.io/husky/#/)
6+
- **jest**: a delightful JavaScript Testing Framework with a focus on simplicity - [jestjs.io](https://jestjs.io/)
7+
- **lerna**: a tool for managing JavaScript projects with multiple packages - [lerna.js.org](https://lerna.js.org/)
8+
- **lodash**: a modern JavaScript utility library delivering modularity, performance & extras - [lodash.com](https://lodash.com/)
9+
- [nanoid](/js/package/nanoid.md): a tiny (108 bytes), secure, URL-friendly, unique string ID generator
10+
- **next**: React Framework for Production - [nextjs.org](https://nextjs.org/)
11+
- **razzle**: build modern JavaScript applications from zero to production - [razzlejs.org](https://razzlejs.org/)
12+
- **parcel**: zero configuration build tool for XXX - [parceljs.org](https://parceljs.org/)
13+
- **superstruct**: makes it easy to define interfaces and then validate JavaScript data against them - [repo](https://github.com/ianstormtaylor/superstruct)
14+
- other options: zod, [yup](https://github.com/jquense/yup) | npm trends: [yup vs zod vs superstruct](https://www.npmtrends.com/yup-vs-zod-vs-superstruct)
15+
- **zod**: TypeScript-first schema validation with static type inference - [zod.dev](https://zod.dev/) - [repo](https://github.com/colinhacks/zod)

snip/redis/basics.md

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,17 @@ References
88

99
- Home Page : https://redis.io
1010
- Introduce : https://redis.io/topics/introduction
11-
- _Clients_ : https://redis.io/clients
1211
- Commands : https://redis.io/commands
1312
- Documentation : https://redis.io/documentation
14-
- _Download_ : https://redis.io/download
1513
- Others
16-
- ZH Docs : http://redisdoc.com
17-
- 基本原理和方案设计
18-
- **Redis 深度历险:核心原理与应用实践** : https://juejin.im/book/5afc2e5f6fb9a07a9b362527 ( 推荐 )
1914
- 容量评估
2015
- **Redis 容量预估** - 极数云舟 : http://www.redis.cn/redis_memory/
2116
- Redis 容量评估模型 - 腾讯游戏学院 : https://gameinstitute.qq.com/community/detail/114987
2217
- Redis 6.0 多线程 IO 处理过程详解 - 知乎专栏 : https://zhuanlan.zhihu.com/p/144805500
2318

2419
## Intro
2520

26-
Reference
27-
28-
- Introduce : https://redis.io/topics/introduction
29-
30-
Redis is an _open source ( BSD licensed ) ,_ **in-memory data structure store**, **used as a database, cache and message broker**.
21+
Redis is an **in-memory data structure store**, **used as a database, cache and message broker**.
3122

3223
- It supports **data structures** such as [strings](https://redis.io/topics/data-types-intro#strings), [hashes](https://redis.io/topics/data-types-intro#hashes), [lists](https://redis.io/topics/data-types-intro#lists), [sets](https://redis.io/topics/data-types-intro#sets), [sorted sets](https://redis.io/topics/data-types-intro#sorted-sets) with range queries, [bitmaps](https://redis.io/topics/data-types-intro#bitmaps), [hyperloglogs](https://redis.io/topics/data-types-intro#hyperloglogs), [geospatial indexes](https://redis.io/commands/geoadd) with radius queries and [streams](https://redis.io/topics/streams-intro).
3324
- Redis has built-in [replication](https://redis.io/topics/replication), [Lua scripting](https://redis.io/commands/eval), [LRU eviction](https://redis.io/topics/lru-cache), [transactions](https://redis.io/topics/transactions) and different levels of [on-disk persistence](https://redis.io/topics/persistence), and provides high availability via [Redis Sentinel](https://redis.io/topics/sentinel) and automatic partitioning with [Redis Cluster](https://redis.io/topics/cluster-tutorial).
@@ -41,11 +32,9 @@ You can run **atomic operations** on these types, like
4132
- or [getting the member with highest ranking in a sorted set](https://redis.io/commands/zrangebyscore).
4233

4334
In order to achieve its outstanding performance, Redis works with an **in-memory dataset**.
35+
Depending on your use case, you can **persist it either by** [dumping the dataset to disk](https://redis.io/topics/persistence#snapshotting) every once in a while, or by [appending each command](https://redis.io/topics/persistence#append-only-file) to a log.
4436

45-
- Depending on your use case, you can **persist it either by** [dumping the dataset to disk](https://redis.io/topics/persistence#snapshotting) every once in a while, or by [appending each command](https://redis.io/topics/persistence#append-only-file) to a log.
46-
- _Persistence can be optionally disabled, if you just need a feature-rich, networked, in-memory cache._
47-
48-
Redis also supports trivial-to-setup ( 微不足道的设置 ) [master-slave asynchronous replication](https://redis.io/topics/replication), with very fast non-blocking first synchronization, auto-reconnection with partial resynchronization on net split.
37+
Redis also supports trivial-to-setup ( 琐碎的设置 ) [master-slave asynchronous replication](https://redis.io/topics/replication), with very fast non-blocking first synchronization, auto-reconnection with partial resynchronization on net split.
4938

5039
Other features include:
5140

@@ -56,33 +45,18 @@ Other features include:
5645
- [LRU eviction of keys](https://redis.io/topics/lru-cache)
5746
- [Automatic failover](https://redis.io/topics/sentinel)
5847

59-
_You can use Redis from [most programming languages](https://redis.io/clients) out there._
60-
61-
Redis is written in **ANSI C** _and works in most POSIX systems like Linux, \*BSD, macOS without external dependencies._
62-
63-
- Linux and macOS are the two operating systems where Redis is developed and tested the most, and we **recommend using Linux for deploying**.
64-
- _Redis may work in Solaris-derived systems like SmartOS, but the support is best effort._
65-
- _There is no official support for Windows builds._
66-
6748
## Documentation
6849

6950
Reference
7051

7152
- Documentation : https://redis.io/documentation
7253

73-
Note :
74-
75-
- The Redis Documentation is also available in raw (computer friendly) format in the redis-doc github repository.
76-
- The Redis Documentation is released under the Creative Commons Attribution-ShareAlike 4.0 International license.
77-
7854
### Programming with Redis
7955

80-
- \_[The full list of commands](https://redis.io/commands)
81-
- implemented by Redis, along with thorough documentation for each of them.\_
8256
- [Pipelining](https://redis.io/topics/pipelining)
8357
- Learn how to **send multiple commands at once, saving on round trip time.**
8458
- [Redis Pub/Sub](https://redis.io/topics/pubsub)
85-
- Redis is a **fast and stable Publish/Subscribe messaging system!** Check it out.
59+
- Redis is a **fast and stable Publish/Subscribe messaging system!**
8660
- [Redis Lua scripting](https://redis.io/commands/eval)
8761
- Redis Lua scripting feature documentation.
8862
- [Debugging Lua scripts](https://redis.io/topics/ldb)
@@ -243,19 +217,19 @@ Omited…
243217

244218
- See [Redis Usage](redis-usage.md)
245219

246-
## Redis 6.0 多线程 IO 处理
220+
# Redis 6.0 多线程 IO 处理
247221

248222
Reference
249223

250224
- Redis 6.0 多线程 IO 处理过程详解 - 知乎专栏 : https://zhuanlan.zhihu.com/p/144805500
251225

252226
解释暂略, 详见原文
253227

254-
### 单线程 IO 处理过程
228+
## 单线程 IO 处理过程
255229

256230
![redis-single-thread-process.jpg](_image/redis-single-thread-process.jpg)
257231

258-
### 多线程 IO 处理过程
232+
## 多线程 IO 处理过程
259233

260234
![redis-multiple-threads-process.jpg](_image/redis-multiple-threads-process.jpg)
261235

snip/redis/key-notes.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ Redis: **RE**mote **DI**ctionary **S**erver
99
- [Redis 深度历险 : 核心原理与应用实践](https://juejin.im/book/5afc2e5f6fb9a07a9b362527)
1010
- [Redis.io](https://redis.io)
1111
- [Introduce](https://redis.io/topics/introduction)
12-
- _[Clients](https://redis.io/clients)_
1312
- [Commands](https://redis.io/commands)
1413
- [Documentation](https://redis.io/documentation)
15-
- _[Download](https://redis.io/download)_
1614
- [Redis.cn](http://redis.cn): 中文文档
1715
- 容量评估
1816
- **[Redis 容量预估 - 极数云舟](http://www.redis.cn/redis_memory/)**

0 commit comments

Comments
 (0)