Imagine a situation: you need to integrate into someone else's backend service and connect with Kafka. Where would you start?
Java
What is the problem with volatile with Long and Double types?
What methods of thread synchronization do you know in Java?
How would you build the process of onboarding a junior into a large monolith?
What do you know about the Saga pattern? When to apply orchestration and when choreography?
Why are you currently looking for a job and what do you want to find in a new place?
What garbage collectors have you encountered, for example, when working with Java microservices?
What happens if an active database connection is left open after work is finished?
WardrobeManager should use @Autowired Missing class for managing binaries Missing transaction management ItemRepository is not annotated with @Repository Using constructor instead of Spring container for component creation WardrobeController constructor does not use @Autowired
Tell about the lifecycle of a stream in Java, its states, and method types.
Which agent did you use in Cursor?
Why can't we just use a single max variable instead of a second stack?
How to organize data transfer from three microservices (products, prices, orders) in a microservice architecture?
How to implement a seat reservation system in a cinema without double sales? What type of locking to choose?
What did a typical step in the chain look like?
Describe how inserting a new element into the middle of a linked list of type LinkedList is performed.
Have there been tasks without technical specifications? How did you handle such cases?
Is it sufficient that hashCode is calculated only from final fields? Can the hash still change?
The sock problem: there are heaps of socks of three colors (red, white, black), you pick one by one — how many attempts are guaranteed to get a pair of the same color?
Why did you leave the monolith, what were the bottlenecks and response time issues?