Java
How to ensure sequential processing of transactions for one user in Kafka?
What are indexes in relational databases, when do they help, and when do they hinder?
The service cannot handle requests during peak times. What can be done?
What happens if two threads read the same entity in parallel and try to modify it in Hibernate?
How do you check the quality of the code before review? Do you use analyzers?
How do you evaluate your grade?
How to implement parallel calls in Java 17 without virtual threads?
What could go wrong if the key object field used for computing hashCode is changed after insertion into a HashMap?
Tell us about your work experience and projects.
How to run this code in multiple threads? Why can parallelStream() be dangerous?
What is a B-Tree and why is it used in relational databases instead of a red-black tree?
How do you fetch specific commits from another branch in Git?
What did the CICD process look like, and how many stands were there?
What is the default isolation level in PostgreSQL?
Design task: The Like service writes likes to Kafka, and the Dashboard service should calculate the post ratings. How to establish interaction?
How did you use Redis: as a database or as a cache?
Where did the outbox appear in your schema — did you first write to the outbox from Kafka, and then publish from the outbox?
What is the difference between a collection and a stream?
Considering that contract tests are described in JSON format, there is a runner that runs a set of tests for the specified endpoint, and this should be done for all systems with each release (about 160 thousand releases per year) — how would you organize integration with a large number of systems, including accounting systems, via API?
What is a Saga and why is it needed?