Sobes.tech

Tell me about the Fan-In pattern, what is it used for?

207

Why is a channel with an empty struct structure chan struct{} used?

206

What happens if you read from a closed unbuffered channel?

205

What synchronization primitives do you know in Go?

205

Have you ever used Fan-In and Semaphore patterns in your work?

201

How will you identify and eliminate bottlenecks related to the scheduler in high-load applications?

199

Write a Singleton in Go using sync.Once, then make it more complex: GetLogger takes name and age, returns a single instance for the same parameters.

198

A manager ran to you and said there was an error in the program, here are the logs. What actions will you take, how will you debug?

196

/** * Working with slices * * Two unordered slices of any length are given as input. * Write a function that returns their intersection **/

195

What design patterns have you used in the context of microservices?

194

How does the Go scheduler work, what model is underneath? Have you ever had to configure the scheduler yourself?

194

How to ensure that no one writes to a closed channel? What is the simple rule?

191

What can be used to pass data between goroutines?

190

What is the worst-case complexity of operations with a map during collisions?

190

What happens if you try to read from a closed channel?

189

How to run a container in Kubernetes without a Registry?

188

How do blocking system calls affect the scheduler?

186

What is the difference between Dependency Inversion and Dependency Injection? What implementations of Dependency Injection exist?

184
/4