How do you assess your level — junior, mid, senior?
Java
Is it possible to use AOP mechanisms to add custom logic?
What bean scopes are available in Spring? Which one is the default?
How to implement Saga? How to do it?
Tell about locking in JPA. Which ones have you used?
What will happen if the queue overflows and reaches the maximum?
How is HashMap organized inside Java?
Как вышел на цифру 30% снижения нагрузки?
What protocol is used in WebSocket?
Did you come to the decision yourself with preconceptions or someone else?
The service started executing SELECT queries on the table slowly over time. Why is this happening and what should be done?
How are beans created in Spring, what is Dependency Injection, and why is it needed?
Is it sufficient that hashCode is calculated only from final fields? Can the hash still change?
Tell us about the product you are developing, what stack are you using?
All beans are singletons. Many requests arrive at the same REST method. How is thread safety ensured? Does Spring guarantee anything out of the box?
What Kafka requisites can be written when sending, and what is only available for reading?
Do you know how to write starters for Spring? Have you written any yourself?
create table profiles ( profile_id serial primary key, user_id integer not null references users(user_id) ); insert into users select x from generate_series(1, 99999) as seq(x); insert into profiles select x, 100000 - x from generate_series(1, 99999) as seq(x); Select u.user_id, p.profile_id, p.user_id as profile_user_id From users u Join profiles p on u.users_id = p.user_id
Do you use AI tools in your work? Which ones specifically?
If you see such an implementation in code during a review, what would you write?