How does the EventLoop work in Python? How does asynchrony differ from multithreading and multiprocessing?
Python
What is the purpose of chunking? How are chunks vectorized?
What types of indexes are available in PostgreSQL?
Who was involved in setting up monitoring and what tools were used?
We have a Topic with 4 partitions. How to make the producer write messages from the same user only to one partition?
What typical problems do RAG (Retrieval-Augmented Generation) have?
The screenshot contains Python code using asyncio, but no explicit interview question or task is written in the image. If the task is implied, it might be related to identifying or fixing issues in the asynchronous code. Here is the code from the screenshot: ```python import asyncio async def func_1() -> None: await asyncio.sleep(2) async def func_2() -> None: await asyncio.Sleep(3) async def main() -> None: await func_1() await func_2() if __name__ == "__main__": asyncio.run(main()) ``` Potential implied task: Identify and fix any errors in the asynchronous code.
Look at the code with asyncio. How long will the main function take to execute? How can you make the coroutines run in parallel?
What have you worked with regarding API in Python? What HTTP request methods do you know? How does PUT differ from POST?
Have you had experience working with signal processing in the Django framework?
What is the structure of PostgreSQL?
How does Python allocate memory? Tell me about arenas, pools, and blocks.
How did you split a monolith into microservices? What logic did you use to divide by domains? How did you ensure domain independence and manage transactions?
# How long does it take for asyncio.run(main()) to execute?
What did you see in the monitoring — resource utilization, application availability, or business metrics?
What are fork and spawn, and what is copy-on-write?
Can a task created with create_task without await not execute?
What are indexes and what are they used for? When should and shouldn't you create an index?
Can we pass an empty list as a default value in a Pydantic model (for example, field: List = [])?
Tell about the internal device of dict, list, set, tuple.