Sobes.tech

How does the EventLoop work in Python? How does asynchrony differ from multithreading and multiprocessing?

Middle
150

What is the purpose of chunking? How are chunks vectorized?

Middle+
149

What types of indexes are available in PostgreSQL?

Senior
149

Who was involved in setting up monitoring and what tools were used?

Middle+
149

We have a Topic with 4 partitions. How to make the producer write messages from the same user only to one partition?

Middle
149

What typical problems do RAG (Retrieval-Augmented Generation) have?

Senior
149

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.

Senior
149

Look at the code with asyncio. How long will the main function take to execute? How can you make the coroutines run in parallel?

Middle
149

What have you worked with regarding API in Python? What HTTP request methods do you know? How does PUT differ from POST?

Middle+
149

Have you had experience working with signal processing in the Django framework?

Junior — Middle
148

What is the structure of PostgreSQL?

Middle+
148

How does Python allocate memory? Tell me about arenas, pools, and blocks.

Middle
148

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?

Middle
147

# How long does it take for asyncio.run(main()) to execute?

Middle+
147

What did you see in the monitoring — resource utilization, application availability, or business metrics?

Middle+
147

What are fork and spawn, and what is copy-on-write?

Middle+
147

Can a task created with create_task without await not execute?

Middle
146

What are indexes and what are they used for? When should and shouldn't you create an index?

Middle+
146

Can we pass an empty list as a default value in a Pydantic model (for example, field: List = [])?

Middle
146

Tell about the internal device of dict, list, set, tuple.

Middle+
146
/20