The service processes 100,000 RPS and crashes due to memory. Describe the process of finding the cause and suggest an architectural solution.
Java
How to call @Transactional method from within the same bean so that the transaction works?
Describe the lifecycle of a singleton bean in Spring.
How to prevent lost update?
Have you encountered incidents in production, how was the investigation conducted, and what would you do if assigned to resolve a problem?
Where is it better to perform data transformation visible to the client: on the backend or frontend? For example, the calculation of annual interest.
How to make a consumer safe with at-least-once delivery?
How do you feel about requirements like "do it here, but with this change", especially with tight deadlines?
Do you have experience developing backend applications that interact with the frontend?
What was the most high-load case and what was the load in requests or transactions per second?
How to optimize JOINs?
Why are you not working now?
How does a composite index work?
Tell about your experience working with Kotlin.
What would your ideal unit test for mapping a card with about 60 fields, where fields can be missing and value transformations are required, look like?
Was there a strict deadline from the business for this task and did you meet it?
What was your area of responsibility in the project?
How to find and diagnose memory leak?
How to select ThreadPoolExecutor and when to use fixed, cached, single, and scheduled thread pools?
When is it better to use plain JDBC than JPA?