/plushcap/analysis/temporal/temporal-parallelism-and-concurrency-in-a-distributed-event-loop

Parallelism and Concurrency in a Distributed Event Loop

What's this blog post about?

Parallelism and Concurrency are two distinct concepts often confused in computing. Concurrency refers to handling multiple tasks in an undefined order, while parallelism involves more than one task running simultaneously. JavaScript and Python, despite being single-threaded, can achieve the illusion of multitasking through concurrency. Temporal provides reliable concurrency and parallelism with a durable, distributed event loop. Concurrency is achieved by breaking down applications into smaller parts and persisting state changes, while parallelism is enabled by running multiple instances of an application on different cores or machines. Temporal mitigates most challenges associated with highly parallel systems by providing fault tolerance, concurrency, and distributed computing capabilities.

Company
Temporal

Date published
Aug. 15, 2023

Author(s)
Fitz

Word count
2238

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.