System design: ML service with a Predict endpoint (60 seconds to respond). How to scale? Draw a diagram.
Python
Is Python commutative? Does anything change with the permutation of addends?
How to exchange data between processes in Python?
Could you explain how to improve query performance when using Django ORM?
We have a FastAPI application with an app event shutdown implemented with some logic. If we kill the application with -9 (kill -9), will the shutdown be executed?
What problems can occur when transferring a file between servers? What should be paid attention to?
What mechanisms of inter-process communication (IPC) exist in Linux?
Do you have experience working with the Apache Airflow platform for workflow orchestration?
We have a FastAPI REST service with a GetUserSubscriptions endpoint. The endpoint has started responding slower. How would you analyze this problem?
How to view the contents of a text file in Linux?
What is a closure in Python?
How do you handle duplicate messages in Kafka?
FROM base_image COPY large_file large_file RUN chmod +x large_file RUN mv large_file ./some/path/large_file COPY .. RUN pip install -r requirements/base.txt
How are methods resolved in Python with multiple inheritance (MRO)?
What will [] is []? def f(item, items=[]): items.append(item) return items f(1) f(1, []) f(1)
What is the difference between Chains and Agents in LangChain? When should each be used?
If two synchronous FastAPI handlers with time.sleep(5) are called in parallel, how long will they take to execute?
What is idempotency in the context of HTTP methods?
What are descriptors in Python?
Tell us a little about yourself and your technical experience.