Sobes.tech

Tell about what a corporate platform for processing logistical and operational data of various networks of a holding is.

219

Describe your multi-stage Docker build — what did you do, how did you optimize the build and delivery process?

218

package main import "time" func worker() chan int { ch := make(chan int) go func() { time.Sleep(3 * time.Second) ch <- 42 }() return ch } func main() { timeStart := time.Now() _, _ = <-worker(), <-worker() println(int(time.Since(timeStart).Seconds())) // }

213

// Question 1. What will be printed on the screen? package main import "fmt" func main() { s := "Hello world" b := []byte(s) b[0] = 'h' s = string(b) fmt.Println(s) }

211

What happens if the service crashes while you are collecting a batch for writing? How did you handle consumer lag?

208

What will happen if the service crashes during batch assembly when the consumer receives a message from Kafka, buffers it, and commits when the batch is ready?

208
/11