What are optimistic and pessimistic locking? How to implement them?
Java
Explain the concept of 'happens before' in the context of modeling event sequences in multithreaded programming.
Could you describe how the workflow was organized at your last workplace?
How to understand from the request plan that indexes are missing?
Can you tell about different approaches to inheritance used in JPA for modeling relationships between entities?
Have you had experience working within the Scrum methodology?
Why is the String class declared as final in Java?
What method of organizing and managing branches and commits in Git do you prefer to use in your work?
class ExamResult { String studentName; int subjectId; int mark; //1,2,3,4,5 } List<String> getTop5Students(List<ExamResult> list) { }
What methods can be used to prevent or eliminate deadlocks in a system?
Have you had experience using GPCT templates in your work?
Is it safe and reliable to store data in Kafka for a long period?
Why does a query execute quickly on a test stand but slowly in production, even though the data is the same? How to investigate?
What test scenarios do you implement to verify modules or functions in the code?
How can two microservices share access to a single database?
Explain the differences between Future and CompletableFuture classes in the context of asynchronous programming in Java.
What happens to a message in Kafka if an exception is thrown during its processing (but the application does not crash)?
What are the differences between Spring and Spring Boot frameworks in Java application development?
What methods and tools are used for organizing data streaming synchronization in Java?
What is the main purpose of the Apache Kafka system and why is it widely used in modern projects?