Sobes.tech

What database performance improvement methods are available under high CPU load?

Junior — Middle
211

Have you supported a project in production, handled incidents, monitored?

210

Why is a String object in Java immutable?

Junior — Middle
210

Can you explain what is meant by a non-cumulative memory area in JVM?

Junior — Middle
210

Задача Дано: CREATE TABLE profile ( id BIGSERIAL PRIMARY KEY, nickname VARCHAR, registered_at TIMESTAMP ); CREATE TABLE post ( id BIGSERIAL PRIMARY KEY, owner_id BIGINT REFERENCES profile (id), body TEXT, inserted_at TIMESTAMP, likes_count INT -- кол-во лайков ); CREATE TABLE subscription_count ( profile_id BIGINT REFERENCES profile (id) UNIQUE, followers_count INT, -- кол-во подписчиков following_count INT -- кол-во подписок ); Требуется: select p.id, sc.followers_count from post p join subscription_count sc on sc.profile_id = p.owner_id where sc.followers_count > 500 -- Индекс:create index on post (owner_id) -- Запрос:select * from post where likes_count > ? AND owner_id = ?;

209

Explain the principle of optimistic locking in data management systems.

Junior — Middle
208

When and why should you use ConcurrentHashMap instead of a regular HashMap in a multithreaded environment?

Junior — Middle
208

Will an index on owner_id be used for a query with a condition on likes_count?

207

How did you first start learning and using the Java programming language?

Junior — Middle
206

What are the main advantages and disadvantages of using ExecutorService in Java?

Junior — Middle
205

If monitoring shows that the database has started responding slowly, how will you investigate the cause?

205

How are topics and partitions related in Kafka? Is message order guaranteed across different partitions?

205

How can you determine that a service restart is due to cache updates caused by OutOfMemoryError?

Middle — Middle+
204

Проводил ли ты когда-либо наблюдение за состоянием работы сервиса?

Junior — Middle
203

Explain what partial indexes in databases are and in which cases they are used.

Junior — Middle
203

In what cases in SQL is the command SELECT FOR UPDATE used and for what purposes?

Junior — Middle
202

What is the difference between using a foreign key and directly using an identifier from another table in a database?

Junior — Middle
201

I want to add an index to a table with a million records — what are the consequences and how to do it correctly?

201

What methods can be used to eliminate the problem of regular server reboots caused by OutOfMemoryError?

Junior — Middle
200
/15