What are the advantages of using threads instead of creating separate processes?
Golang
What containerization and orchestration systems do you know?
Clarification of responsibility areas: state machine, Transactional Outbox, optimistic locking.
How many retry attempts should be made before sending a message to the DLQ?
Why was the anti-fraud check service added to the candidate's responsibility zone?
What isolation methods does Linux provide for containers?
What did the candidate do and what did the rest of the team do at Avito?
What was the complete path of optimistic locking from receiving a message from Kafka to updating in the database?
What will be the result of writing to a closed channel? Deadlock, panic, or a write operation error?
What happens if you start a goroutine and call panic within it? Will the goroutine stop or will the entire application stop?
What techniques are used to increase throughput and data volume in database management systems?
What is the order of traversal of elements in a map container? Is it fixed by some algorithm, arbitrarily determined during compilation, or determined at runtime?
Answer the questions Have you worked with distributed systems and their limitations? Which ones? Do you deal with documentation, metrics, monitoring? Yes No Are you familiar with the CAP theorem? Yes No Do you think that covering code with metrics or updating documentation necessarily requires a separate technical debt task?
What is in the /proc folder?
Where does the retry go in case of an optimistic locking version conflict — from the Kafka message or from the service?
Which mechanism exists in Go — inheritance or composition?
When are the arguments of deferred functions calculated — at the moment of definition or at the moment of calling the function?
When is a deferred function called? When exiting a local block, when exiting a function, or when the application terminates?
Will there be a situation where an old reject verdict goes to DLQ and a message with an incorrect price is never rejected?
Who was responsible for the verification services (anti-fraud, image checking, text, spam, limits)?