中级农民
- 积分
- 119
- 大米
- 颗
- 鳄梨
- 个
- 水井
- 尺
- 蓝莓
- 颗
- 萝卜
- 根
- 小米
- 粒
- 学分
- 个
- 注册时间
- 2022-5-21
- 最后登录
- 1970-1-1
|
本帖最后由 stxfd123 于 2024-2-18 18:56 编辑 .google и
看看面经,复习的时候抓重点, 然后组合。抛砖引玉一下,有可能有错误
api -> schema. .и
server -> stateless or stateful(session or websocket)
db -> schema, sharding, replication, sharding key, hot shard
-> When to use non-sql (Cassandra)
-> when to use s3 bucket
kafka -> topic, partition, consumer group.google и
CDN
load balancer
consistent hashing
bloom filter
snow flake generate unique id. From 1point 3acres bbs
coordinator-> etcd, zookeper (store nodes info, store consistent hashing info)
附近的人和物:
固定: geohash
动态: redis. From 1point 3acres bbs
chat -> (web socket, group chat, multiple devices sync)
news feed, -> pull poll model, cache
booking -> data consistency (lock, distributed transaction, 2pc, saga, idempotent key)
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)
tiny url -> (how to generate unique url).1point3acres
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
google docs (有点特别)
digital wallet (event sourcing)
distributed email services |
|