Sobes.tech

How to change the Acquire/Lock semaphore to allow waiting to be canceled or limited by time?

Senior
194

In which direction do you want to develop?

Middle+
194

Are you still communicating with any other companies? Perhaps offers are already available?

Middle+
184

When and how do goroutines switch?

Senior
182

Is concurrent and parallel execution of program parts the same?

Senior
180

What criteria will you use to choose an offer if there are several?

Senior
179

WaitGroup uses Atomic under the hood for counting. WaitGroup can accept work weight. How would you rewrite the semaphore so that methods Lock(weight int), TryLock(weight int), and Release(weight int) accept weight? The goroutine acquires resources immediately for the entire operation, then releases a little after each stage (IO-bound, CPU-bound). How would you implement this?

Middle
177

What workloads were there at your last jobs (RPS)?

Middle+
176

What happens when you declare a field as a primary key in PostgreSQL?

Senior
175

Tell us about netpoller in Go.

Senior
175

Tell us about the GMP model in Go: how do G, M, and P work, what is the scheduler, netpoller, and sysmon?

Senior
172

How does context.WithCancel work with cancellation?

Senior
172

Why did you decide to leave your current company (Abit) and what are you looking for?

Middle+
172

What type of index is the default in PostgreSQL?

Senior
167

Tell about your most interesting project during your entire work experience. What did you implement, what technical and business tasks?

Senior
165

Why did you decide to enter the market? What is unsatisfactory about your current job?

Senior
164

What is an operation's idempotency property?

Senior
162

How does map differ from sync.Map?

Senior
160

Can you tell me about your most recent project: what you worked on, what you wrote yourself, and what kind of team it was?

Middle+
159

There is a thread safety issue: if two goroutines call Lock simultaneously, they may interleave. How to fix this?

Middle
157
/2