Roblox 系统设计面试真题:Design a Favorites System(百万 QPS 收藏系统设计)

本次分享一道 Roblox 的 System Design 面试真题。对于正在准备 Roblox VO / Final Round 的同学,这道题具有很高的参考价值。

Original Interview Question

Roblox has a marketplace with millions of items for sale. For each item, users can choose to flag it as a favorite (similar to Like or Bookmark). An item which is flagged can be un-flagged.

Design a system which is able to show the number of favorites each item has.

User Stories:

  • Check if an item is favorited by the current user (1M QPS).
  • Flag/unflag an item as a favorite (100K QPS).
  • Get the total favorite count of an item (1M QPS).
  • Extra: Get the list of items that a user has favorited (50K QPS).

面试考察重点

这道题表面上是一个简单的收藏功能,实际要求系统承载每秒超过200万次请求,涉及分布式存储、热点 Key、计数器设计、数据一致性以及高并发读写等问题。

对于没有针对性准备的候选人,即使熟悉 Redis、Kafka 等技术,也很容易在面试官的深入追问中陷入被动。

Roblox 面试辅导

CSOAHelp 长期服务北美科技公司的求职者,积累了大量实际面试经验及一手面试题目。本次分享的 Roblox 题目附有原始英文题目截图,包括具体的业务需求及 QPS 指标。

我们提供针对 Roblox OA、VO、Coding、System Design、BQ 等不同面试轮次的专项辅导,并结合已有真题和实际服务经验,帮助候选人进行针对性准备。

如果你近期收到了 Roblox 的面试邀请,欢迎提前联系我们,获取相关真题及专属面试辅导方案。

我们也有代面试,面试辅助,OA代写等服务助您早日上岸~

Leave a Reply

Your email address will not be published. Required fields are marked *