~/talk

Thinking Outside the Synchronisation Quadrant

Talkat NDC London 2017 · 2017-01-16..01-20· [concurrency, c-and-cpp]
slides:none on file

Argument shows why mutable shared state sits in a costly synchronisation quadrant and gives concrete C++ remedies: replace ad‑hoc threads+locks with channels and queues, use actor via queue+thread for private state, and wire pipes‑and‑filters for data flow. Demonstrations include a bounded/unbounded queue prototype, a Friday‑the‑13th pipeline, and a phonebook actor implemented with std::thread plus condition_variable. Benchmarks and studies cited include 200× faster than Hadoop CLI cases and 77% detected by unit tests, and C++17/Parallel TS features (for_each/reduce, futures) are used.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Thinking Outside the Synchronisation Quadrant
  3. 1:08Architecture represents the significant design decisions that shape a system, where significant is measured by cost of change.
  4. 28:22habitable
  5. 30:57We want our code to be unit testable.
  6. 31:31fails, it shows the code is incorrect.
  7. 33:19asynchronous
  8. 36:39Languages such as Erlang and occam before it have shown that processes are a very successful mechanism for programming concurrent and parallel systems. Such systems do not have all the synchronization stresses that shared- memory, multithreaded systems have.
  9. 39:00queues
  10. 50:50Pipes and Filters Divide the application's task into several self- contained data processing steps and connect these steps to a data processing pipeline via intermediate data buffers.
  11. 56:57monitor objects
  12. 59:33active objects
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.