Tech IndustryJul 20, 2019
IntuittczT61

Multithreading and concurrency system design interview

Where can I find content to practice Multithreading and concurrency system design questions, I've one coming up and need some examples or sites to practice. Something for confluent kind of company.

Microsoft 10^100 Jul 20, 2019

Leetcode added concurrency related problems couple of weeks ago.

Akamai Technologies belly Jul 20, 2019

Only 4 easy ones

Oath iori Jul 20, 2019

What type of concurrency model you wanna learn?

Cadence 8175209 Jul 21, 2019

Could you elaborate on resources for this?

Oath iori Jul 21, 2019

There r 7 concurrency models, check here https://en.m.wikipedia.org/wiki/Concurrency_(computer_science)#Models

Bloomberg 1337c4lyfe Jul 20, 2019

I haven’t been asked questions like that since my phone interview with Spotify in 2013.

Travelzoo deetcode Jul 20, 2019

Both Netflix and Pure Storage asked this type of question last month when I interviewed with them.

Bloomberg 1337c4lyfe Jul 20, 2019

That’s good news for you I guess... Concurrency is easy and fun. Was your Netflix interview with a java team?

Bloomberg 1337c4lyfe Jul 20, 2019

There are four models of concurrency that I know of but apparently there are at least 7: - **shared state concurrency model** (locks, semaphores, condition variables, monitors, barriers, other synchronization primitives, atomic variables, concurrent data structures) - **message passing concurrency model** (actor model) - **dataflow concurrency model** (futures, promises, completable futures etc.) - **software transactional memory model** (atomic scopes, synchronized scopes... ACID stuff, transactional refs, persistent data structures)

Intuit tczT61 OP Jul 23, 2019

I want few problems, then would try to work on it to get a hold on it. I've done project on actor model and futures. Thanks 1337c4lyfe

Microsoft lolzzcat Aug 24, 2019

Did you go to the interview, what questions were asked?

Google blind!!! Dec 11, 2019

I have found this tutorial very useful for multithreading in cpp: https://thispointer.com/c-11-multithreading-part-1-three-different-ways-to-create-threads/