Spring: how many instances of a bean with @Component are created if it is injected in two places? How to create a new instance for each injection?.
Embedded / IoT
How to re-read a message from Kafka?
What is the difference between TTL and LRU cache?
Tell me about complex projects or cases you can boast of.
What are the anti-patterns of microservices architecture?
How do you remove elements from a list in a loop?
What is the difference between Checked and Unchecked exceptions in Java? How to work with them?
How does ObjectMapper create an object from a class reference if the new operator cannot be applied?
//Task condition //Write code that will output the response codes for HTTP requests to two URLs //(Google's main page and shtrafovnet.ru's main page) //Requests should be made in parallel.
How is ArrayList structured?
What is a Materialized View in ClickHouse?
Tell about a multithreading task: what problem was solved and how?
Hikari Pool with 10 connections, under load, received 'connections not available'. What to do?
Is it possible to declare throws Exception in an overridden clone() method, considering it has @Override annotation?
If the system has 24 cores, how many processors will be in the GMP model?
Why is a default method needed in an interface?
What is SKIP LOCKED in PostgreSQL? How to use it for task queues?
Расскажите про последнее место работы и свои обязанности
How have you optimized PostgreSQL? What to do with slow SELECT queries?
// What will the following code output and why? package main import "fmt" type Person struct { Name string } func changeName(person *Person) { *person = Person{Name: "Alice"} } func main() { person := &Person{ Name: "Bob", } fmt.Println(person.Name) // Bob changeName(person) fmt.Println(person.Name) // Bob }