Python
简单
面试题库
Python
中等
Python 服务如何设计进程内 + Redis + CDN 的多级缓存架构?
Python
困难
Python 服务中 Redis 热 key 与 big key 如何识别与治理?
Python
困难
Python 中如何用互斥锁防止缓存击穿,避免大量请求同时回源?
Python
中等
Python 服务更新数据时,更新数据库与删除缓存的顺序如何选择?
Python
中等
Python 后端如何用 Redis 实现按用户维度的分布式限流并避免竞态?
Python
简单
Python 服务写 Redis 缓存时,pickle、json、msgpack 如何选择?
Python
中等
Python 中如何用 cachetools 实现带 TTL 与容量限制的缓存?
Python
简单
Python 中 functools.lru_cache 的适用边界是什么?哪些场景不能用?
Python
中等
Python 后端如何用本地缓存与 Redis 双层缓存解决穿透、击穿、雪崩?
Python
困难
Python 中如何用 aiokafka 构建 asyncio 异步 Kafka 消费者?
Python
困难