中级农民
- 积分
- 119
- 大米
- 颗
- 鳄梨
- 个
- 水井
- 尺
- 蓝莓
- 颗
- 萝卜
- 根
- 小米
- 粒
- 学分
- 个
- 注册时间
- 2022-5-21
- 最后登录
- 1970-1-1
|
本帖最后由 stxfd123 于 2024-2-18 18:56 编辑 -baidu 1point3acres
看看面经,复习的时候抓重点, 然后组合。抛砖引玉一下,有可能有错误
api -> schema
server -> stateless or stateful(session or websocket). 1point3acres
db -> schema, sharding, replication, sharding key, hot shard
-> When to use non-sql (Cassandra)
-> when to use s3 bucket
kafka -> topic, partition, consumer group
CDN . 1point3acres.com
load balancer
consistent hashing
bloom filter
snow flake generate unique id.google и
coordinator-> etcd, zookeper (store nodes info, store consistent hashing info)
附近的人和物:
固定: geohash
动态: redis
chat -> (web socket, group chat, multiple devices sync).google и
news feed, -> pull poll model, cache. Χ
booking -> data consistency (lock, distributed transaction, 2pc, saga, idempotent key). Waral dи,
notification system -> (message queue, delivery guarantee, order, duplicate )
monitor system -> (agent mode, non-agent mode, pull or poll, time series db)
ad click aggregator - > (time series db, map reduce, not real time, near real time, late arrving message)
topk -> (redis sorted set, realtime)
payment system -> (ledger, reconciliation, 3rd party integration (webhook), idempotent key)
youtube/netflix -> (CDN, transcoding, DAG, upload, streaming). 1point 3acres
tiny url -> (how to generate unique url)
web crawler -> (politeness, bfs or dfs, ...)
autocompte -> (Trie in memory, or redis...)
flash sales -> (cache, how to update cache and db)
distributed cache -> (consus, gossip protocal, coordinator, memry, disk etc)
考得少的?
blob storage . 1point 3 acres
google docs (有点特别)
digital wallet (event sourcing)
distributed email services |
|