Sobes.tech

Why is BeanPostProcessor needed?

Senior
197

Have you encountered the N+1 query problem? How did you solve it?

Senior
172

How to implement a thread-safe counter in memory?

Senior
162

Why is Spring needed? Why is it used?

Senior
155

What are the main principles of building a thread-safe class?

Senior
153

Have you ever worked with lazy loading? What is it and how is it used?

Senior
152

Have you ever optimized a NOT IN condition? How bad is it and how to optimize?

Senior
152

How was optimistic locking used in your projects? How did you resolve StaleStateException?

Senior
149

What happens if both an entity and its collection are mapped with Eager, and we load one element of the collection?

Senior
146

Tell about your work experience at your last job (Lekton). What did you do, what stack?

Senior
145

Can you imagine a task where Spring is not used?

Senior
144

In a class, there are two fields with an invariant (one strictly less than the other), each protected by an AtomicInteger. Is this sufficient for thread safety?

Senior
144

Have you worked directly with writing multithreaded code?

Senior
143

What is the purpose of the volatile keyword?

Senior
139

What happens if two threads read the same entity in parallel and try to modify it in Hibernate?

Senior
136

Physical question: what will happen if you jump inside a moving train?

Senior
132

What happens if you jump on the roof of a moving train (200 km/h)?

Senior
130

Logic puzzle: 9 balls, one is heavier, what is the minimum number of weighings on a balance scale?

Senior
128

What do you pay attention to when designing a database? What principles?

Senior
125

Is it permissible to violate normalization principles? Why?

Senior
125