回复: 3
跳转到指定楼层
上一主题 下一主题
收起左侧

Karat System design question 总结

🔗
匿名用户-2G0JF  2025-3-17 14:59:17 |倒序浏览

2025(1-3月) 码农类General 硕士 全职@rokt - 网上海投 - 技术电面  | 😃 Positive 😐 Average | Pass | 在职跳槽

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
  • Multiple servers uploading and streaming music and load is distributed using consistent hashing based on the number of files on each server equally. Any concerns ?(Follow-up: How would you improve this system ?)
  • What are the estimation required in next 6 months for a system which accepts web URLS from users, parses them and derives information using machine learning models ?
  • How to handle a large file that cannot fit on a single machine ?
  • What changes would you make to the system when your app is going from single country to multiple countries internationally ?
  • What are advantages and disadvantages of pre-loading hints vs loading from the server for a puzzle game ?
  • Table User with userInfo and another table User_Relationship with columns as User1 ( Indexed ) and User2 ( Indexed ) and relationship ( with values as Friend ). The User_Relationship could be bi-directional so i.e., if A is friend of B then USER_Relationship table can have it as A, B, Friend as a row or B,A, Friend. How do you find a good scalable solution to find count of friends for a given user
  • There are notifications sent out for documents upon they are signed by the users. The documents are in millions and we have the document ids in the table. However there are failed notifications and due to system issue they are not even captured on the logs. Only the sent notifications are logged. How do you scale the solution to identify all the failed notifications.
  • Google document sharing application has a round robin scheme of serving by the load balancer. Do you foresee any issue? If so how do you overcome it?
  • There is a graph of node capabilities across various nodes and will have to identify the throughput of the entire system through the nodes.
  • In what cases do you choose strong consistency vs eventual consistency and there are 3 scenarios
       
        a. In case of banking application where there are deposits and payments
       
        b. Metadata retrieval for media streaming
       
        c. Data analytics for # of viewers etc
       
  • If you are building a music streaming service such as Spotify or Apple Music - would you deploy it on a single server or multiple servers? pros and cons of either approach?
  • There is a new kind of game machine, which users can retrieve left credits from previous play, or connect to credit cards, to play a new game. Say now there are 100,000 machines setup globally, what would be the concerns on such system?
  • Now consider you are building a log query and analysis system for a search engine, what's the needed info to estimate the number of self-maintained servers for next year?
  • If you are building a web-based password validation system, with some password restrictions (such as English characters only, 8-16 length, at least 1 upper, 1 lower, 1 symbol) - what would be your concern on building such system?
  • Web service running slow, why & solution?
  • Design an internal controller for a refrigerator with no networking involved. (OOP 你考虑一下冰箱怎么管理里面的温度,湿度,电源)
  • Analytic system 不稳定, 由于上游的数据返回的不稳定如何克服?(ETL pipeline, airflow)
  • 视频共享系统升级来handle 未来不断增加的流量,预算需要考虑哪些因素
  • 如何降低一个短视频共享服务(类似snap)的server cluster 费用
  • 一个菜谱网站基于central database,现在网站突然popular 了,访问变慢了,你要怎么办?
  • 一个体育数据网站,从第三方API 拉数据,现在某个API 不稳定,你要怎么做?(API 都是unique 的且不可替代)
  • 一个freezer 生产商,之前冰箱的数据都通过网络传到服务器做处理,现在要用一个内置的不联网的micro-controller 替代,问你要考虑些什么因素。
  • 一个视频分享网站,用户可以上传1min 的视频分享,视频有有效期,过期就删除。问需要哪些数据才能帮助你预测明年的cost。
  • 一个针对儿童的app,主要功能是生产animation,有自己的server farm,每个请求都需要去server farm 里process 一段时间。问你有什么方法可以降低cost
  • I was given a CPU and RAM usage graph of a process and was asked to debug if there's any issue and what that issue could be and how would I solve that. I observed that the CPU was constant but the RAM was increasing linearly. I told that there could be some memory leak in the process. It could be because of resource not closed properly and hence the GC was not able to clear them. I told that I would capture the heap dump to analyse further.
  • There is a multi threaded application which is seeing that the threads are not sufficient. I was asked how would I debug this? I said that I would capture a thread dump to see if the threads are blocked on some operations or if there's a deadlock scenario.
  • There's a service which is handle 1 RPS traffic. How would I find out if the service can handle 1000 RPS? I said that I would take a host which has the same specs of the hosts in production and use a load generating tool like jmeter and stress out the host to see the maximum requests it could handle per second with in the thresholds of CPU and RAM. I would take that number and multiple with the total number of hosts available in Prod to find out the scale in Prod.
  • What is the difference between composition and inheritance. Can you state some usecase where you use them?

评分

参与人数 2大米 +6 收起 理由
WantBetterLife + 1 very useful
匿名用户-ZWDJQ + 5 欢迎分享你知道的情况,会给更多大米奖励!

查看全部评分


上一篇:签字网店面面经
下一篇:亚麻 新鲜面经 SDE OA
🔗
Syd_SWE 2025-3-23 16:53:24 | 只看该作者
全局:
想问楼主,这个是Rokt System Design会问到的问题吗
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-2G0JF  2025-4-16 08:33:08
Syd_SWE 发表于 2025-3-23 18:53
想问楼主,这个是Rokt System Design会问到的问题吗

不好意思, 我tag放错了,这个和rokt没关系。。。
回复

使用道具 举报

全局:
very useful
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-0NG6S  2026-4-22 00:22:48
这种 system design 问题常见吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表