OCR API processes one document in 2 seconds, while processing takes 1 CPU core and 3.5-4 GB RAM. The server has 20 cores and 64 GB RAM. How to calculate safe throughput?
Банк вопросов из реальных собеседований
Направления, темы и вопросы из записей интервью. Фильтры ниже сохраняются в ссылке.
Product cases
72 questions from real interviews
For a FastAPI-backed LLM product, when would you use Postgres, ClickHouse and Redis?
What commands can you use to check files, logs, processes, resources, port, and system service when an application crashes?
How do merge and rebase combine the history of branches, how do their effects differ, and when is it safe to apply each method?
The panel should show CTR by minute, five-minute and hourly windows. How to design API and aggregate storage?
On review you see a test that only checks HTTP 200. What's wrong with it and how can you make the check useful?
How to solve a cold start for a new user in the recommendation feed? When to use popularity, user-based, item-based, and content-based approaches?
What is important when running a CV model on an edge device or VR headset?
How do dropout and BatchNorm behave in train vs inference, and what can go wrong when fine-tuning a network with small batches or multi-GPU training?
Kafka topic has 10 partitions and 100 tasks: 90 tasks of 90 ms each and 10 tasks of 1 s each. Tasks are distributed evenly across partitions, and within the partition the order is consistent. How to estimate the best/worst completion time for 1, 10 and 20 consumers?
How does LightFM help cold start and when do bandits appear in recommendations?
OCR recognized the text on the sign. How to understand which organization it corresponds to and when the result can be published?
The team is developing a multimodal model for search and product like neuro-responses. Which use cases should be chosen and how to prioritize?
What does a “representative photo” mean for an organization in a geo-product and how to select such a photo automatically?
What if a business change was recorded in the database and the event in Kafka did not go?
The product may have several photos: general appearance, details, different angles. How to get a sustainable view of the product for search by photo?
How to build a service that generates a presentation and PDF by text query?
What boundary cases should be considered if the LRU cache stores arbitrary user values?
There are two identical heterogeneous ropes. Each burns completely in 60 minutes, but the burning rate along the length is unknown. There is a lighter. How to measure 45 minutes?
The user uploads a photo of the product. When is it enough to select an object with a limiting frame, and when is it necessary to search for an exact segmentation?
The user again sent a request to replenish the balance. How to make endpoint idempotent?
How does Redis process commands, and why are individual commands usually atomic from a client perspective?
How to adapt the existing model to new tasks? What options would you consider and what does the choice depend on?
The agent generates presentations/tables/documents. How to store versions of model files and support rollback/editing?