Golang
What is Helm and why is it needed? What does it define?
There is 10 GB of free space on the disk, but copying a 4 GB file is not possible. What to do? (inode problem)
What is replication in data storage systems or databases?
What are your salary expectations? How do you feel about formalizing PТК?
Implement caching for the getUserFromDB function. Data changes infrequently.
Tell me why you decided to look for something now, why are you going to interviews?
// Task 3 // Describe what problem this code solves // What problems are there in this solution? // How would you rewrite this code? var c int var mu sync.RWMutex type Trace struct { // Some fields here } type Sender interface { Send(Trace) } func Do(sender Sender, tr Trace) { mu.Lock() defer mu.Unlock() c++ if c == 100 { go func() { sender.Send(tr) }() c = 0 } }
What load did your services handle?
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?
How long have you been working with Go? In your previous job, you combined PHP and Go — how did that work?
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?