注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
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?
|