What did you do at your previous job? Tell an interesting case.
Python
Have you participated in solving algorithmic problems?
Have you used request rate limiting in FastAPI?
How did you interact with internal systems and tools in your previous job?
What is the role of indexes in a database and how do they help speed up query execution?
Design a service on FastAPI: it receives a trigger on a schedule, processes PDF documents from Kafka (OCR, entity extraction), and saves the text + entities in Postgres. How would you design the structure?
What indices should be applied to the users table based on the written queries?
Name the basic hierarchy of exceptions in Python. Where does it all start?
Could you tell me what you usually do in your work?
Are you familiar with multi-agent systems?
How does garbage collection work in Python?
Write functions multiplier and minuser (closures).
Analyze the following Python code that uses threading to increment a counter variable: ```python import threading import time counter = 0 def increment(): global counter for _ in range(100000): current = counter counter = current + 1 thread1 = threading.Thread(target=increment) thread2 = threading.Thread(target=increment) thread1.start() thread2.start() thread1.join() thread2.join() print(f"Итоговое значение счетчика: {counter}") ``` Explain what the expected output is and discuss any potential issues with this code when using threads.
Can you explain the concept of microservices architecture and its main features?
Tell me freely, what have you been doing, and what interesting things from your experience?
Have you had experience with multithreading in Python and how did you implement parallel task execution?
How to measure the quality of RAG-system responses if we cannot physically test all use cases and are not experts in the domain?
How to run synchronous blocking code (for example, a 1-second computation) in FastAPI on a route without blocking the EventLoop?
Can you explain what list comprehension in Python is and how it is used?
Why do tuples use less memory than lists?