What are Kotlin Rich Errors and how do they differ from exceptions?
Java
Have you used TransactionTemplate in your work? Provide an example where you programmatically decided whether to rollback a transaction or not.
Are your salary expectations 250 thousand rubles net, is that okay?
Tell about design patterns — why they are needed, what groups, examples.
Can a singleton service (single instance) be high-load?
How does Spring Boot differ from Spring? What has appeared in Spring Boot that was not there before?
Can you explain the concept of data sharding in data storage systems?
What are Mission Critical systems and what limitations do they impose?
Have you worked with Kubernetes manifests? With which objects?
Do you have experience with Hazelcast?
/** * The method calculates how many points the candidate earned, * saves the result to the database, and calls a callback about it to an external service */ public void process(Candidate c) { transactionTemplate.executeWithoutResult(status -> { Score s = interviewScoreMLService.compute(c); String body = objectMapper.writeValueAsString(Map.of(c.getName(), s)); Mono<ResponseEntity<Void>> request = WebClient.create() .post() .body(BodyInserters.fromValue(body)) .retrieve() .toBodilessEntity(); scoreRepository.saveScore(s); }); }
What is Compare-and-Swap (CAS) in multithreaded programming? What is it used for?
In which district do you reside?
What work schedule do you consider?
What two methods of the Java Object class must be implemented consistently for an object to be used as a key in HashMap?
What transaction isolation levels are available in PostgreSQL?
Would it be suitable to read a message from Kafka, asynchronously write to a neighboring service, and commit after the service responds?
Describe the exception hierarchy in Java
Tell us about how tasks were distributed in your team and how architectural decisions were made.
What is your favorite architecture? Tell us about DDD.