Golang
Regarding financial expectations — what are you currently aiming for? Can you name the minimum you would consider and a comfortable amount?
Tell us about the loads and interesting cases related to load optimization.
How to ensure that a message from the queue is processed exactly once if there are multiple workers?
Have you participated in code review?
What is your experience of launching a project/service from scratch? Share your experience.
func (r *PayoutRepository) save(p Partner) error { _, err := r.db.Exec( fmt.Sprintf("UPDATE partners SET balance = %s, hold = %s WHERE id = %s", p.Balance, p.Hold, p.ID), ) if err != nil { return err } if err := r.eventPublisher.Publish("BalanceChanged", p); err != nil { return err } return nil }
What databases have you worked with? Through ORM or native queries? What native queries did you write and at what level?
What are environment variables? Why are they needed?
Tell me about software development methodologies.
Where do you specify recover in the application structure (main.go, repository, service, controller)?
Are you afraid of a time tracker? Why?
How actively are you looking for new tools and techniques for development, and what are you considering?
Why did you use the defer keyword?
What are the rules for working with interfaces in Go?
What is a nuance when working with sync.Pool related to persistence?
Have you had experience mentoring or training junior colleagues?
The test for uniform distribution is failing: backend[0] expected 5 calls, received 10; backend[1] expected 5 calls, received 0.
Why are transactions needed in databases?
When will an index not be used during query execution?
When are you ready to start working?