Sobes.tech

What did you do with indexes in PostgreSQL that helped reduce latency (p95/p99)?

135

Have you worked with context managers? If I have my class and I want it to be a context manager, what should I do?

135

I wrote the same function with calculations in C++ and Python, ran it in multithreading. Fast in C++, slower in Python. Why?

135

How can we influence what the model's response will be?

134

If the offset has already been moved, and the message processing service has failed and lost it — what can be done?

132

What happens to the strings that are deleted from the database, and what happens to the index after data is deleted?

132

Tell me about Kafka: why is it needed, what is it usually used for?

132

We found a service that performs an INSERT into this table. After adding a unique constraint, the service started failing with an error. Can we modify the SQL query so that it does not fail when the unique constraint is triggered, without changing the application logic?

129

If I work with asynchronous code, how to implement a context manager?

129

Is the complexity of adding to a dictionary O(1) always true, or are there situations when it is not?

128

What are tools (tool calling) in an agent?

127

What is MCP and how is it related to tool calling?

127

How does a transaction work? What happens during BEGIN and COMMIT?

127

Can a body be added to a GET request? What will happen then?

126

What types of HTTP methods (endpoints) do you know in REST API?

126

What are hallucinations in LLMs and how to deal with them?

125

What architecture is needed for an internet store support agent if all the infrastructure (chat, backend) is already ready?

124

We have a table with a primary key of type INT. The table will soon overflow and INT will be exhausted. We need to change the primary key type from INT to BIGINT. What steps would you take to change the primary key column type?

124

We understood that we do not have an index, so we created an index. In what situations might this index not work?

124

How are Python variables stored in RAM?

124
/4