3 ms·
Ok, but what is the use case where you need high bandwidth inter-thread/process communication?
by TekMol 5y ago
Ok, but what is the use case where you need high bandwidth inter-thread/process communication?
- adgjlsfhk1 5y agomatrix multiply is an obvious one. partial differential equations are another. Sorting is one if you don't care about math.
- moron4hire 5y agoGames. Simulations. Backend servers for shared editor experiences. Teleconferencing.
- chrisseaton 5y agoExcept for embarrassingly parallel problems, the trade-off of generating more parallelism is usually needing finer-grained communication. Canonical examples in the literature are matrix multiplication, triangulation, and refinement.
- Spivak 5y agoLarge shared state is basically always the answer. You can cop-out and say use a database or Redis if that’s fast enough but that’s just making someone else use many threads with shared memory.