摘要: CREATED 2021 11 13 12:15PM Single-Leader replication 集群中有一个leader节点和多个follower节点,写操作都必须经过leader节点完成,读操作则都可以处理。 同步复制 (Synchronous Replication) 数据在副本上落盘 阅读全文
posted @ 2021-11-14 05:46 YBgnAW 阅读(128) 评论(0) 推荐(0)
摘要: CREATED 2021/11/09 19:40 Functional Requirements Infra Search Service Ticket Transaction Service Payment Service Dataflows Search a movie zip code (co 阅读全文
posted @ 2021-11-12 11:52 YBgnAW 阅读(71) 评论(0) 推荐(0)
摘要: CREATED 2021/11/08 22:16 PM Redis How Redis deletes expired keys Redis does 10 times per second: 1 Test 20 random keys from the set of keys with an as 阅读全文
posted @ 2021-11-09 14:21 YBgnAW 阅读(80) 评论(0) 推荐(0)
摘要: Fast Path (like 1 minute, 5 minutes) Use a count-min sketch algorithm (Counting frequency by using multiple hash functions) and aggregates data for a 阅读全文
posted @ 2021-11-09 14:02 YBgnAW 阅读(210) 评论(0) 推荐(0)
摘要: CREATED: 2021/10/21 22:49 1) Distributed file system2) Web socket3) Collaboration subsystem4) Operational Transform5) CRDT 以上几点技术 有比较常见的到很专门用于协同操作的技术 阅读全文
posted @ 2021-10-22 13:50 YBgnAW 阅读(217) 评论(0) 推荐(0)
摘要: CREATED 2021/09/15 22:15 Design Tiny URL System Functional requirements 1. URL shortening: given a long url, return a short url 2. URL redirecting: gi 阅读全文
posted @ 2021-09-16 13:23 YBgnAW 阅读(381) 评论(0) 推荐(0)
摘要: CREATED 2021/09/13 22:10 PM Basic Requirements put(K,V) or put(K,V,timestamp) get(K) size of K-V pair is very small, less than 10KB. Choose AP or CP B 阅读全文
posted @ 2021-09-14 13:49 YBgnAW 阅读(128) 评论(0) 推荐(0)
摘要: CREATED 2021/08/17 23:13:39 MODIFIED 2021/12/01 21:27:00 Kafka Apache Kafka is a publish-subscribe based durable messaging system. A messaging system 阅读全文
posted @ 2021-08-27 14:58 YBgnAW 阅读(93) 评论(0) 推荐(0)
摘要: 2021/08/03 Node with template T or <K,V> template <class T> struct Node { T value; Node* left; Node* right; Node(T x) { value = x;left = right = NULL; 阅读全文
posted @ 2021-08-04 15:08 YBgnAW 阅读(32) 评论(0) 推荐(0)
摘要: Created in 2021-06-01 23:20 A record AND CNAME The A record points a name to a specific IP. The CNAME record points a name to another name instead of 阅读全文
posted @ 2021-06-02 14:23 YBgnAW 阅读(47) 评论(0) 推荐(0)