Sobes.tech

There is a table with 100 million records. You need to select all records where value > 100. What are the recommendations to minimize query execution time?

148

Without Hibernate, how to implement optimistic locking manually using native SQL?

148

Was there a code review in the team?

148

Are there any restrictions on indexes? What types of indexes exist (hash, B-tree) and when should they be used?

148

JIT vs AOT compilation — what is the difference and advantages?

146

Tarrifs are embedded in the code. How can you change or add tariffs without modifying the code and redeploying?

143

Have you ever configured partitions or changed the number of partitions?

143

Tell me about the CAP theorem. What is it, and why is it needed?

141

var list = List.of(5, 13, 34); list.stream() .map(x -> x % 10) .peek(System.out::println) .filter(x -> x > 3) .forEach(System.out::println); List<String> animals = List.of("dog", "cat", "parrot"); animals.stream() .sorted() .peek(item -> System.out.println(item)) .map(String::length); System.out.println(animals);

140

Have you worked with PostgreSQL and query optimization?

139

HashMap vs TreeMap: differences, operation complexity, when to use?

138

What guarantees does volatile provide? How does it differ from Atomic?

138

How do hash indexes differ from B-tree indexes? Which is preferable for searching by last names?

134

What is a feature lead, and what was your experience in this role?

133

How to solve a report generation function that makes 4 independent REST requests in parallel and collects results?

133

What technologies and stack have you most frequently worked with?

132

Have you had to write unit and integration tests, and how did you do it?

128

Have you confirmed that the issue is on the external integration side (they take a long time to process requests)? What actions can be taken for quick response and in the future?

126

The marketplace system slowed down under load. Suspecting a database issue. What will you look for?

126

What happens if cacheService crashes or Redis returns a timeout, and how to handle it?

125
/15