What would you improve in the implementation of an ordered map if you had more time? What potential problems and development directions are there for the library?
Golang
What are the pros and cons of adding tasks before and after starting the thread pool?
How was the development process organized in your team (CI/CD, testing, code review)?
Do you remember when the range became available through the channel?
Do you want to grow professionally? Where do you want to grow?
You were shown a service and told to do the same — what are your actions?
Will a constructor be needed for this solution?
Is a GIN index suitable for full-text search?
Tell me about SQL and NoSQL databases
What data was stored in Redis and how did you understand that the announcements were hot?
What is an index and what types of indexes are available in PostgreSQL?
Do you have experience working with AI agents, RAG systems, or MCP?
How did cross-team collaboration occur during integration with other services?
Levels of transaction isolation in PostgreSQL.
What is Consul most commonly used for in microservice architecture?
What attracted you to this vacancy and why are you leaving your previous job?
How do you feel about overtime?
How do you feel about tasks with vague requirements and creative freedom?
Why did you decide to enter the market and consider a new job?
// Write an asynchronous task handler as a library // The client passes an object (Task) with data for execution, // in our example, a simple structure is used. // The handler can process no more than N tasks simultaneously, // and no more than X tasks can be queued for processing. // If there is no space in the queue, return an error to the client immediately. // A task is taken for processing if there are free handlers. // Simulate processing duration with time.Sleep(5*time.Second). // When a task completes, the next task from the queue is taken. // If the queue is empty, wait for new tasks from clients. // With a star: extend the Task structure and get task statuses via a separate request package scheduler type Scheduler interface { AddTask(t Task) error Close() } type Task interface { Do() }