Sobes.tech

Embedded / IoT

//Task condition //Write code that will output the response codes for HTTP requests to two URLs //the main page of Google and the main page of shtrafovnet.ru) //Requests should be made in parallel.

239

// What will the following program output and how long will it run? package main import ( "fmt" "time" ) const numRequests = 10000 var count int func networkRequest() { time.Sleep(time.Millisecond) // Emulating a network request. count++ } func main() { for i := 0; i < numRequests; i++ { networkRequest() } fmt.Println(count) }

237

Describe a specific case of PostgreSQL optimization with chunking: what was before and what changed after?

235

Реализуйте highload RPC ручку /weather с нагрузкой 10k RPS, где функция aiWeatherForecast() работает ~1 секунду

234

What is at-least-once and exactly-once delivery? How do they differ and what are their pros and cons?

Intern
230

Have you worked with clean architecture and Domain-Driven Design?

Intern
230

Which level of task detail do you prefer — detailed documentation or minimal description?

Middle+
227

If Kafka crashes, what happens to event sending?

Intern
226

// What will the following program output and how long will it run? package main import ( "fmt" "time" ) const numRequests = 10_000 var count int func networkRequest() { time.Sleep(time.Millisecond) // Emulating a network request. count++ } func main() { for i := 0; i < numRequests; i++ { networkRequest() } fmt.Println(count) // 10_000 }

225

What is the difference between EXPLAIN and EXPLAIN ANALYZE commands in PostgreSQL?

Intern
225

What would you do if the service started responding in 3 seconds instead of 100 milliseconds?

Intern
225

What is TCMalloc?

Intern
223
/9