Sobes.tech

Live coding: how to deduplicate addresses in a list to call unique addresses using map.

321

Live coding: a task on goroutines — concurrent access to shared data, race condition, solution via mutex. The difference between sync.Mutex and sync.RWMutex.

227

Live coding: semaphore — how it works and implementation based on a buffered channel.

223

Live coding: add a timeout to a function — if execution exceeds 1 second, return an error. Use select, time.After, context.

223

Tell me about the goroutine scheduler in Go — the GMP model, what functions does it perform?

212

Tell me about the transaction isolation levels in PostgreSQL and what anomalies they address.

199

What is a context in Go, how is it used, what is it for, and what types does it have?

191

Development tools: working with AI assistants (Cursor and others), testing approach (unit, integration tests).

185

Tell me about SELECT FOR UPDATE — what is it used for and how does it work?

167

Architectural challenge: how to reliably send an event to Kafka upon user registration in a microservices architecture (user service + notification service), considering Kafka is an asynchronous channel?

162

Tell me about indexes in PostgreSQL — what types are there, composite indexes, and the order of columns.

156