Sobes.tech

What does the repository layer see?

Senior
171

Tell me about pessimistic and optimistic locking

Middle
167

package main import ( "fmt" "sync" ) func change(sl []int){ sl[0] = 10 } func main() { sl := make([]int, 10) sl[0] = 5 //5 change(sl) //1 fmt.Println(sl) }

Senior
164

Do you work with gRPC? How do you handle backward compatibility in gRPC?

Middle
163

What is the difference between sharding and partitioning?

Senior
160

How to implement Dead Letter Queue (DLQ) in Kafka?

Middle
160

How to make a string validator not longer than 250 characters?

Senior
156

Why not use WebSocket instead of gRPC streaming?

Middle
154

package main import ( "fmt" "sync" ) func main() { ch := make(chan int) wg := &sync.WaitGroup{} wg.Add(3) for i := 0; i < 3; i++ { go func(v int) { defer wg.Done() ch <- v * v }(i) } wg.Wait() var sum int for v := range ch { sum += v } fmt.Printf("result: %d\n", sum) }

Senior
154

How are the models between layers organized?

Senior
148

What architectural patterns allow to eliminate atomicity between microservices? Have you worked with the Saga pattern? What are the two types of Saga and what is the difference?

Middle
143

What is the difference between replication and sharding?

Senior
143

Which REST methods are idempotent?

Middle
143

When are stream requests in gRPC better than single requests?

Middle
132

What can you tell about map in Go?

Senior
119

Tell me about transaction isolation levels. How many are there and what is the default in PostgreSQL?

Middle
118
/2