What are the advantages and disadvantages of using functional programming in implementing multithreaded solutions?
Java
What is the main role of a database management system in applications?
What mechanisms or approaches have you used to implement dependency inversion in your last project?
How is type conversion performed when using generics in programming?
How was the calculation process guaranteed to pass in case of failure — for example, if the electricity went out during the calculation?
How to deal with increasing consumer lag in Kafka?
Explain the principle of using try-with-resources in Java for resource management.
What is the difference between the Runnable and Callable interfaces in Java, and how are they used?
What are the advantages and disadvantages of dividing code into functions?
Is it possible to modify the contents of an immutable collection after its creation?
SQL query optimization: what did it consist of?
Is there experience in assigning tasks to junior developers and controlling deadlines?
How can changes made be saved before switching to another branch in version control systems?
Which collection to choose: ArrayList or LinkedList and why?
Why was reporting built on PostgreSQL under a load of ~2000 RPS? Why not use OLAP instead of OLTP for reporting?
Have you encountered difficulties or unforeseen situations during project integration or launch?
What methods can be used to obtain Stream objects within the Stream API?
Tell me about an interesting problem you are proud of
How to implement parallel HTTP calls? A request comes in, and you need to call the service for each task in parallel, wait for all responses, and return the result.
RequestCount and startTime counters are atomic separately. Is there a guarantee that their joint update will be atomic if multiple threads come simultaneously after the window expires?