Golang
How does ClickHouse find the relationship between columns?
What is the difference between a heap and a stack?
What is the name of the WITH ... AS (...) construction on line 84 of the query?
How comfortable is full remote work?
What does ld, rd := 1<<62, 1<<62 mean in the context of an algorithm?
How to optimize a transaction with a row lock under high load (bottleneck problem during registration via invite code)?
Is there experience writing programs with multithreading and asynchronous operations? Has there been support for developing distributed systems?
Tell me about Legion, what did you do there, what kind of team was it?
What is a data race?
How do you approach architecture design? Where do you start?
// When updating an order, we need to send order data to multiple services (third-party APIs) // the number of services is growing (may be thousands+) // we wrote code, initially everything was fine, but over time our service started consuming a lot of memory func (s *orderService) SendOrder(ctx context.Context, hosts []string, order Order) { for i := 0; i < len(hosts); i++ { go func() { // Imagine this is a long network call response, err := s.httpClient.Send(ctx, hosts[i], order) if err != nil { s.logger.Error(ctx, "failed to send", err) return } s.logger.Info(ctx, "success", response) }() } }
Mutex or channels — when to use what?
What did the user update request look like at the service level?
Tell me about graceful shutdown: what is it, what happens during it, how is it invoked? What processes does the service perform in Kubernetes after receiving SIGTERM?
What are StatefulSets responsible for and when are they used?
Have you written dashboards in Grafana?
How to speed up query execution?
What are your salary expectations?
How are messages sent to users processed when they are offline?
What algorithm does the Go Garbage Collector use? How does it work in general?